Learning produces an orthogonalized state machine in the hippocampus

W Weinan Sun J Johan Winnubst M Maanasa Natrajan C Chongxi Lai K Koichiro Kajikawa A Arco Bast M Michalis Michaelos R Rachel Gattoni C Carsen Stringer D Daniel Flickinger J James E. Fitzgerald N Nelson Spruston

Abstract

Abstract Cognitive maps confer animals with flexible intelligence by representing spatial, temporal and abstract relationships that can be used to shape thought, planning and behaviour. Cognitive maps have been observed in the hippocampus1, but their algorithmic form and learning mechanisms remain obscure. Here we used 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 linear tracks in virtual reality. Throughout learning, both animal behaviour and hippocampal neural activity progressed through multiple stages, gradually revealing improved task representation that mirrored improved behavioural efficiency. The learning process involved 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. This decorrelation process was driven by individual neurons acquiring task-state-specific responses (that is, ‘state cells’). Although various standard artificial neural networks did not naturally capture these dynamics, the clone-structured causal graph, a hidden Markov model variant, uniquely reproduced both the final orthogonalized states and the learning trajectory seen in animals. The observed cellular and population dynamics constrain the mechanisms underlying cognitive map formation in the hippocampus, pointing to hidden state inference as a fundamental computational principle, with implications for both biological and artificial intelligence.

Article Details

Journal Nature
Volume / Issue Vol. 640, Issue 8057
Published April 03, 2025
Pages 165-175
ISSN 0028-0836
Publisher Nature Portfolio

Journal Info

Nature

Nature Portfolio

ISSN: 0028-0836 Health Sciences

Authors (12)

W

Weinan Sun

J

Johan Winnubst

M

Maanasa Natrajan

C

Chongxi Lai

K

Koichiro Kajikawa

A

Arco Bast

M

Michalis Michaelos

R

Rachel Gattoni

C

Carsen Stringer

D

Daniel Flickinger

J

James E. Fitzgerald

N

Nelson Spruston