Decoding the Cognitive map: Learning place cells and remapping

Markus Borud Pettersen, Vemund Sigmundson Schøyen, Anders Malthe‐Sørenssen, Mikkel Elle Lepperød2025

Abstract

Hippocampal place cells are known for their spatially selective firing and are believed to encode an animal’s location while forming part of a cognitive map of space. These cells exhibit marked tuning curve and rate changes when an animal’s environment is sufficiently manipulated, in a process known as remapping. Place cells are accompanied by many other spatially tuned cells such as border cells and grid cells, but how these cells interact during navigation and remapping is unknown. In this work, we build a normative place cell model wherein a neural network is tasked with accurate position reconstruction and path integration. Motivated by the notion of a cognitive map, the network’s position is estimated directly from its learned representations. To obtain a position estimate, we propose a non-trainable decoding scheme applied to network output units, inspired by the localized firing patterns of place cells. We find that output units learn place-like spatial representations, while upstream recurrent units become boundary-tuned. When the network is trained to perform the same task in multiple simulated environments, its place-like units learn to remap like biological place cells, displaying global, geometric and rate remapping. These remapping abilities appear to be supported by rate changes in upstream units. While the model does not learn grid-like units, its place unit centers form clusters organized in a hexagonal lattice in open fields. When we decode the center locations of CA1 place fields in mice, we find preliminary evidence of a similar clustering tendency. This suggests a potential mechanism for the interaction between place cells, border cells, and grid cells. Our model provides a normative framework for learning spatial representations previously reserved for biological place cells, providing new insight into place cell field formation and remapping.

Introduction

In neuroscience, place cells are neurons in the hippocampus that fire only when an animal is in a specific location. When an animal moves to a new room, these cells "remap"—they might stop firing, start firing in a new spot, or change their firing rate entirely. While we know these cells exist, two big questions remain: how are they formed (relying on grid cells, border cells, or something else?), and how do they remap?

Most existing models assume that grid cells (which fire in a hexagonal pattern across a room) are the primary engine behind place cells. However, biological evidence shows place cells often mature before grid cells in young animals. This paper investigates whether a system can learn to create and remap place cells using a "normative" approach—essentially asking: "If a network's only goal is to know where it is, what kind of cells will it naturally evolve?"

Methods

The researchers developed a Recurrent Neural Network (RNN) tasked with path integration: predicting its current position based only on its previous position and its current velocity.

Model architecture and environment simulations.

The architecture consists of a recurrent layer (representing the Entorhinal Cortex) feeding into an output layer (representing the Hippocampus). Unlike standard AI that might output raw coordinates, this network uses a non-trainable decoding scheme. It estimates position by calculating the "center of mass" of the firing neurons, forcing the network to learn a population code similar to biological brains. To simulate different rooms, the network receives a "context signal" (a unique ID for each environment). The network was trained to minimize the difference between its decoded position and its true position using an L1 penalty to maintain biologically realistic sparsity.

Key Results

The network achieved a stable decoding error of ~0.15 relative to arena size, proving it successfully learned to path-integrate.

Training performance and emergent spatial representations.

As shown in Figure 2, the output units developed unimodal, localized firing fields—the defining characteristic of place cells. Surprisingly, the recurrent units did not become grid cells; instead, they became border cells. This suggests that boundary information is the most efficient "basis" for building a spatial map when starting from scratch.

The model successfully replicated "global remapping." When the context signal changed, the output "place cells" shifted locations. This remapping was driven by simple rate changes in the upstream border cells. Furthermore, even without grid cells, the centers of the learned place fields arranged themselves in a hexagonal lattice, suggesting hexagonal symmetry is a mathematical requirement for efficient spatial tiling.

Discussion

The model's internal map proved robust; when noise was injected, the network quickly settled back into the correct spatial representation. Like the real hippocampus, the model was sparse, with only about half of the output units active in any given environment.

However, some gaps remain. Real place cells in large environments often have multiple firing fields, whereas this model’s decoder only allowed for one "center" per cell. Additionally, the model did not show "field doubling" when new walls were added, likely due to a lack of direct visual/sensory inputs. While the model shows grid cells aren't strictly necessary for place cell formation, they exist in nature, and future work could explore if grid cells emerge under different constraints, such as energy efficiency or varied sensory inputs.

Summary updated

BibTeX
@misc{pettersen2025decoding,
  author = {Markus Borud Pettersen and Vemund Sigmundson Schøyen and Anders Malthe‐Sørenssen and Mikkel Elle Lepperød},
  title = {{Decoding the Cognitive map: Learning place cells and remapping}},
  year = {2025},
  doi = {10.7554/elife.99302.2},
}

Loading related content...

Figure