World Modeling in Transformers
Abstract
Behavioral failures can make a transformer appear to lack a world model even when it has learned faithful representations of its environment. We demonstrate this in TaxiGPT, a transformer trained on random walks through Manhattan whose failures have been interpreted as evidence of an incoherent internal map. Through mechanistic analysis and causal interventions, we show that the model represents intersections and streets, tracks its position, and uses a goal compass to navigate. We trace its failures to interference between superposed intersection features, which disrupts localization within the internal map. Affordance packing, which groups representations of intersections with the same legal moves, helps limit the consequences of these errors. Finally, we propose mechanistic indicators that we use to compare models and show that world-modeling capacities emerge at different stages of training. Our findings motivate a shift from asking whether a model has a world model to mechanistically studying its world modeling: the interacting capacities through which it represents its environment and uses those representations to guide behavior.
Create a lesson
Metadata
- Categories
- cs.AI, cs.CL
Related papers
Monitorable-by-design architectures for a post-Astra world: a compartmentalization-based approach
Shared title terminologycs.AIJake Watts, Joel Sokol
Orthogonally Mixed Sign Coding with Progressive Residual Refinement for Transformer Weight Compression
Shared title terminologycs.AIAnindya Roy Chowdhury, Atanu Barai, Nandakishore Santhi
SWAM: State-aware World Action Model for Multi-Agent 3D Environments
Shared title terminologycs.AIJenna Kang, Bingxuan Li, Colin Groth et al.
OWE-Bench: A long-horizon benchmark for measuring real-world engineering
Shared title terminologycs.AIJacob Cole, Martin Dimakis, Victor Barres et al.
Real-Time Hand Gesture Recognition for OpenXR Using Transformer-Based Machine Learning
Shared title terminologycs.AISalar Rezayani, Russell Butler
World State Generator
Shared title terminologycs.AISungheon Jeong, Sanggeon Yun, Ryozo Masukawa et al.