Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories
Not on the map. Why?
Abstract (arXiv)
The past few decades have witnessed significant advances in the design of machine learning algorithms, from early studies on task-specific shallow models to more general deep Large Language Models (LLMs). Despite showing promising results in tasks that require instant prediction or in-context learning, existing models lack the ability to continually learn and effectively transfer their temporal in-context knowledge to their long-term parameters. Inspired by human learning process, we introduce a ''Sleep'' paradigm that allows the models to continually learn, distill their short-term fragile memories into stable long-term knowledge with replay, and recursively improve themselves with ''Dreaming'' process. In more detail, sleep consists of two stages: (1) Memory Consolidation: an upward distillation process, called Knowledge Seeding, where the memories of a smaller-self are distilled into a larger network to provide more capacity while preserving the knowledge. As a proof of concept, we present a new Generalized Distillation process for {Knowledge Seeding} (i.e., the combination of on-policy distillation with Reinforcement Learning (RL)-based imitation learning); (2) Dreaming: a self-improvement phase, where the model uses RL to generate a curriculum of synthetic data to rehearse new knowledge and refine existing capabilities without human supervision. Our experiments on long-horizon, continual learning, knowledge incorporation, and few-shot generalization tasks support the importance of the sleep stage.
Key facts. Cited by 2 papers in the map (data through 14 Oct 2026). Builds on 104 of its 139 references that are in the map. First posted on arXiv 2 Jun 2026.
Builds on
104 of 139 references.
References · 104
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
- 2015Distilling the Knowledge in a Neural Networkcited by 10,324
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
- 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,897
- 2016Overcoming catastrophic forgetting in neural networkscited by 4,787
- 2023Mamba: Linear-Time Sequence Modeling with Selective State Spacescited by 4,718
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2021Prefix-Tuning: Optimizing Continuous Prompts for Generationcited by 3,915
38 more
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2021The Power of Scale for Parameter-Efficient Prompt Tuningcited by 3,795
- 2020Transformers are RNNs: Fast Autoregressive Transformers with Linear Attentioncited by 2,022
- 2019Dream to Control: Learning Behaviors by Latent Imaginationcited by 1,653
- 2018World Modelscited by 1,513
- 2023MemGPT: Towards LLMs as Operating Systemscited by 1,389
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 940
- 2023On-Policy Distillation of Language Models: Learning from Self-Generated Mistakescited by 939
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 885
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 880
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 832
- 2016Sequence-Level Knowledge Distillationcited by 801
- 2018Recurrent World Models Facilitate Policy Evolutioncited by 785
- 2019Fast Transformer Decoding: One Write-Head is All You Needcited by 717
- 2024Phi-4 Technical Reportcited by 711
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
- 2023Are Emergent Abilities of Large Language Models a Mirage?cited by 523
- 2023VisionLLM: Large Language Model is also an Open-Ended Decoder for Vision-Centric Taskscited by 501
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 501
- 2021A Dataset of Information-Seeking Questions and Answers Anchored in Research Paperscited by 486
- 2026Self-Distilled Reasoner: On-Policy Self-Distillation for Large Language Modelscited by 455
- 2020Efficient Intent Detection with Dual Sentence Encoderscited by 433
- 2019An Evaluation Dataset for Intent Classification and Out-of-Scope Predictioncited by 386
- 2023LoraHub: Efficient Cross-Task Generalization via Dynamic LoRA Compositioncited by 364
- 2017Measuring Catastrophic Forgetting in Neural Networkscited by 360
- 2023Adapting Language Models to Compress Contextscited by 356
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 355
- 2023Beyond Human Data: Scaling Self-Training for Problem-Solving with Language Modelscited by 349
- 2026Reinforcement Learning via Self-Distillationcited by 332
- 2024Titans: Learning to Memorize at Test Timecited by 328
- 2024xLSTM: Extended Long Short-Term Memorycited by 327
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Headscited by 288
- 2023LLMLingua: Compressing Prompts for Accelerated Inference of Large Language Modelscited by 287
- 2024Long-context LLMs Struggle with Long In-context Learningcited by 286
- 2024PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Modelscited by 269
- 2026Self-Distillation Enables Continual Learningcited by 247
50 most cited of 104 All 104 (JSON)
Built on by
Citing papers per year: 2026: 2.
2 papers.
- 2026Discovery by Dreaming: Cross-Domain Recombination in Artificial Memorycited by 0
- 2026Self-Preservation in Language Modelscited by 0
- 2026Self-Preservation in Language Models8 Oct 2026
- 2026Discovery by Dreaming: Cross-Domain Recombination in Artificial Memory28 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Dream2Learn: Structured Generative Dreaming for Continual Learning
- 2026Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference
- 2022Towards biologically plausible Dreaming and Planning in recurrent spiking networks
- 2026Auto-Dreamer: Learning Offline Memory Consolidation for Language Agents
- 2026Learning to Forget: Sleep-Inspired Memory Consolidation for Resolving Proactive Interference in Large Language Models
- 2026The World Model Remembers, the Actor Forgets: Dream Rehearsal for Continual Model-Based RL
- 2026Why Fine-Tuning Encourages Hallucinations and How to Fix It
- 2025Toward Lifelong Learning in Equilibrium Propagation: Sleep-like and Awake Rehearsal for Enhanced Stability