protologue

Language Model Sleep

Also called sleep framework, sleep paradigm, knowledge seeding.

Language model sleep is an approach to continual learning in which a model alternates between an active phase, when it processes inputs and holds new information in short-term memory such as its context, and an offline sleep phase, when it takes no new input and consolidates that information into its parameters.

Description

Behrouz, Hashemi, Javanmard and Mirrokni proposed a two-stage sleep paradigm in a paper publicly available since September 2025, which Google Research publicized as the "sleep framework" in October 2026. Its first stage, memory consolidation, moves short-term knowledge into the model's parameters, partly through what the authors call knowledge seeding, in which the memories of a smaller version of the model are distilled into a larger network. Its second stage, which the authors call dreaming, uses reinforcement learning to have the model generate a curriculum of synthetic data that rehearses new knowledge and refines existing skills. Google's blog post reports, as the authors' results, a near-zero performance drop when the model learned unseen languages in sequence and gains over supervised fine-tuning on knowledge-incorporation and math tasks. In separate work, Lee, McLeish, Goldstein and Fanti used a sleep phase in which a model converts recent context into persistent fast weights in its state-space blocks before clearing its key-value cache. Unlike sleep-time compute, which precomputes inferences about a context without changing weights, and unlike agent-memory dreaming, which reorganizes written notes, language model sleep updates the model's parameters.

Sources

  1. Behrouz et al. (2026). Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories.
  2. Behrouz and Mirrokni (Google Research) (2026). The sleep framework: A new way for LLMs to retain knowledge in continual learning.
  3. Lee et al. (2026). Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference.

Cite this entry

Protologue. (2026). Language Model Sleep. In Protologue: A Taxonomy of Prompting and LLM Techniques (v1.9.1, PTL-0267). https://protologue.com/t/language-model-sleep/

BibTeX
@misc{protologue_language_model_sleep,
  title = {Language Model Sleep},
  author = {{Protologue}},
  year = {2026},
  howpublished = {Protologue: A Taxonomy of Prompting and LLM Techniques, v1.9.1},
  note = {Entry PTL-0267},
  url = {https://protologue.com/t/language-model-sleep/}
}

Markdown JSON