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

Xiao-Xiong Lin, Yuk-Hoi Yiu, Christian Leibold

TL;DR

This paper introduces a bio-inspired reinforcement learning (RL) agent that uses a fixed "sequence generator" to mimic the mammalian hippocampus. By combining sparse sensory inputs with internal recurrent dynamics, the agent not only outperforms standard LSTMs in low-bandwidth environments but also naturally develops biological hallmarks like "place cells" and spatial remapping.

Introduction

In the brain, hippocampal "place cells" fire in specific sequences as an animal navigates. Neuroscientists have long debated whether these sequences are driven by external sensory cues (like seeing a landmark) or generated internally by the brain's own circuitry to act as a temporal memory buffer.

From a machine learning perspective, navigating complex environments with sparse information—where an agent only sees a recognizable landmark occasionally—is difficult. Standard Recurrent Neural Networks (RNNs) like LSTMs often struggle to maintain long-term context when sensory evidence is thin. The authors set out to prove that a "mechanistic and parsimonious" internal sequence generator is the key to both explaining biological observations and building more efficient navigation agents.

Methods

The researchers built an actor-critic agent with a specialized "Hippocampus-Inspired" architecture:

Model Architecture and Biological Inspiration
  1. Visual Encoder: A shallow, pretrained ResNet that processes first-person visual input.
  2. Dentate Gyrus (DG) Module: This acts as a "sparsifier." It takes visual features and applies high thresholding to ensure only ~2.5% of units are active at any time, mimicking the famously sparse firing of the biological DG.
  3. CA3 Sequence Generator: Instead of a trainable RNN, the authors used a fixed linear shift register. When a sparse input hits this module, it triggers a pre-wired sequence of activity that propagates over time (inspired by "theta sequences" in rodents). This creates a high-dimensional temporal feature space without the "feature mixing" noise of a fully connected RNN.
  4. Actor-Critic Decoder: A standard MLP that learns to map these internal sequences to actions (movement) and value estimates (reward prediction) using Reinforcement Learning (APPO).

By keeping the CA3 module fixed, the authors isolated the effect of the intrinsic sequence dynamics itself, rather than the effects of recurrent learning.

Datasets and Task

The agent was tested in a continuous 3D environment using DeepMind Lab.

  • The Maze: A $19 \times 19$ grid with walls randomly placed on 15% of the tiles.
  • The Task: The agent must find an invisible reward. To succeed, it must remember where it has been relative to sparse landmarks.
  • Generalization: The authors tested the model's robustness by moving the reward, generating entirely new map layouts, and adding obstacles to previously clear paths.

Key Insights

  • The Sparsity Synergy: The most striking finding is that the model's advantage is entirely dependent on input sparsity. Sparse coding prevents different sensory features from interfering with each other within the sequence generator.
  • Internal vs. External Drive: The results suggest that hippocampal sequences don't need to be "learned" or "driven" by constant sensory input; a simple internal shift-register mechanism provides a powerful inductive bias for navigation.
  • Emergent Biology: Even though the CA3 was fixed and the agent was only trained to find rewards, it naturally developed biological features:
  • Place Fields: Units became tuned to specific spatial locations.
  • Remapping: When the reward moved, the "place cells" shifted their firing patterns, just as they do in real rats.
  • Orthogonalization: The network learned to make its internal representations of different locations more distinct over time.

Key Results

  • Outperforming LSTMs: In the "Sparse Input" regime (16 channels), the CA3 agent reached an 80% success rate in ~173 million frames. In contrast, LSTMs and other state-of-the-art models failed to reach that threshold within 350 million frames.
  • The Dense Flip: Interestingly, when given "Dense Input" (no sparsification), the LSTM won (93% success vs. 71% for CA3). This reveals that LSTMs are better at "averaging" noisy, dense signals, while the CA3 architecture is specialized for high-capacity, low-interference memory.
  • Sequence Length Matters: Performance dropped significantly when the sequence length was shortened, proving that the "long horizon" of the internal buffer is critical for solving the maze.

Limitations and Future Work

  • Fixed Connectivity: Real brains have plastic recurrent connections. Adding local Hebbian learning rules to the CA3-like module could make the model more biologically realistic and potentially more flexible.
  • Simplified Pathway: The model skips the "direct" pathway from the Entorhinal Cortex to the CA1/CA3 regions, which is known to play a role in real-time sensory integration.
  • Scaling: While successful in a DeepMind Lab maze, it remains to be seen how this "shift-register" approach scales to much larger, more complex environments or non-navigation tasks.
  • Biological Realism of Training: The model uses backpropagation and RL, which differ from how biological brains learn. Future work could explore more biologically plausible training signals.

Summary updated

BibTeX
@inproceedings{lin2026emergence,
  author = {Xiao-Xiong Lin and Yuk-Hoi 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