{
  "id": "language-model-sleep",
  "code": "PTL-0267",
  "term": "Language Model Sleep",
  "aliases": [
    "sleep framework",
    "sleep paradigm",
    "knowledge seeding"
  ],
  "category": "optimization",
  "definition": "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.",
  "example": null,
  "broader": [],
  "narrower": [],
  "related": [
    "sleep-time-compute",
    "dreaming",
    "knowledge-distillation",
    "agent-memory",
    "kv-cache",
    "fine-tuning"
  ],
  "introduced": 2025,
  "added": "2026-11-27",
  "sources": [
    {
      "title": "Language Models Need Sleep: Learning to Self-Modify and Consolidate Memories",
      "authors": "Behrouz et al.",
      "year": 2026,
      "url": "https://arxiv.org/abs/2606.03979"
    },
    {
      "title": "The sleep framework: A new way for LLMs to retain knowledge in continual learning",
      "authors": "Behrouz and Mirrokni (Google Research)",
      "year": 2026,
      "url": "https://research.google/blog/the-sleep-framework-a-new-way-for-llms-to-retain-knowledge-in-continual-learning/"
    },
    {
      "title": "Do Language Models Need Sleep? Offline Recurrence for Improved Online Inference",
      "authors": "Lee et al.",
      "year": 2026,
      "url": "https://arxiv.org/abs/2605.26099"
    }
  ],
  "url": "https://protologue.com/t/language-model-sleep/",
  "citation": "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/"
}