A Causal World Model Underlying Next Token Prediction: Exploring GPT in a Controlled Environment
On the map: World models → World models for language agents
Abstract (arXiv)
Are generative pre-trained transformer (GPT) models, trained only to predict the next token, implicitly learning a world model from which sequences are generated one token at a time? We address this question by deriving a causal interpretation of the attention mechanism in GPT and presenting a causal world model that arises from this interpretation. Furthermore, we propose that GPT models, at inference time, can be utilized for zero-shot causal structure learning for input sequences, and introduce a corresponding confidence score. Empirical tests were conducted in controlled environments using the setups of the Othello and Chess strategy games. A GPT, pre-trained on real-world games played with the intention of winning, was tested on out-of-distribution synthetic data consisting of sequences of random legal moves. We find that the GPT model is likely to generate legal next moves for out-of-distribution sequences for which a causal structure is encoded in the attention mechanism with high confidence. In cases where it generates illegal moves, it also fails to capture a causal structure.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Placed in World models for language agents, one of 11 directions in World models. Builds on 14 of its 26 references that are in the map. First posted on arXiv 10 Dec 2024.
Builds on
14 of 26 references.
Closest ancestors · 1
Same direction, newest first
Other references · 13
- 2017Attention Is All You Needcited by 59,932
- 2023Visual Instruction Tuningcited by 7,792
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,304
- 2019Analyzing Multi-Head Self-Attention: Specialized Heads Do the Heavy Lifting, the Rest Can Be Prunedcited by 844
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 515
- 2022Emergent World Representations: Exploring a Sequence Model Trained on a Synthetic Taskcited by 417
- 2021Chess as a Testbed for Language Model State Trackingcited by 69
- 2013Learning Sparse Causal Models is not NP-hardcited by 48
- 2023Causal Interpretation of Self-Attention in Pre-Trained Transformerscited by 30
- 2021Iterative Causal Discovery in the Possible Presence of Latent Confounders and Selection Biascited by 21
- 2018Bayesian Structure Learning by Recursive Bootstrapcited by 8
- 2021Improving Efficiency and Accuracy of Causal Discovery Using a Hierarchical Wrappercited by 6
1 more
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Correlation or Causation: Analyzing the Causal Structures of LLM and LRM Reasoning Processcited by 3
- 2026MetaOthello: A Controlled Study of Multiple World Models in Transformerscited by 3
- 2025From Next Token Prediction to (STRIPS) World Modelscited by 2
- 2026Can Neural Networks Learn Small Algebraic Worlds? An Investigation Into the Group-theoretic Structures Learned By Narrow Models Trained To Predict Group Operationscited by 2
- 2025MoRE: Batch-Robust Multi-Omics Representations from Frozen Pre-trained Transformerscited by 0
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMscited by 0
- 2026Few-Shot Demonstrations Elicit the Use of In-Context World Representations in LLMs21 Sep 2026
- 2026MetaOthello: A Controlled Study of Multiple World Models in Transformers26 Feb 2026
- 2026Can Neural Networks Learn Small Algebraic Worlds? An Investigation Into the Group-theoretic Structures Learned By Narrow Models Trained To Predict Group Operations29 Jan 2026
- 2025MoRE: Batch-Robust Multi-Omics Representations from Frozen Pre-trained Transformers25 Nov 2025
- 2025Correlation or Causation: Analyzing the Causal Structures of LLM and LRM Reasoning Process22 Sep 2025
- 2025From Next Token Prediction to (STRIPS) World Models16 Sep 2025
Similar, not cited
Close in wording, no citation either way
- 2024Emergent World Models and Latent Variable Estimation in Chess-Playing Language Models
- 2026Grounding Before Generalizing: How AI Differs from Humans in Causal Transfer
- 2025How GPT learns layer by layer
- 2023Linear Latent World Models in Simple Transformers: A Case Study on Othello-GPT
- 2025Causal-Symbolic Meta-Learning (CSML): Inducing Causal World Models for Few-Shot Generalization
- 2025Emergent World Beliefs: Exploring Transformers in Stochastic Games
- 2025Learning Local Causal World Models with State Space Models and Attention
- 2023Passive learning of active causal strategies in agents and language models