Beliefs in feedback: Factored representations of interacting agents in transformers
Not on the map. Why?
Abstract (arXiv)
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.
Key facts. No citing papers in the map yet (data through 26 Nov 2026). Builds on 62 of its 121 references that are in the map. Submitted 1 Nov 2026.
Builds on
62 of 121 references.
References · 62
- 2023Generative Agents: Interactive Simulacra of Human Behaviorcited by 3,841
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
- 2021Switch Transformers: Scaling to Trillion Parameter Models with Simple and Efficient Sparsitycited by 3,272
- 2022Locating and Editing Factual Associations in GPTcited by 2,951
- 2023Improving Factuality and Reasoning in Language Models through Multiagent Debatecited by 1,945
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,607
- 2016Understanding intermediate layers using linear classifier probescited by 1,541
- 2023Mastering Diverse Domains through World Modelscited by 1,359
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,270
- 2023Steering Llama 2 via Contrastive Activation Additioncited by 1,270
- 2023Steering Language Models With Activation Engineeringcited by 1,130
- 2022Toy Models of Superpositioncited by 1,084
38 more
- 2018Challenging Common Assumptions in the Unsupervised Learning of Disentangled Representationscited by 973
- 2021Probing Classifiers: Promises, Shortcomings, and Advancescited by 971
- 2018Recurrent World Models Facilitate Policy Evolutioncited by 860
- 2023The Geometry of Truth: Emergent Linear Structure in Large Language Model Representations of True/False Datasetscited by 810
- 2019Designing and Interpreting Probes with Control Taskscited by 736
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 462
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 425
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 345
- 2018Towards a Definition of Disentangled Representationscited by 317
- 2022Transformers Learn Shortcuts to Automatacited by 297
- 2026Scaling Monosemanticity: Extracting Interpretable Features from Claude 3 Sonnetcited by 248
- 2023Evaluating Large Language Models in Theory of Mind Taskscited by 244
- 2023Finding Alignments Between Interpretable Causal Variables and Distributed Neural Representationscited by 235
- 2023Causal Abstraction: A Theoretical Foundation for Mechanistic Interpretabilitycited by 234
- 2017Learning with Opponent-Learning Awarenesscited by 230
- 2022Neural Theory-of-Mind? On the Limits of Social Intelligence in Large LMscited by 228
- 2022Language Models as Agent Modelscited by 137
- 2017Autonomous Agents Modelling Other Agents: A Comprehensive Survey and Open Problemscited by 136
- 2024Evaluating the World Model Implicit in a Generative Modelcited by 129
- 2020Are Neural Nets Modular? Inspecting Functional Modularity Through Differentiable Weight Maskscited by 103
- 2024Transformers represent belief state geometry in their residual streamcited by 88
- 2020Approximate information state for approximate planning and reinforcement learning in partially observed systemscited by 78
- 2024Bridging State and History Representations: Understanding Self-Predictive RLcited by 60
- 2023Break It Down: Evidence for Structural Compositionality in Neural Networkscited by 48
- 2018Neural Predictive Belief Representationscited by 42
- 2025Next-Latent Prediction Transformers Learn Compact World Modelscited by 37
- 2024Language Models Represent Beliefs of Self and Otherscited by 35
- 2019Learning Causal State Representations of Partially Observable Environmentscited by 33
- 2022A Theory of Abstraction in Reinforcement Learningcited by 30
- 2021Structured World Belief for Reinforcement Learning in POMDPcited by 22
- 2018Disentangling the independently controllable factors of variation by interacting with the worldcited by 19
- 2020Reconciling emergences: An information-theoretic approach to identify causal emergence in multivariate datacited by 19
- 2025Constrained belief updates explain geometric structures in transformer representationscited by 18
- 2024The Belief State Transformercited by 13
- 2026Transformers learn factored representationscited by 11
- 2020Shannon Entropy Rate of Hidden Markov Processescited by 9
- 2025Neural networks leverage nominally quantum and post-quantum representationscited by 9
- 2022Interpreting systems as solving POMDPs: a step towards a formal understanding of agencycited by 8
50 most cited of 62 All 62 (JSON)
Built on by
Not cited yet.