Transformers represent belief state geometry in their residual stream
Not on the map. Why?
Abstract (arXiv)
What computational structure are we building into large language models when we train them on next-token prediction? Here, we present evidence that this structure is given by the meta-dynamics of belief updating over hidden states of the data-generating process. Leveraging the theory of optimal prediction, we anticipate and then find that belief states are linearly represented in the residual stream of transformers, even in cases where the predicted belief state geometry has highly nontrivial fractal structure. We investigate cases where the belief state geometry is represented in the final residual stream or distributed across the residual streams of multiple layers, providing a framework to explain these observations. Furthermore we demonstrate that the inferred belief states contain information about the entire future, beyond the local next-token prediction that the transformers are explicitly trained on. Our work provides a general framework connecting the structure of training data to the geometric structure of activations inside transformers.
Key facts. Cited by 73 papers in the map (data through 7 Oct 2026). Builds on 14 of its 34 references that are in the map. First posted on arXiv 24 May 2024.
Builds on
14 of 34 references.
References · 14
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2018World Modelscited by 1,444
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2024Better & Faster Large Language Models via Multi-token Predictioncited by 344
- 2023Emergent Linear Representations in World Models of Self-Supervised Sequence Modelscited by 313
- 2022Transformers Learn Shortcuts to Automatacited by 260
- 2024Not All Language Model Features Are One-Dimensionally Linearcited by 201
- 2024The pitfalls of next-token predictioncited by 156
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 116
- 2019Meta-learning of Sequential Strategiescited by 68
- 2017Nearly Maximally Predictive Features and Their Dimensionscited by 9
- 2023Multiperiodic Processes: Ergodic Sources with a Sublinear Entropycited by 9
Built on by
Citing papers per year: 2024: 6; 2025: 21; 2026: 46.
73 papers.
Sort:
By area:
- 2024Programming Refusal with Conditional Activation Steeringcited by 191
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2025The Origins of Representation Manifolds in Large Language Modelscited by 46
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2026There Will Be a Scientific Theory of Deep Learningcited by 21
- 2024Beyond Euclid: An Illustrated Guide to Modern Machine Learning with Geometric, Topological, and Algebraic Structurescited by 20
- 2025Learning curves theory for hierarchically compositional data with power-law distributed featurescited by 17
- 2025Probing for Arithmetic Errors in Language Modelscited by 17
- 2025Constrained belief updates explain geometric structures in transformer representationscited by 14
- 2024The Belief State Transformercited by 12
- 2024What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributionscited by 10
38 more
- 2025A Survey of Theory of Mind in Large Language Models: Evaluations, Representations, and Safety Riskscited by 8
- 2025Decomposing Representation Space into Interpretable Subspaces with Unsupervised Learningcited by 7
- 2026FACTUM: Mechanistic Detection of Citation Hallucination in Long-Form RAGcited by 6
- 2026Silence the Judge: Reinforcement Learning with Self-Verifier via Latent Geometric Clusteringcited by 6
- 2025Scaling Laws and Representation Learning in Simple Hierarchical Languages: Transformers vs. Convolutional Architecturescited by 5
- 2025Next-token pretraining implies in-context learningcited by 5
- 2025Neural networks leverage nominally quantum and post-quantum representationscited by 5
- 2025Probing Syntax in Large Language Models: Successes and Remaining Challengescited by 4
- 2025From monoliths to modules: Decomposing transducers for efficient world modellingcited by 4
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inferencecited by 4
- 2024Associative memory inspires improvements for in-context learning using a novel attention residual stream architecturecited by 3
- 2025AI in a vat: Fundamental limits of efficient world modelling for agent sandboxing and interpretabilitycited by 3
- 2025Geometric Scaling of Bayesian Inference in LLMscited by 3
- 2026Transformers learn factored representationscited by 3
- 2026The Topological Trouble With Transformerscited by 3
- 2026A Geometric Perspective on Next-Token Prediction in Large Language Models: Three Emerging Phasescited by 3
- 2025Modes of Sequence Models and Learning Coefficientscited by 2
- 2025Evaluating Explanations: An Explanatory Virtues Framework for Mechanistic Interpretability -- The Strange Science Part I.iicited by 2
- 2026Finding Belief Geometries with Sparse Autoencoderscited by 2
- 2026Scale Determines Whether Language Models Organize Representation Geometry for Predictioncited by 2
- 2026Structure Before Collapse: Transient semantic geometry in next-token predictioncited by 2
- 2026Mechanistic Tomography: Designed Measurement for Control-Oriented Interpretabilitycited by 2
- 2025A circuit for predicting hierarchical structure in-context in Large Language Modelscited by 1
- 2025Emergent World Beliefs: Exploring Transformers in Stochastic Gamescited by 1
- 2025Concept Attractors in LLMs and their Applicationscited by 1
- 2026Convergent World Representations and Divergent Taskscited by 1
- 2026Hierarchical Latent Structures in Data Generation Process Unify Mechanistic Phenomena across Scalecited by 1
- 2026Transformers Learn Latent Mixture Models In-Context via Mirror Descentcited by 1
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Modelscited by 1
- 2026SMIXAE: Towards Unsupervised Manifold Discovery in Language Modelscited by 1
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Modelscited by 1
- 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approachcited by 1
- 2025Sparsification and Reconstruction from the Perspective of Representation Geometrycited by 0
- 2025Internal Planning in Language Models: Characterizing Horizon and Branch Awarenesscited by 0
- 2025Causal Masking on Spatial Data: An Information-Theoretic Case for Learning Spatial Datasets with Unimodal Language Modelscited by 0
- 2026Residual Stream Analysis of Overfitting And Structural Disruptionscited by 0
- 2026Understanding the Emergence of Seemingly Useless Features in Next-Token Predictorscited by 0
- 2026Predictive Statistics Shape Emergent World Representations of Grid Walkerscited by 0
50 most cited of 73 All 73 (JSON)
- 2026Beyond the Shadows of Plato's Cave: Evaluating False Memory in Autonomous Agents via Counterfactual Reasoning30 Sep 2026
- 2026The Geometry of Inference in Transformer Residual Streams29 Sep 2026
- 2026LLMs Learn to Evade Latent Monitors from Prior Feedback Alone29 Sep 2026
- 2026Spontaneous Context Restoration: How Language Models Recover from Corrupted Inputs28 Sep 2026
- 2026Small transformers track Bayesian evidence for latent common causes via a context-invariant mechanism28 Sep 2026
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026Do Dynamic Routers Need Memory? HeRo: History-Aware Routing for Efficient LLM Inference8 Sep 2026
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026Planting a Latent Variable in Natural-Looking Text: a More Realistic Test of Belief States in LLMs and Their Link to Concept Geometry27 Aug 2026
- 2026Approximate Homomorphisms and Convergent Representations in Transducers19 Aug 2026
- 2026Mechanistic Tomography: Designed Measurement for Control-Oriented Interpretability19 Aug 2026
- 2026Belief-Guided Decision Making with Uncertainty Gating in the Game of Go29 Jul 2026
38 more
- 2026World models of environment, agent and joint agent-environment systems23 Jul 2026
- 2026Elicitation without Backpropagation: Steering Model Behavior by Optimizing the Latent Posterior21 Jul 2026
- 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approach19 Jul 2026
- 2026Latent Programming Horizons in Coding Agents6 Jul 2026
- 2026Geometry of Ordinal Representations in Language Models5 Jul 2026
- 2026Induction Heads Interpolate N-Grams2 Jul 2026
- 2026Subliminal Clocks: Latent Time Modelling in Diffusion Language Models2 Jul 2026
- 2026SemRF: A Semantic Reference Frame for Residual-Stream Dynamics in Language Models30 Jun 2026
- 2026Gradient Smoothing: Coupling Layer-wise Updates for Improved Optimization29 Jun 2026
- 2026Structure Before Collapse: Transient semantic geometry in next-token prediction25 Jun 2026
- 2026Lifted State Hypothesis in Large Language Models2 Jun 2026
- 2026Structure and Scale in Simplicial Sequence Modelling31 May 2026
- 2026MENTIS: What Belief Changes Under Alignment? Measuring Multi-Scale Latent Torsion in Language Models31 May 2026
- 2026Scale Determines Whether Language Models Organize Representation Geometry for Prediction16 May 2026
- 2026Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value Guidance12 May 2026
- 2026SMIXAE: Towards Unsupervised Manifold Discovery in Language Models9 May 2026
- 2026A Geometric Perspective on Next-Token Prediction in Large Language Models: Three Emerging Phases9 May 2026
- 2026HyperLens: Quantifying Cognitive Effort in LLMs with Fine-grained Confidence Trajectory7 May 2026
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behavior6 May 2026
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Models27 Apr 2026
- 2026There Will Be a Scientific Theory of Deep Learning23 Apr 2026
- 2026The Topological Trouble With Transformers18 Apr 2026
- 2026Transformers Learn Latent Mixture Models In-Context via Mirror Descent12 Apr 2026
- 2026Finding Belief Geometries with Sparse Autoencoders3 Apr 2026
- 2026The Residual Stream Is All You Need: On the Redundancy of the KV Cache in Transformer Inference20 Mar 2026
- 2026Predictive Statistics Shape Emergent World Representations of Grid Walkers17 Mar 2026
- 2026Understanding the Emergence of Seemingly Useless Features in Next-Token Predictors14 Mar 2026
- 2026Residual Stream Analysis of Overfitting And Structural Disruptions4 Mar 2026
- 2026Hierarchical Latent Structures in Data Generation Process Unify Mechanistic Phenomena across Scale4 Feb 2026
- 2026Transformers learn factored representations2 Feb 2026
- 2026Convergent World Representations and Divergent Tasks31 Jan 2026
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Models20 Jan 2026
- 2026Silence the Judge: Reinforcement Learning with Self-Verifier via Latent Geometric Clustering13 Jan 2026
- 2026FACTUM: Mechanistic Detection of Citation Hallucination in Long-Form RAG9 Jan 2026
- 2025Concept Attractors in LLMs and their Applications30 Dec 2025
- 2025Geometric Scaling of Bayesian Inference in LLMs27 Dec 2025
- 2025Emergent World Beliefs: Exploring Transformers in Stochastic Games18 Dec 2025
- 2025From monoliths to modules: Decomposing transducers for efficient world modelling1 Dec 2025
50 newest of 73 All 73 (JSON)
- 2025Neural networks leverage nominally quantum and post-quantum representationscited by 5
- 2025From monoliths to modules: Decomposing transducers for efficient world modellingcited by 4
- 2025AI in a vat: Fundamental limits of efficient world modelling for agent sandboxing and interpretabilitycited by 3
- 2026Predictive Statistics Shape Emergent World Representations of Grid Walkerscited by 0
- 2026World models of environment, agent and joint agent-environment systemscited by 0
- 2026World models of environment, agent and joint agent-environment systems23 Jul 2026
- 2026Predictive Statistics Shape Emergent World Representations of Grid Walkers17 Mar 2026
- 2025From monoliths to modules: Decomposing transducers for efficient world modelling1 Dec 2025
- 2025Neural networks leverage nominally quantum and post-quantum representations10 Jul 2025
- 2025AI in a vat: Fundamental limits of efficient world modelling for agent sandboxing and interpretability6 Apr 2025
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Modelscited by 1
- 2026Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value Guidancecited by 0
- 2026MENTIS: What Belief Changes Under Alignment? Measuring Multi-Scale Latent Torsion in Language Modelscited by 0
- 2026MENTIS: What Belief Changes Under Alignment? Measuring Multi-Scale Latent Torsion in Language Models31 May 2026
- 2026Toward Stable Value Alignment: Introducing Independent Modules for Consistent Value Guidance12 May 2026
- 2026Layerwise Convergence Fingerprints for Runtime Misbehavior Detection in Large Language Models27 Apr 2026
- 2026Latent Programming Horizons in Coding Agentscited by 0
- 2026LLMs Learn to Evade Latent Monitors from Prior Feedback Alonecited by 0
- 2026LLMs Learn to Evade Latent Monitors from Prior Feedback Alone29 Sep 2026
- 2026Latent Programming Horizons in Coding Agents6 Jul 2026
- 2024Programming Refusal with Conditional Activation Steeringcited by 191
- 2024ICLR: In-Context Learning of Representationscited by 49
- 2025The Origins of Representation Manifolds in Large Language Modelscited by 46
- 2026Locate, Steer, and Improve: A Practical Survey of Actionable Mechanistic Interpretability in Large Language Modelscited by 22
- 2026Manifold Steering Reveals the Shared Geometry of Neural Network Representation and Behaviorcited by 22
- 2026There Will Be a Scientific Theory of Deep Learningcited by 21
- 2024Beyond Euclid: An Illustrated Guide to Modern Machine Learning with Geometric, Topological, and Algebraic Structurescited by 20
- 2025Learning curves theory for hierarchically compositional data with power-law distributed featurescited by 17
- 2025Probing for Arithmetic Errors in Language Modelscited by 17
- 2025Constrained belief updates explain geometric structures in transformer representationscited by 14
- 2024The Belief State Transformercited by 12
- 2024What Should Embeddings Embed? Autoregressive Models Represent Latent Generating Distributionscited by 10
12 most cited of 57 All 57 (JSON)
- 2026Beyond the Shadows of Plato's Cave: Evaluating False Memory in Autonomous Agents via Counterfactual Reasoning30 Sep 2026
- 2026The Geometry of Inference in Transformer Residual Streams29 Sep 2026
- 2026Spontaneous Context Restoration: How Language Models Recover from Corrupted Inputs28 Sep 2026
- 2026Small transformers track Bayesian evidence for latent common causes via a context-invariant mechanism28 Sep 2026
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026When Tokenization is Secretly Output Supervision1 Sep 2026
- 2026Planting a Latent Variable in Natural-Looking Text: a More Realistic Test of Belief States in LLMs and Their Link to Concept Geometry27 Aug 2026
- 2026Approximate Homomorphisms and Convergent Representations in Transducers19 Aug 2026
- 2026Mechanistic Tomography: Designed Measurement for Control-Oriented Interpretability19 Aug 2026
- 2026Belief-Guided Decision Making with Uncertainty Gating in the Game of Go29 Jul 2026
- 2026Elicitation without Backpropagation: Steering Model Behavior by Optimizing the Latent Posterior21 Jul 2026
- 2026What does a Bayes-filtered transformer believe? A predictive Monte Carlo approach19 Jul 2026
12 newest of 57 All 57 (JSON)