Cognitive Maps in Large Language Models
Abstract
It has long been proposed that animals construct cognitive maps to support flexible behavior in novel environments. We tested whether large language models form analogous internal representations using relational reasoning tasks and causal "mosaic" experiments. Models beyond the ten-billion-parameter scale inferred unstated relationships and generalized to synthetic entity names. Across models and tasks, models formed abstract representations of relational structure, additively combining them with representations of entity identity. Relationships were primarily stored as pairwise links and composed retrospectively, rather than prospectively encoded in a global coordinate system. A sparse, distributed set of key-value pairs mediated binding; perturbing them implanted "false memories" that produced predictable behavioral changes. Our findings reveal a conserved organization analogous to a cognitive map supporting flexible and systematic reasoning in language models.
Create a lesson
Metadata
- Categories
- cs.CL, cs.LG
- Comments
- Changes in v2: Revised Discussion, minor edits throughout, and added a summary figure (Fig. 6). Results unchanged
Related papers
Exploring Multi-Player Social Games as Verifiable Training Grounds for Large Language Models
Shared title terminologycs.CLKeyu He, Michael Li, Jiarui Liu et al.
PazaBench: Large-Scale ASR Benchmark for Low-Resource Languages in Africa
Shared title terminologycs.CLMercy Muchai, Nick Mumero Mwangi, Kevin Chege et al.
Rethinking the Evaluation of Contrastive Decoding for Hallucination Mitigation in Multimodal Large Language Models
Shared title terminologycs.CLTing Chen, Geng Li, Guohao Chen et al.
PCC: Pivotal Channel Compensation for Layer Pruning of Large Language Models
Shared title terminologycs.CLXiangqian Wang, Yucheng Zhang, Zhaohong Jia et al.
Reading the Tea Leaves, Again: Can Large Language Models Predict Language Model Training Runs?
Shared title terminologycs.CLXinran Zhao, Xiang Li, Tong Chen et al.
When 1+1 ≠ 2: Benchmarking Civil-Time Reasoning in Large Language Models
Shared title terminologycs.CLMelika Shirian, Kianoosh Vadaei, Arshia Hemmat et al.