bioRxivNeurosciencePreprint
A complementary learning system for continual episodic memory in large language models
Abstract
Humans retain memories of individual experiences for a lifetime, an ability attributed to a complementary learning system in which a fast process encodes episodes and a slow process integrates them into semantic knowledge. In classical Hebbian models such as Hopfield networks, memory traces are superposed in shared weights. This makes learning naturally continual but causes strong interference among correlated memories, a failure that reappears as catastrophic forgetting in deep networks. Here we use a large language model as a model system for continual episodic memory, with its pretrained weights supplying the semantic context in which new episodes are embedded. Fast learning is implemented by a hippocampus-like module that assigns each episode to a dedicated, extremely sparse low-rank adapter; competitive gating then selects among these separated traces during recall. Across streams of up to 1,000 factual and autobiographical episodes, each adapter requires only 2-3 parameters per token while preserving excellent recall. An internal retrieval-augmented generation mechanism reconstructs the selected episode in context and supports high-accuracy question answering over stored memories. Finally, slow cortical consolidation is modeled by fine-tuning the base weights through batch replay, enabling reconstruction and direct question answering without episodic adapters. Together, fast storage and slow consolidation implement both components of a complementary learning system within a single language model, yielding a neural-network model that stores, recalls, and consolidates naturalistic episodic memories, thereby capturing key functional features of human memory.
- Citations
- 0
Reproducibility ledger
Nobody has reported trying to reproduce this paper yet. Did you replicate an experiment or run the code? Your report saves the next lab a week.
Sign in to file a reproducibility report.
Related papers
- Learning distributed representations with complementary components - A generative approximation framework for episodic memory encoding
Hao Liu, Marcelo Mattar, Sebastian Michelmann·bioRxiv·Oct 23, 2026
- A model of bidirectional interactions betweencomplementary learning systems for memoryconsolidation of sequential experiences
Michael D. Howard, Steven W. Skorheim, Praveen K. Pilly·Frontiers in Systems NeurosciencePeer-reviewed·Oct 13, 2022
- Hippocampo-neocortical interaction as compressive retrieval-augmented generation
Eleanor Spens, Neil Burgess·Nature CommunicationsPeer-reviewed·Jun 25, 2026
- A neural network with key-value episodic memory retrieves and organizes memories based on causal event structures
Hayoung Song, Qihong Lu, … Jeffrey M. Zacks·bioRxiv·Sep 1, 2025
- A Generative Model of Memory Construction and Consolidation
Eleanor Spens, Neil Burgess·Nature Human BehaviourPeer-reviewed·Jan 19, 2024
- Learning a shared vocabulary between episodic and semantic memory enhances recall and compositional consolidation
Albert Albesa-González, Claudia Clopath A·bioRxiv·Oct 3, 2025