Skip to content
DraconiticResearch
Search Sources API
186,125 studies31 sourcesUpdated 18 min ago
PreprintarXiv licencearXiv

Beliefs in feedback: Factored representations of interacting agents in transformers

Abstract

Complex systems, from ecosystems to brains, are usually modeled as modular components coupled through feedback rather than as indivisible wholes. Can a transformer trained on the joint behavior of a group of interacting agents be understood in the same way? In this work, we develop a computational-mechanics framework to study agents interacting in feedback loops. We formally prove that any joint stochastic process can be presented as resulting from the behavior of agents interacting in feedback, and the resulting process is generated by a hidden Markov model whose Bayesian beliefs factorize into separate components per agent. Furthermore, our experiments show that transformers trained on such feedback sequences make use of this separability, disentangling the beliefs about the underlying factors into separate subspaces of their residual stream. This representation is found to scale linearly (instead of exponentially) with the number of agents. Moreover, interventions show that these representations are causally efficacious, allowing for targeted steering of individual agents' beliefs by selectively inserting counterfactuals. However, coarse-graining the behavior is found to disrupt the factorization, and can force a higher-dimensional representation. Together, the results establish both the dimensional advantage of a factorized representation and the ability of transformers to exploit it, laying the groundwork for investigating traces of compositional predictive architecture in pretrained models.

Related

  1. Annihilation feedback on elastic scattering in self-interacting dark matter
    Kalliopi Petraki, Thomas Pignard
    arXivPreprintCC BY 4.0Full textCosmologyGalaxiesarXivHAL
  2. Self-interacting dark matter from radiative bound-state-formation feedback
    Marcos M. Flores, Kalliopi Petraki, Thomas Pignard
    arXivPreprintCC BY 4.0Full textCosmologyGalaxiesarXivHAL
  3. Rank-one Factored Gradient Descent without Restricted Isometry: Application to Quantum Pure State Tomography on Multi-Qubits
    Takahiro Kajisa
    arXivPreprintCC BY 4.0Full textOptimisation & controlQuantum physics & quantum informationarXiv
  4. Top Spin and CP from Equivariant Transformers
    Henning Bahl, Marco Menen, Antoine Petitjean +1
    arXivPreprintCC BY 4.0Full textHigh-energy & particle physicsarXiv
  5. Lorentz-Equivariant Geometric Algebra Transformers for Top-Quark Event Reconstruction
    E. Abasov, L. Dudko, A. Markina +4
    arXivPreprintCC BY 4.0Full textHigh-energy & particle physicsarXiv
BibTeX
@misc{ehrlich2026beliefs,
  title = {{Beliefs in feedback: Factored representations of interacting agents in transformers}},
  author = {David A. Ehrlich and Manuel Baltieri and Fernando E. Rosas and Alexander B. Boyd},
  howpublished = {arXiv},
  year = {2026},
  month = nov,
  doi = {10.48550/arxiv.2611.02047},
  eprint = {2611.02047},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2611.02047},
}
RIS
TY  - UNPB
TI  - Beliefs in feedback: Factored representations of interacting agents in transformers
AU  - David A. Ehrlich
AU  - Manuel Baltieri
AU  - Fernando E. Rosas
AU  - Alexander B. Boyd
PY  - 2026
DA  - 2026/11/01
PB  - arXiv
DO  - 10.48550/arxiv.2611.02047
UR  - https://arxiv.org/abs/2611.02047
AB  - Complex systems, from ecosystems to brains, are usually modeled as modular components coupled through feedback rather than as indivisible wholes. Can a transformer trained on the joint behavior of a group of interacting agents be understood in the same way? In this work, we develop a computational-mechanics framework to study agents interacting in feedback loops. We formally prove that any joint stochastic process can be presented as resulting from the behavior of agents interacting in feedback, and the resulting process is generated by a hidden Markov model whose Bayesian beliefs factorize into separate components per agent. Furthermore, our experiments show that transformers trained on such feedback sequences make use of this separability, disentangling the beliefs about the underlying factors into separate subspaces of their residual stream. This representation is found to scale linearly (instead of exponentially) with the number of agents. Moreover, interventions show that these representations are causally efficacious, allowing for targeted steering of individual agents' beliefs by selectively inserting counterfactuals. However, coarse-graining the behavior is found to disrupt the factorization, and can force a higher-dimensional representation. Together, the results establish both the dimensional advantage of a factorized representation and the ability of transformers to exploit it, laying the groundwork for investigating traces of compositional predictive architecture in pretrained models.
ER  -