TL;DR
How does the brain build an internal GPS without an external map? By training a biologically constrained recurrent neural network simply to predict its next sensory input—much like an LLM predicts the next word—this paper shows that both "place cells" (which mark specific locations) and "grid cells" (which form a spatial coordinate grid) spontaneously emerge together, solving a longstanding chicken-and-egg mystery in neuroscience.
What Problem Does This Paper Address?
Deep in the mammalian brain, two types of neurons work together to help us navigate. Place cells (in the hippocampus) fire when you are in a specific spot, like your kitchen. Grid cells (in the medial entorhinal cortex) fire in repeating, hexagonal honeycomb patterns across an entire room, acting like built-in graph paper to track movement.
Because these two brain regions talk to each other constantly, neuroscientists face a classic chicken-and-egg problem: which comes first? Existing computational models either simulate one cell type in isolation or assume one already exists to supervise the creation of the other. Furthermore, simply wiring a standard place-cell network to a grid-cell network fails—the "grid" side produces messy, irregular stripes instead of clean hexagonal lattices.
Methods
Instead of forcing the network into pre-assigned "hippocampus" and "entorhinal" boxes, the authors built a single, unified Recurrent Neural Network (RNN) of 2,048 neurons and let it self-organize under a shared objective: predict the next sensory observation ($\hat{o}_{t+1}$) using only a partially masked current sensory input ($\tilde{o}_t$) and body-centered (egocentric) motion cues (relative rotation and speed, rather than global North/South coordinates).
To make this work, they introduced crucial biological constraints:
- Input vs. Recurrent Split: Half the neurons receive external sensory and motion inputs; the other half ("free" neurons) only talk to other neurons inside the network.
- Dale’s Law: In standard AI networks, a neuron's outgoing weights can be a mix of positive and negative numbers. Real neurons don't do this. The authors enforced Dale’s Law: 80% of neurons are strictly excitatory (non-negative outgoing weights) and 20% are strictly inhibitory (non-positive outgoing weights).
- Firing-rate noise: Active neurons experience Gaussian noise scaled by how hard they are firing.
Datasets
Rather than static benchmark datasets, the authors trained and evaluated the network in procedurally generated, continuous simulated environments where an agent performs a smoothed random walk:
- A standard 2D open square arena ($220\text{ cm} \times 220\text{ cm}$) where nearby locations yield smoothly varying sensory vectors.
- Classic rodent behavioral setups: a hairpin maze (narrow, alternating corridors), a two-room arena where a dividing wall is later removed, and two rooms connected by a corridor.
- A 3D volumetric space to simulate the flight trajectories of bats.
Key Insights and Ideas
- Dual pressures on a sensory manifold: Why does next-step prediction birth two distinct cell types? Sensory experiences trace out a smooth, low-dimensional surface (a manifold). Masking the input knocks the network off this manifold; place cells act as localized attractors to pull the noisy state back to the right spot (off-manifold contraction). Meanwhile, grid cells act as a local coordinate chart to update that position as the agent moves (on-manifold transition).
- Inhibition is the secret sauce for grids: Place cells like slow, steady dynamics to denoise corrupted inputs. Grid cells need to stay put when stationary, then rapidly reconfigure when moving. Enforcing Dale's Law provides dedicated inhibitory feedback that acts like a state-dependent gate. Removing Dale's Law caused grid cell counts to plummet from 58 down to 3!
- Motion is implicit in sensation: Surprisingly, even when explicit motion inputs were completely removed, both grid and place cells still emerged—the network inferred movement purely from how sensory scenes smoothly shifted over time.
Key Results
- Robust Co-emergence: Across a 1,000-configuration hyperparameter sweep (varying decay rate, noise, and masking), both cell types reliably co-emerged—place cells primarily in the input-driven group, and grid cells in the recurrently driven group. Across 10 random seeds (using a strict grid-score threshold $> 0.3$), networks averaged $30.0 \pm 19.2$ grid cells and $299.4 \pm 4.9$ place cells.
- Reproducing Biology: The model naturally mirrored famous lab experiments:
- Development: Place cells emerged earlier in training than grid cells, matching how baby rodents develop.
- Maze Geometry: Grid patterns fractured into vertical bands inside hairpin mazes (recovering in open fields), merged two separate maps into one unified lattice when a dividing wall was removed, and gradually aligned across corridor-connected rooms.
- 3D Flight: In 3D volumes, grid cells formed locally ordered—rather than globally crystalline—fields, matching recordings from freely flying bats.
- Testable Predictions: Unlike rodent studies where place cells repeat across hairpin maze arms, the model’s place cells fired in single arms—predicting that if real animals are given distinct visual or smell cues per corridor, repetition will vanish.
Limitations and Future Work
- Missing Grid Modules: In the brain, grid cells cluster into discrete hierarchy modules of different spatial scales (from fine to coarse). This single-layer network only produced a single module of similar grid spacings; multi-layer architectures or efficiency regularizers might be needed to induce hierarchy.
- Enclosure Distortions & Border Cells: It remains untested whether the network reproduces grid stretching when a room is suddenly resized, or if it develops "border cells" alongside grid and place cells.
- Biological Plausibility of Learning: The network is trained via backpropagation through time (BPTT), which the brain likely doesn't do. Future work could swap BPTT for local predictive-coding learning rules.
Summary updated