Transformers Use Causal World Models in Maze-Solving Tasks
On the map: World models → World models for language agents
also in 1 more
Abstract (arXiv)
Recent studies in interpretability have explored the inner workings of transformer models trained on tasks across various domains, often discovering that these networks naturally develop highly structured representations. When such representations comprehensively reflect the task domain's structure, they are commonly referred to as "World Models" (WMs). In this work, we identify WMs in transformers trained on maze-solving tasks. By using Sparse Autoencoders (SAEs) and analyzing attention patterns, we examine the construction of WMs and demonstrate consistency between SAE feature-based and circuit-based analyses. By subsequently intervening on isolated features to confirm their causal role, we find that it is easier to activate features than to suppress them. Furthermore, we find that models can reason about mazes involving more simultaneously active features than they encountered during training; however, when these same mazes (with greater numbers of connections) are provided to models via input tokens instead, the models fail. Finally, we demonstrate that positional encoding schemes appear to influence how World Models are structured within the model's residual stream.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 20 of its 28 references that are in the map. First posted on arXiv 16 Dec 2024.
Builds on
20 of 28 references.
Closest ancestors · 1
Same direction, newest first
Other references · 19
- 2017Attention Is All You Needcited by 60,361
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2023Sparse Autoencoders Find Highly Interpretable Features in Language Modelscited by 1,420
- 2016Understanding intermediate layers using linear classifier probescited by 1,353
- 2022Toy Models of Superpositioncited by 971
- 2023Eliciting Latent Predictions from Transformers with the Tuned Lenscited by 623
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 431
- 2023Does Circuit Analysis Interpretability Scale? Evidence from Multiple Choice Capabilities in Chinchillacited by 149
- 2022Toward Transparent AI: A Survey on Interpreting the Inner Structures of Deep Neural Networkscited by 129
- 2021Acquisition of Chess Knowledge in AlphaZerocited by 123
- 2023Future Lens: Anticipating Subsequent Tokens from a Single Hidden Statecited by 121
- 2023Evaluating Cognitive Maps and Planning in Large Language Models with CogEvalcited by 77
7 more
- 2024Measuring Progress in Dictionary Learning for Language Model Interpretability with Board Game Modelscited by 51
- 2024A Mechanistic Analysis of a Transformer Trained on a Symbolic Multi-Step Reasoning Taskcited by 49
- 2024Evidence of Learned Look-Ahead in a Chess-Playing Neural Networkcited by 34
- 2023A Configurable Library for Generating and Manipulating Maze Datasetscited by 31
- 2024Dictionary Learning Improves Patch-Free Circuit Discovery in Mechanistic Interpretability: A Case Study on Othello-GPTcited by 29
- 2024A Philosophical Introduction to Language Models - Part II: The Way Forwardcited by 18
- 2022Sparse Relational Reasoning with Object-Centric Representationscited by 2
Built on by
Citing papers per year: 2025: 5; 2026: 8.
13 papers.
Sort:
By area:
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Modelscited by 47
- 2025Jacobian Sparse Autoencoders: Sparsify Computations, Not Just Activationscited by 10
- 2026Outcome-Based RL Provably Leads Transformers to Reason, but Only With the Right Datacited by 6
- 2026The Observer Effect in World Models: Invasive Adaptation Corrupts Latent Physicscited by 3
- 2025From Next Token Prediction to (STRIPS) World Modelscited by 2
- 2026Do LLMs Build Spatial World Models? Evidence from Grid-World Maze Taskscited by 2
- 2026Hierarchical Experimentalist Agentscited by 2
- 2026Interaction Locality in Hierarchical Recursive Reasoningcited by 1
- 2025What if Othello-Playing Language Models Could See?cited by 0
- 2025Causal Masking on Spatial Data: An Information-Theoretic Case for Learning Spatial Datasets with Unimodal Language Modelscited by 0
- 2026VERSE: Visual Embedding Reduction and Space Exploration. Clustering-Guided Insights for Training Data Enhancement in Visually-Rich Document Understandingcited by 0
- 2026A Co-Evolutionary Theory of Human-AI Coexistence: Mutualism, Governance, and Dynamics in Complex Societiescited by 0
1 more
- 2026World Modeling in Transformerscited by 0
- 2026World Modeling in Transformers18 Sep 2026
- 2026Hierarchical Experimentalist Agents28 Jun 2026
- 2026Interaction Locality in Hierarchical Recursive Reasoning20 May 2026
- 2026A Co-Evolutionary Theory of Human-AI Coexistence: Mutualism, Governance, and Dynamics in Complex Societies24 Apr 2026
- 2026Do LLMs Build Spatial World Models? Evidence from Grid-World Maze Tasks12 Apr 2026
- 2026The Observer Effect in World Models: Invasive Adaptation Corrupts Latent Physics12 Feb 2026
- 2026Outcome-Based RL Provably Leads Transformers to Reason, but Only With the Right Data21 Jan 2026
- 2026VERSE: Visual Embedding Reduction and Space Exploration. Clustering-Guided Insights for Training Data Enhancement in Visually-Rich Document Understanding8 Jan 2026
- 2025Causal Masking on Spatial Data: An Information-Theoretic Case for Learning Spatial Datasets with Unimodal Language Models30 Oct 2025
- 2025From Next Token Prediction to (STRIPS) World Models16 Sep 2025
- 2025What if Othello-Playing Language Models Could See?19 Jul 2025
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Models9 Jul 2025
1 more
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Modelscited by 47
- 2026The Observer Effect in World Models: Invasive Adaptation Corrupts Latent Physicscited by 3
- 2025From Next Token Prediction to (STRIPS) World Modelscited by 2
- 2026Do LLMs Build Spatial World Models? Evidence from Grid-World Maze Taskscited by 2
- 2026World Modeling in Transformerscited by 0
- 2026World Modeling in Transformers18 Sep 2026
- 2026Do LLMs Build Spatial World Models? Evidence from Grid-World Maze Tasks12 Apr 2026
- 2026The Observer Effect in World Models: Invasive Adaptation Corrupts Latent Physics12 Feb 2026
- 2025From Next Token Prediction to (STRIPS) World Models16 Sep 2025
- 2025What Has a Foundation Model Found? Using Inductive Bias to Probe for World Models9 Jul 2025
- 2026Hierarchical Experimentalist Agentscited by 2
- 2026Hierarchical Experimentalist Agents28 Jun 2026
- 2025What if Othello-Playing Language Models Could See?cited by 0
- 2025Causal Masking on Spatial Data: An Information-Theoretic Case for Learning Spatial Datasets with Unimodal Language Modelscited by 0
- 2026A Co-Evolutionary Theory of Human-AI Coexistence: Mutualism, Governance, and Dynamics in Complex Societiescited by 0
- 2026A Co-Evolutionary Theory of Human-AI Coexistence: Mutualism, Governance, and Dynamics in Complex Societies24 Apr 2026
- 2025Causal Masking on Spatial Data: An Information-Theoretic Case for Learning Spatial Datasets with Unimodal Language Models30 Oct 2025
- 2025What if Othello-Playing Language Models Could See?19 Jul 2025
Similar, not cited
Close in wording, no citation either way
- 2025Higher Embedding Dimension Creates a Stronger World Model for a Simple Sorting Task
- 2026Transformers Linearly Represent Highly Structured World Models
- 2026AGI Maze Prediction Datasets: A Compact Benchmark for Learning World Dynamics with Transformers
- 2026MetaOthello: A Controlled Study of Multiple World Models in Transformers
- 2025Causal Head Gating: A Framework for Interpreting Roles of Attention Heads in Transformers
- 2026Causal Dimensionality of Transformer Representations: Measurement, Scaling, and Layer Structure
- 2024Interpreting Attention Layer Outputs with Sparse Autoencoders
- 2023Linear Latent World Models in Simple Transformers: A Case Study on Othello-GPT