Learning to Forget: Sleep-Inspired Memory Consolidation for Resolving Proactive Interference in Large Language Models
Not on the map. Why?
Abstract (arXiv)
Large language models (LLMs) suffer from proactive interference (PI): outdated information in the context window disrupts retrieval of current values. This interference degrades retrieval accuracy log-linearly as stale associations accumulate, a bottleneck that persists regardless of context length and resists prompt-engineering mitigations. Biological brains resolve an analogous challenge through sleep-dependent memory consolidation: synaptic downscaling, selective replay, and targeted forgetting. We propose SleepGate, a biologically inspired framework that augments transformer-based LLMs with a learned sleep cycle over the key-value (KV) cache. SleepGate introduces three mechanisms: (1) a conflict-aware temporal tagger detecting when new entries supersede old ones; (2) a lightweight forgetting gate trained to selectively evict or compress stale cache entries; and (3) a consolidation module that merges surviving entries into compact summaries. These components activate periodically during inference in sleep micro-cycles, governed by an adaptive entropy-based trigger. We formalize a dual-phase training objective jointly optimizing language modeling during the wake phase and post-consolidation retrieval during the sleep phase. Theoretical analysis shows SleepGate reduces the interference horizon from O(n) to O(log n). In experiments with a small-scale transformer (4 layers, 793K parameters), SleepGate achieves 99.5% retrieval accuracy at PI depth 5 and 97.0% at depth 10, while all five baselines -- full KV cache, sliding window, H2O, StreamingLLM, and decay-only ablation -- remain below 18%. Our framework offers an architecture-level solution that prompt engineering cannot address.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 20 of its 58 references that are in the map. First posted on arXiv 15 Mar 2026.
Builds on
20 of 58 references.
References · 20
- 2020Retrieval-Augmented Generation for Knowledge-Intensive NLP Taskscited by 9,160
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 5,767
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,616
- 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,383
- 2020Longformer: The Long-Document Transformercited by 3,362
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,175
- 2016Categorical Reparameterization with Gumbel-Softmaxcited by 2,708
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2019Generating Long Sequences with Sparse Transformerscited by 1,523
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,311
- 2024Transformers are SSMs: Generalized Models and Efficient Algorithms Through Structured State Space Dualitycited by 1,283
8 more
- 2021Improving language models by retrieving from trillions of tokenscited by 1,278
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2014Neural Turing Machinescited by 630
- 2023Retentive Network: A Successor to Transformer for Large Language Modelscited by 594
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
- 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
- 2022Memorizing Transformerscited by 219
- 2025Unable to Forget: Proactive Interference Reveals Working Memory Limits in LLMs Beyond Context Lengthcited by 18
Built on by
Citing papers per year: 2026: 6.
6 papers.
- 2026FSFM: A Biologically-Inspired Framework for Selective Forgetting of Agent Memorycited by 3
- 2026ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systemscited by 1
- 2026Compress and Forget: bitsandbytes Quantization Amplifies Proactive Interference in LLMscited by 1
- 2026Memory as Metabolism: A Design for Companion Knowledge Systemscited by 0
- 2026Beyond Memory Leaderboards: Evaluating Scientific Memory as Budgeted Context Restorationcited by 0
- 2026When Context Changes: Understanding Update Failures in LLMscited by 0
- 2026When Context Changes: Understanding Update Failures in LLMs30 Sep 2026
- 2026Compress and Forget: bitsandbytes Quantization Amplifies Proactive Interference in LLMs19 Aug 2026
- 2026Beyond Memory Leaderboards: Evaluating Scientific Memory as Budgeted Context Restoration18 Jul 2026
- 2026ZenBrain: A Neuroscience-Inspired 7-Layer Memory Architecture for Autonomous AI Systems26 Apr 2026
- 2026FSFM: A Biologically-Inspired Framework for Selective Forgetting of Agent Memory22 Apr 2026
- 2026Memory as Metabolism: A Design for Companion Knowledge Systems13 Apr 2026
Similar, not cited
Close in wording, no citation either way
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference
- 2026Memory Depth, Not Memory Access: Selective Parametric Consolidation for Long-Running Language Agents
- 2026CAMeR: Keyword-Gated Hybrid Activation for Adaptive Memory Retention in LLM Agents
- 2026Learning to Forget Attention: Memory Consolidation for Adaptive Compute Reduction
- 2026Forgetting in Language Models: Capacity, Optimization, and Self-Generated Replay
- 2025Forgetting as a Feature: Cognitive Alignment of Large Language Models
- 2026Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories
- 2026Verifiable Memory: Learning Unified Memory Management with Local and Global Verifiers for Large Language Model Agents