Nature Machine IntelligenceNeurosciencePeer-reviewed journal article
Automated construction of cognitive maps with predictive coding
Abstract
Humans construct internal cognitive maps of their environment directly from sensory inputs without access to a system of explicit coordinates or distance measurements. While machine learning algorithms like SLAM utilize specialized inference procedures to identify visual features and construct spatial maps from visual and odometry data, the general nature of cognitive maps in the brain suggests a unified mapping algorithmic strategy that can generalize to auditory, tactile, and linguistic inputs. Here, we demonstrate that predictive coding provides a natural and versatile neural network algorithm for constructing spatial maps using sensory data. We introduce a framework in which an agent navigates a virtual environment while engaging in visual predictive coding using a self-attention-equipped convolutional neural network. While learning a next image prediction task, the agent automatically constructs an internal representation of the environment that quantitatively reflects spatial distances. The internal map enables the agent to pinpoint its location relative to landmarks using only visual information.The predictive coding network generates a vectorized encoding of the environment that supports vector navigation where individual latent space units delineate localized, overlapping neighborhoods in the environment. Broadly, our work introduces predictive coding as a unified algorithmic framework for constructing cognitive maps that can naturally extend to the mapping of auditory, sensorimotor, and linguistic inputs.
- Citations
- 26
- FWCI
- 2.81
- Field percentile
- top 9%
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- A model of egocentric to allocentric understanding in mammalian brains
Benigno Uría, Borja Ibarz, … Charles Blundell·bioRxiv·Nov 11, 2020
- A Vector Navigation and Inference Architecture can Construct Universal Cognitive Maps for Abstract Reasoning
Andrej Bičanski·Current BiologyPeer-reviewed·Sep 22, 2026
- The hippocampus as a predictive map
Kimberly Stachenfeld, Matthew Botvinick, Samuel Joseph Gershman·Nature NeurosciencePeer-reviewed·Oct 2, 2017
- Predictive learning induces Bayesian cognitive maps in the hippocampus
Yeowon Kim, Yul HR Kang·bioRxiv·Jun 5, 2026
- Semantic map learning and externalization in an embodied neural agent: A comparison to human behavioral and neural data
Kathryn Simone, Lea Steffen, … Chris Eliasmith·bioRxiv·May 21, 2026
- Local prediction-learning in high-dimensional spaces enables neural networks to plan
Christoph Stöckl, Yukun Yang, Wolfgang Maass·Nature CommunicationsPeer-reviewed·Mar 15, 2024