Towards a Vision-Language Episodic Memory Framework: Large-scale Pretrained Model-Augmented Hippocampal Attractor Dynamics

Chong Li, Taiping Zeng, Xiangyang Xue, Jianfeng Feng

TL;DR

The Vision-Language Episodic Memory (VLEM) framework bridges neurobiology and modern AI by pairing pretrained vision-language models (CLIP) with hippocampal attractor dynamics. It models working memory, an entorhinal gateway, and three coupled attractor networks representing what, where, and when. Evaluated on a newly introduced 3D simulation benchmark (EpiGibson), VLEM shows strong noise robustness, predicts future events, and learns spatial cognitive maps with high interpretability.

What Problem Does This Paper Address?

While modern Large Language Models excel at semantic memory (general shared knowledge), modeling episodic memory (EM)—the ability to store, link, and mentally replay personal, continuous first-person experiences—remains an open challenge.

Current approaches suffer from a disciplinary divide:

  • Neuroscience models (e.g., Hopfield networks, hippocampal CA3 attractor networks) offer biological plausibility and mathematical interpretability (states map to discrete attractors), but do not scale to rich real-world sensory data.
  • AI/CV models (e.g., video question-answering on datasets like Ego4D) handle raw video, but treat memory as a black-box video modality without biological grounding, making them brittle to noise and uninterpretable.

VLEM resolves this tension by connecting large-scale representation learning with the attractor dynamics of the hippocampus.

Methods

VLEM mirrors key functional structures of the brain through a four-part modular pipeline:

  1. Neocortex (Semantic Embedding): Frozen pretrained CLIP vision and language models convert continuous image streams and text descriptions (actions, locations, times) into semantic vectors.
  2. Prefrontal Working Memory (WM): An array of $N_{\text{slots}} = 7$ recurrent neural networks (inspired by Miller's classic "magical number seven") acts as temporary slot-based storage. A diversity loss penalizes inter-slot redundancy to ensure distinct representations, and a cross-attention mechanism reads out current states.
  3. Entorhinal Gateway: Serves as the functional bridge between the cortex and hippocampus, combining working memory representations conditioned on predicted event embeddings.
  4. Hippocampus (CA3 Factorized Attractor Networks): Rather than modeling an event as a single state vector, VLEM explicitly splits memory into three interconnected recurrent attractor networks: what, where, and when.
  5. Unlike traditional Hopfield networks that rely on Hebbian learning rules, VLEM optimizes symmetric recurrent weights using gradient descent.
  6. Training uses three specialized attractor losses: fixed-point convergence ($L_{EM1}$), event contrastive separation ($L_{EM2}$), and saturation constraints ($L_{EM3}$) pushing activations toward $\pm 1$ to maximize memory capacity.
  7. Backward projection heads continuously decode the attractor states to predict sensory inputs, the current event, and the next expected event.
Visual/Text Input ──► Frozen CLIP ──► 7-Slot Working Memory ──► Entorhinal Gateway 
                                                                     │
                                                                     ▼
                                                          Hippocampal Attractors
                                                          [Where]─[What]─[When]

Datasets

The authors evaluate the model on two setups:

  • Synthetic Pattern-Based Benchmarks: Agents traverse random tree-structured graphs across varying scale tiers ("small", "medium", and "large"—scaling up to 50 "what" states, 20 "where" states, and 100 actions).
  • EpiGibson (Novel Benchmark): Built on the OmniGibson 3D physics simulator, this platform provides continuous first-person embodied experiences of daily domestic tasks. Continuous camera feeds, low-level action logs, and environment-state text descriptions are recorded alongside high-level plan summaries generated by GPT-4o.

Key Insights and Ideas

  • Factorized Attractor Spaces Scale Better: Decoupling where, what, and when into distinct, interacting attractor networks significantly expands memory capacity compared to a monolithic attractor ("VLEM(merged)"). Factorization proves especially critical for predicting multi-step transitions and future events.
  • End-to-End Attractor Learning: Replacing rigid Hebbian updates with differentiable attractor losses enables classical dynamical-systems concepts to integrate smoothly with modern deep learning representations.
  • Emergent Cognitive Maps: When using CEBRA (an unsupervised neural latent analysis tool) to project the learned where attractor states into 3D coordinates, the latent space automatically recovers the true 2D/3D physical floorplan of the environment.

Key Results

  • Accuracy: On the large synthetic dataset, full VLEM achieves a current event correlation of 0.999 (MSE 0.001) and next-event correlation of 0.736, drastically outperforming a Hebbian Hopfield baseline (0.443 current, 0.116 next) and beating VLEM(merged) (0.922 current, 0.393 next).
  • Embodied Simulation (EpiGibson): VLEM maintains superior event tracking (0.657 correlation vs. 0.366 for Hopfield) and sensory reconstruction (0.944 correlation).
  • Noise Robustness: When adding severe Gaussian noise ($\sigma = 1.0$) to sensory inputs, VLEM preserves high fidelity (0.961 event correlation on synthetic data; 0.674 on EpiGibson), whereas the Hebbian Hopfield baseline degrades significantly.

Limitations and Future Work

  • Anatomical Simplifications: The architecture assumes all cortical signals route to the entorhinal cortex exclusively through working memory slots, omitting direct cortical-entorhinal sensory pathways.
  • Frozen Perception: The vision-language backbones are completely frozen; adapting representations end-to-end to fine-grained visual details remains untested.
  • Closed-Loop Control: While VLEM predicts sensory signals and future states, it currently acts as a memory and prediction system rather than an active policy driver for real-time embodied robot control. Expanding the framework to close the loop with reinforcement learning or decision-making is a natural next step.

Summary updated

BibTeX
@misc{li2025towards,
  author = {Chong Li and Taiping Zeng and Xiangyang Xue and Jianfeng Feng},
  title = {{Towards a Vision-Language Episodic Memory Framework: Large-scale Pretrained Model-Augmented Hippocampal Attractor Dynamics}},
  year = {2025},
  eprint = {2505.04752},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2505.04752},
  howpublished = {arXiv},
}
Figure