Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories
Summary
Sleep replaces train/test with wake/sleep: Knowledge Seeding distills a smaller self into newly unlocked lower-frequency CMS/MoE experts (on-policy GKD plus RL imitation), then Dreaming generates SEAL-style self-edits with a random extra expert. Nested Learning Hope backbone. Class-incremental CLINC/Banking/DBpedia; long-context RULER/LongHealth/QASPER; CTNL dual-language translation; BABILong; Qwen3-8B AIME-24 79.2 vs OPSD 76.6; SQuAD incorporation above SEAL; ARC few-shot 80% vs SEAL 72.5. No official code on the abs page.
- Venue
- arXiv / Google / Cornell
- Source
- arxiv
- Access
- free
- License
- CC BY 4.0
- License family
- Permissive
- Language
- en
- Purpose
- Add an offline sleep phase that consolidates short-term in-context memory into expanded long-term parameters and self-improves via dreaming
- Scale
- Llama-3B/8B and Qwen3-1.7B/8B; CLINC/Banking/DBpedia class-incremental; RULER/LongHealth/QASPER; BABILong to 10M tokens; SQuAD n=1 and CPT n=200; ARC 8 held-out tasks
- Used for
- Unknown
- Time period
- 2026-06-02 (arXiv 2606.03979 v1); authors note an OpenReview version from Sep 2025
- Author type
- human
- Added
- Aug 14, 2026
- Verified
- Aug 14, 2026
- Research status
- done
- Found via
- #random-papers
From the source
- Published
- Jun 2, 2026
- Last revised
- Jul 10, 2026
- arXiv categories
- cs.LG, cs.AI
- Author comment
- A version of this work has been publicly available from September 2025 on OpenReview
- Citations
- 3 (1 influential)
- References
- 139
Abstract (from 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.
Tags
Topics
continual learning, memory consolidation, nested learning
Research notes
- Primary: arxiv abs (CC BY 4.0, cs.LG). Google / Cornell; correspondence alibehrouz/adeljavanmard/mirrokni@google.com and sh2574@cornell.edu. Discord posted AlphaXiv 2606.03979; canonical abs recorded. HF paper page 29 upvotes, org google (HF author list omits Javanmard; arxiv list used). No official code on abs. Uses existing CLINC/Banking/DBpedia/SQuAD/ARC/RULER; no new standalone corpus, so no datasets_local row.
Cites, within this collection
Similar entries
- Paper Continual Learning via Sparse Memory Finetuning
- Paper Can a Language Model Learn Facts Continually in Its Weights?
- Post The Atlas Neuron (Arth Singh: continual learning with no backprop, no replay, no task labels)
- Paper Continual Graph Memory for Mathematical Research Agents
- Code Agent Memory Repo (Cognition) — open spec for persistent agent memory
- Paper Cadence: an architecture for a continuous and efficient stream of intelligence