REMI: Reconstructing Episodic Memory During Internally Driven Path Planning

Zhaoze Wang, Genela Morris, Dori Derdikman, Pratik Chaudhari, Vijay Balasubramanian

Abstract

Grid cells in the medial entorhinal cortex (MEC) and place cells in the hippocampus (HC) both form spatial representations. Grid cells fire in triangular grid patterns, while place cells fire at specific locations and respond to contextual cues. How do these interacting systems support not only spatial encoding but also internally driven path planning, such as navigating to locations recalled from cues? Here, we propose a system-level theory of MEC-HC wiring that explains how grid and place cell patterns could be connected to enable cue-triggered goal retrieval, path planning, and reconstruction of sensory experience along planned routes. We suggest that place cells autoassociate sensory inputs with grid cell patterns, allowing sensory cues to trigger recall of goal-location grid patterns. We show analytically that grid-based planning permits shortcuts through unvisited locations and generalizes local transitions to long-range paths. During planning, intermediate grid states trigger place cell pattern completion, reconstructing sensory experiences along the route. Using a single-layer RNN modeling the HC-MEC loop with a planning subnetwork, we demonstrate these effects in both biologically grounded navigation simulations using RatatouGym and visually realistic navigation tasks using Habitat Sim.

Introduction

Neuroscientists have long been puzzled by why the brain maintains two distinct spatial mapping systems. In the Medial Entorhinal Cortex (MEC), grid cells fire in consistent, hexagonal patterns that act like a universal coordinate system. Meanwhile, in the Hippocampus (HC), place cells fire at specific locations and are highly sensitive to context. REMI (Reconstructing Episodic Memory during Intrinsic path planning) addresses the integration gap between these systems, proposing that place cells act as an auto-associative bridge linking sensory observations with abstract grid coordinates to enable internally driven planning.

Architecture and Methods

The REMI framework is implemented as a single-layer Recurrent Neural Network (RNN) designed to mimic the HC-MEC loop. Unlike standard black-box RNNs, this model explicitly integrates specific cell types into its recurrent dynamics: speed and direction cells provide input, while sensory-modulated cells (SMCs) and grid cells (GCs) form the core representational layers.

The REMI architecture models the reciprocal loop between the Hippocampus (HC) and Medial Entorhinal Cortex (MEC), integrating grid cells, place cells, and sensory-modulated cells.

Auto-association and Planning

The model uses the hippocampus to link SMCs—which represent sensory cues—with GCs. This allows the network to perform "pattern completion": a partial sensory cue can retrieve the corresponding global grid state. For planning, the grid cell population is treated as a manifold (an n-dimensional torus). A planning subnetwork learns local transition rules, allowing the system to propagate activity through "phase space" to find the shortest path between a current location and a recalled goal.

Key Results

Robust Goal Recall

A primary strength of the REMI model is its ability to perform robust pattern completion. The system can accurately retrieve a goal's location even when a significant portion of the input signal is missing. Simulations showed that the model could converge on a target location even when 90% of the input signals were masked ($r_{mask} = 0.9$), demonstrating the power of the auto-associative HC-MEC loop.

Performance metrics showing the distance to target over query time for various masking ratios, demonstrating robust goal recall even with 90% input masking.

Generalization and Reconstruction

Because grid cell relationships (phases) are stable across different environments, the planning network can generalize local transitions to long-range paths. Even when trained only on 1-second local movements, the system successfully planned paths across an entire arena (10-20 seconds). Furthermore, as the planning subnetwork moves through grid states, it triggers the hippocampal loop to retrieve associated sensory cues, effectively "reconstructing" the episodic memory of the path—a process analogous to biological "preplay."

Discussion

REMI provides a computational explanation for how the brain "imagines" a path before taking it. By positioning the hippocampus as the "glue" between sensory experience and abstract coordinates, the model explains how animals can take shortcuts through unvisited territory and mentally simulate journeys. Future work aims to move toward fully autonomous models where grid and place cell patterns emerge without partial supervision and to incorporate complex boundary-vector influences for more realistic obstacle avoidance.

Summary updated

BibTeX
@inproceedings{wang2025remi,
  author = {Zhaoze Wang and Genela Morris and Dori Derdikman and Pratik Chaudhari and Vijay Balasubramanian},
  title = {{REMI: Reconstructing Episodic Memory During Internally Driven Path Planning}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=LPWzV8zrgj},
}
Figure