Cognitive maps are generative programs
By: Marta Kryven , Cole Wyeth , Aidan Curtis and more
Potential Business Impact:
Helps brains learn faster by seeing patterns.
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.
Similar Papers
Cognitive Maps in Language Models: A Mechanistic Analysis of Spatial Planning
Artificial Intelligence
Teaches computers to find their way around.
A Geometric Theory of Cognition
Artificial Intelligence
Makes thinking work like one simple math rule.
How attention simplifies mental representations for planning
Neurons and Cognition
Helps people plan better by focusing attention.