bioRxivNeurosciencePreprint
Learning produces a hippocampal cognitive map in the form of an orthogonalized state machine
Weinan SuniD, Johan WinnubstiD, Maanasa NatrajaniD, Chongxi LaiiD, Koichiro KajikawaiD, Michalis MichaelosiD, Rachel Gattoni, Carsen StringeriD, Daniel FlickingeriD, James E. FitzgeraldiD, Nelson SprustoniD
Abstract
Cognitive maps confer animals with flexible intelligence by representing spatial, temporal, and abstract relationships that can be used to shape thought, planning, and behavior. Cognitive maps have been observed in the hippocampus, but their algorithmic form and the processes by which they are learned remain obscure. Here, we employed large-scale, longitudinal two-photon calcium imaging to record activity from thousands of neurons in the CA1 region of the hippocampus while mice learned to efficiently collect rewards from two subtly different versions of linear tracks in virtual reality. The results provide a detailed view of the formation of a cognitive map in the hippocampus. Throughout learning, both the animal behavior and hippocampal neural activity progressed through multiple intermediate stages, gradually revealing improved task representation that mirrored improved behavioral efficiency. The learning process led to progressive decorrelations in initially similar hippocampal neural activity within and across tracks, ultimately resulting in orthogonalized representations resembling a state machine capturing the inherent structure of the task. We show that a Hidden Markov Model (HMM) and a biologically plausible recurrent neural network trained using Hebbian learning can both capture core aspects of the learning dynamics and the orthogonalized representational structure in neural activity. In contrast, we show that gradient-based learning of sequence models such as Long Short-Term Memory networks (LSTMs) and Transformers do not naturally produce such orthogonalized representations. We further demonstrate that mice exhibited adaptive behavior in novel task settings, with neural activity reflecting flexible deployment of the state machine. These findings shed light on the mathematical form of cognitive maps, the learning rules that sculpt them, and the algorithms that promote adaptive behavior in animals. The work thus charts a course toward a deeper understanding of biological intelligence and offers insights toward developing more robust learning algorithms in artificial intelligence.
- organism: mouse
- assay: spatial transcriptomics
- research focus: trajectory inference
- research focus: differential expression
- research focus: cell-cell communication
- approach: statistical model
- approach: machine learning (classical)
- approach: experimental assay
- Citations
- 24
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
- Abstract representation in the hippocampus predicts spontaneously adopted structure-based behavioral strategy
Yuhan Jiang, Yaorui Liu, Xinyu Zhao·bioRxiv·Sep 25, 2026
- Learning predictive cognitive maps with spiking neurons during behaviour and replays.
Jacopo Bono, Sara Zannone, … Claudia Clopath A·eLifePeer-reviewed·Jan 13, 2023
- A surprising link between cognitive maps, successor-relation based reinforcement learning, and BTSP
Yukun Yang, Christoph Stöckl, Wolfgang Maass·bioRxiv·Apr 22, 2025
- Learning reshapes the hippocampal representation hierarchy
Heloisa S. C. Chiossi, Michele Nardin, … Jozsef L. Csicsvari·Proceedings of the National Academy of SciencesPeer-reviewed·Mar 10, 2025
- The hippocampus as a small-world cognitive map
Jason Z. Kim, James P. Sethna, … Weinan Sun·bioRxiv·May 31, 2026
- Spatial learning in multi-scale environments: Roles of hippocampus, orbitofrontal cortex, and retrosplenial cortex
Yidan Qiu, Senning Zheng, … Ruiwang Huang·bioRxiv·Oct 20, 2025