Emergence of Spatial Representation in an Actor-Critic Agent with Hippocampus-Inspired Sequence Generator

Xiaoxiong Lin, Yau Chuen Yiu, Christian Leibold · DOI

Abstract

Sequential firing of hippocampal place cells is often attributed to sequential sensory drive along a trajectory, and has also been attributed to planning and other cognitive functions. Here, we propose a mechanistic and parsimonious interpretation to complement these ideas: hippocampal sequences arise from intrinsic recurrent circuitry that propagates transient input over long horizons, acting as a temporal memory buffer that is especially useful when reliable sensory evidence is sparse. We implement this idea with a minimal sequence generator inspired by neurobiology and pair it with an actor-critic learner for egocentric visual navigation. Our agent reliably solves a continuous maze without explicit geometric cues, with performance depending on the length of the recurrent sequence. Crucially, the model outperforms LSTM cores under sparse input conditions (16 channels, ~2.5% activity), but not under dense input, revealing a strong interaction between representational sparsity and memory architecture. Through learning, units develop localized place fields, distance-dependent spatial kernels, and task-dependent remapping, while inputs to the sequence generator orthogonalize and spatial information increases across layers. These phenomena align with neurobiological data and are causal to performance. Together, our results show that sparse input synergizes with sequence-generating dynamics, providing both a mechanistic account of place cell sequences in the mammalian hippocampus and a simple inductive bias for reinforcement learning based on sparse egocentric inputs in navigation tasks.

Introduction

The origin of sequential firing in hippocampal place cells is a subject of significant debate in neuroscience. While traditionally linked to external sensory cues or cognitive planning, this paper proposes a more parsimonious explanation: these sequences are an intrinsic property of the hippocampal recurrent circuitry. In artificial intelligence, agents often struggle with "long-horizon" navigation when sensory data is sparse. Standard recurrent neural networks like LSTMs tend to suffer from feature interference and forgetting in such environments. By proposing that hippocampal sequences act as an internal temporal buffer, the authors bridge the gap between biological observation and computational efficiency.

Biological inspiration for hippocampal sequences: (A) Theta oscillations and CA3 neuron firing, (B-C) Recurrent influence and place field development.

Methods

The researchers introduced a minimalist architecture inspired by the hippocampal circuit, tested within a virtual continuous maze in DeepMind Lab. The agent consists of four key modules:

  1. Visual Encoder: A pretrained ResNet that processes first-person (egocentric) images.
  2. Dentate Gyrus (DG) Module: Acting as a "sparsifier," it projects visual features into a high-dimensional space and applies a high threshold, ensuring only ~2.5% of units are active at any time.
  3. CA3 Sequence Generator: A fixed linear shift register. When a DG unit fires, it triggers a pre-wired sequence of activity in CA3 that propagates over a set number of "theta cycles." This acts as a non-trainable reservoir of temporal features.
  4. Actor-Critic Decoder: A standard MLP that reads the CA3 state to output actions and value estimates using the Asynchronous Proximal Policy Optimization (APPO) algorithm.
Overview of the agent architecture and environment. (D) The virtual maze task with rewards. (E) The modular pipeline from visual encoding to action decoding.

The key innovation is the fixed nature of the CA3 sequences, which isolates the architectural impact from the learning process.

Results

The study found that sparse input and sequence generation are mutually beneficial, particularly in environments where landmarks are infrequent.

Performance in Sparse Regimes

In a sparse input regime (16 channels), the CA3-based agent reached an 80% success rate in approximately 173 million frames. In contrast, the LSTM agent failed to reach this threshold even after 350 million frames. The DG+CA3 agent also showed significantly higher resilience to Gaussian noise in visual inputs compared to the LSTM, suggesting that the "temporal glue" provided by the sequence generator is more robust than learned recurrent weights in sparse conditions.

Emergence of Spatial Representations

Without explicit programming to map the environment, the agent's internal units developed biological hallmarks:

  • Place Fields: Units fired only in specific spatial locations.
  • Remapping: Units changed spatial tuning when reward locations were moved, mirroring rodent hippocampal behavior.
  • Orthogonalization: The mapping from the visual encoder to the DG became increasingly orthogonal through training, allowing for distinct representations of different locations and reducing feature interference.

Sequence Length and Causality

Performance scaled directly with the length of the CA3 sequences ($L$). When the sequence length was reduced to 1, effectively removing the temporal buffer, the agent's performance collapsed, demonstrating the causal role of the sequence generator in maintaining spatial information over time.

Discussion

The results suggest that the brain's architecture may be specifically evolved for "low-bandwidth" ecological realities where sensory evidence is sparse. While LSTMs excel in dense input regimes by accumulating many weak signals, the hippocampus-inspired model provides a superior inductive bias for sparse environments.

Limitations of the current work include the fixed connectivity of the CA3 module and the lack of path integration via the Entorhinal Cortex. Future research could explore incorporating local Hebbian learning and investigating similar "shift-register" motifs in other brain regions to support higher-level cognition.

Summary updated

BibTeX
@inproceedings{lin2026emergence,
  author = {Xiaoxiong Lin and Yau Chuen Yiu and Christian Leibold},
  title = {{Emergence of Spatial Representation in an Actor-Critic Agent with Hippocampus-Inspired Sequence Generator}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=li1vfqDzRD},
}
Figure