Cognitive maps are generative programs
Not on the map. Why?
Abstract (arXiv)
Making sense of the world and acting in it relies on building simplified mental representations that abstract away aspects of reality. This principle of cognitive mapping is universal to agents with limited resources. Living organisms, people, and algorithms all face the problem of forming functional representations of their world under various computing constraints. In this work, we explore the hypothesis that human resource-efficient planning may arise from representing the world as predictably structured. Building on the metaphor of concepts as programs, we propose that cognitive maps can take the form of generative programs that exploit predictability and redundancy, in contrast to directly encoding spatial layouts. We use a behavioral experiment to show that people who navigate in structured spaces rely on modular planning strategies that align with programmatic map representations. We describe a computational model that predicts human behavior in a variety of structured scenarios. This model infers a small distribution over possible programmatic cognitive maps conditioned on human prior knowledge of the world, and uses this distribution to generate resource-efficient plans. Our models leverages a Large Language Model as an embedding of human priors, implicitly learned through training on a vast corpus of human data. Our model demonstrates improved computational efficiency, requires drastically less memory, and outperforms unstructured planning algorithms with cognitive constraints at predicting human behavior, suggesting that human planning strategies rely on programmatic cognitive maps.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 13 of its 45 references that are in the map. First posted on arXiv 29 Apr 2025.
Builds on
13 of 45 references.
References · 13
- 2023Translating Natural Language to Planning Goals with Large-Language Modelscited by 133
- 2024WorldCoder, a Model-Based LLM Agent: Building World Models by Writing Code and Interacting with the Environmentcited by 107
- 2024Combining Induction and Transduction for Abstract Reasoningcited by 53
- 2021People construct simplified mental representations to plancited by 47
- 2024Centaur: a foundation model of human cognitioncited by 36
- 2021Communicating Natural Programs to Humans and Machinescited by 35
- 2019People infer recursive visual concepts from just a few examplescited by 23
- 2020Learning abstract structure for drawing by efficient motor program inductioncited by 23
- 2022Using Natural Language and Program Abstractions to Instill Human Inductive Biases in Machinescited by 20
- 2021Discovering State and Action Abstractions for Generalized Task and Motion Planningcited by 18
- 2023Exploring the hierarchical structure of human plans via program generationcited by 12
- 2021Map Induction: Compositional spatial submap learning for efficient exploration in novel environmentscited by 9
1 more
- 2021Vector-based Pedestrian Navigation in Citiescited by 6
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Online library learning in human visual puzzle solvingcited by 1
- 2026Prospective Compression in Human Abstraction Learningcited by 0
- 2026Prospective Compression in Human Abstraction Learning11 May 2026
- 2026Online library learning in human visual puzzle solving24 Mar 2026