NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Hippocampus facilitates reinforcement learning under partial observability

Dabal Pedamonti, Samia Mohinta, Martin V. Dimitrov, Hugo Malagon‐Vina, Stéphane Ciocchi, Rui Ponte CostabioRxiv 2023

TL;DR

This paper proposes a novel deep reinforcement learning (RL) agent with a recurrent hippocampal-like architecture that excels at navigation tasks in partially observable environments. By successfully mimicking animal behavior and neural data, the study highlights the crucial role of hippocampal recurrence in real-world learning and decision-making, especially when sensory information is incomplete.

What Problem Does This Paper Address?

Navigating complex environments, especially when sensory information is limited, is a fundamental challenge for both biological organisms and artificial agents. While the hippocampus is known to be involved in spatial navigation and memory, its precise role in goal-directed learning under conditions of partial observability remains unclear. Existing models often assume full environmental awareness, which is unrealistic for naturalistic scenarios. This paper aims to bridge this gap by investigating how hippocampal circuitry, particularly its recurrent connections, facilitates reinforcement learning in environments where agents cannot perceive the entire state at once, and how this relates to animal behavior and neural activity.

Methods

The authors developed a deep reinforcement learning agent based on the hippocampal architecture, specifically modeling the trisynaptic circuit (entorhinal cortex, dentate gyrus, CA3, and CA1). The core innovation lies in comparing two agent architectures: one with a recurrent CA3 layer (hcDRQN) and another with a purely feedforward CA3 layer (hcDQN). These agents were trained on a simulated 2D grid-world T-maze task, mimicking experimental setups involving egocentric and allocentric navigation rules under varying degrees of environmental observability.

Key techniques include:

  • Deep Reinforcement Learning (DRL): Using Deep Q-Networks (DQN) as a foundation.
  • Recurrent Neural Networks (RNNs): Specifically Gated Recurrent Units (GRUs) for the CA3 layer in the hcDRQN model to capture temporal dependencies.
  • Partial Observability Modeling: Simulating limited sensory input by defining a visible range around the agent.
  • Dimensionality Reduction (dPCA): Used to analyze and compare the neural dynamics of the RL agents and experimental animal data, focusing on strategy, time, and decision components.
  • Behavioral Modeling: Comparing agent trajectories and performance metrics (e.g., time spent in states) with animal data.

Datasets

  • Simulated 2D Grid-World Environment: A custom-built minigrid environment was used to simulate the T-maze task, allowing for controlled manipulation of observability and task parameters. This environment was designed to mimic experimental setups used with animals.
  • Animal Behavioral Data: Data from five behaving rats performing similar navigation tasks were used for comparison.
  • Hippocampal Neural Recordings: Tetrode recordings from CA1 neurons of behaving rats were used to validate the predicted neural dynamics of the RL agents.

Key Insights and Ideas

  • Recurrence is Key for Partial Observability: The study strongly suggests that recurrent connections within the hippocampal circuitry (specifically CA3) are essential for effective learning and navigation in partially observable environments. Non-recurrent models struggle significantly under these conditions.
  • Hippocampal Models Mimic Animal Behavior: The recurrent agent (hcDRQN) not only learned the complex egocentric and allocentric tasks but also accurately reproduced key aspects of animal behavior, including state-specific trajectories and time spent in different maze locations.
  • Neural Dynamics Align with Biological Data: Dimensionality reduction techniques revealed that the simulated neural activity of the hcDRQN agent's CA1 layer closely matched experimentally recorded hippocampal neural dynamics, particularly in encoding strategy and temporal information.
  • Generalization is Enhanced by Recurrence: Agents with recurrent hippocampal circuits demonstrated superior generalization capabilities to novel task conditions, including variations in maze length, cue removal, and the presence of distractors, mirroring animal adaptability.
  • Full Observability is a Poor Model: Agents trained in fully observable environments failed to capture experimental observations, underscoring the importance of modeling partial observability for realistic simulations of hippocampal function.

Key Results

  • Task Performance: The hcDRQN agent successfully learned both egocentric and allocentric tasks in partially observable environments, achieving high performance. In contrast, the hcDQN agent (without recurrence) failed to learn the allocentric tasks.
  • Neural Dynamics: dPCA analysis showed that hcDRQN's simulated neural activity could effectively separate task strategies, time, and decision components, aligning well with experimental data from hippocampal neurons.
  • Behavioral Fidelity: hcDRQN better captured animal behavior in terms of time spent in maze states and trajectory patterns compared to hcDQN.
  • Generalization: hcDRQN showed robust performance across various generalization tests, including increased maze length, cue removal (up to 50%), and the presence of distractors, while hcDQN's performance degraded significantly.
  • Model-Data Match: The mean squared error metric indicated that hcDRQN provided a significantly better match to experimental neural dynamics and behavioral data than hcDQN.

Limitations and Future Work

  • Simplified Environment: The study used a 2D grid-world environment, which is a simplification of real-world navigation. Future work could explore more complex, continuous environments.
  • Task Specificity: The agents were trained on specific egocentric and allocentric tasks. Investigating a broader range of tasks and more complex rule switching would be beneficial.
  • Action-Value Output: The assumption of separate ego and allocentric output action networks simplifies task inference. Future research could explore how the brain might achieve this without explicit task separation at the output layer.
  • Credit Assignment: The study used artificial algorithms for credit assignment. Exploring more biologically plausible mechanisms for credit assignment in hippocampal networks is an open area.
  • Generalizability of Principles: While the findings suggest recurrent networks are crucial for navigation, their generalizability to other brain areas and cognitive functions remains to be tested.
  • Experimental Perturbations: The authors suggest that perturbing CA3 recurrence in animals could experimentally test the model's predictions regarding impaired generalization to novel and stochastic conditions.

Summary updated

BibTeX
@misc{pedamonti2023hippocampus,
  author = {Dabal Pedamonti and Samia Mohinta and Martin V. Dimitrov and Hugo Malagon‐Vina and Stéphane Ciocchi and Rui Ponte Costa},
  title = {{Hippocampus facilitates reinforcement learning under partial observability}},
  year = {2023},
  doi = {10.1101/2023.11.09.565503},
  howpublished = {bioRxiv},
}
Figure