mlsanityData to 24 Nov 2026

Sample-Efficient In-Context Adaptation via Sleep

arXiv 2611.32802 ↗Submitted 24 Nov 2026Announced 25 Nov 2026cs.LG cs.AI cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

The ability to learn and generalize from limited experience, or sample efficiency, is a cornerstone of intelligence. How can we build language models that turn a few user interactions, a few snippets of unfamiliar code, or a handful of experimental results provided in context into knowledge that generalizes? Prior work has found that sleep, a process where the model performs N recurrent forward passes to refine its representations of a chunk of context, can improve long-context reasoning (specifically, within SSM-attention hybrid models). We study whether this method also improves in-context adaptation on general, non-synthetic tasks for transformer language models. To this end, we pre-train language models up to 1.2B-parameters on up to 100B tokens with sleep mechanisms. Notably, longer sleep (i.e., using a larger number of recurrent forward passes N) enables the model to learn faster in-context on multiple few-shot algorithmic, question-answering tasks, while also achieving lower next-token prediction loss on out-of-distribution evaluations. On held-out code, models with N=2 and N=4 match the no-sleep baseline's loss using 2.10× and 2.39× fewer tokens in-context, respectively. More broadly, we view our work as a step toward building models that have better tradeoffs between in-context adaptation and decoding latency.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 70 of its 89 references that are in the map. Submitted 24 Nov 2026, announced 25 Nov 2026.

Builds on

70 of 89 references.

References · 70

  1. 2017Attention Is All You Needcited by 62,125
  2. 2020Language Models are Few-Shot Learnerscited by 33,113
  3. 2020Scaling Laws for Neural Language Modelscited by 7,118
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,433
  5. 2017Model-Agnostic Meta-Learning for Fast Adaptation of Deep Networkscited by 4,967
  6. 2014Sequence to Sequence Learning with Neural Networkscited by 3,042
  7. 2024Qwen2 Technical Reportcited by 2,293
  8. 2020GLU Variants Improve Transformercited by 2,000
  9. 2019Dream to Control: Learning Behaviors by Latent Imaginationcited by 1,786
  10. 2018World Modelscited by 1,662
  11. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
  12. 2022In-context Learning and Induction Headscited by 1,085
38 more
  1. 2023Quantifying Language Models' Sensitivity to Spurious Features in Prompt Design or: How I learned to start worrying about prompt formattingcited by 916
  2. 2024Phi-4 Technical Reportcited by 795
  3. 2018Universal Transformerscited by 769
  4. 2022Transformers learn in-context by gradient descentcited by 763
  5. 2026GLM-5: from Vibe Coding to Agentic Engineeringcited by 740
  6. 2018CoQA: A Conversational Question Answering Challengecited by 699
  7. 2024Gated Delta Networks: Improving Mamba2 with Delta Rulecited by 690
  8. 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
  9. 2016Adaptive Computation Time for Recurrent Neural Networkscited by 578
  10. 2025Muon is Scalable for LLM Trainingcited by 555
  11. 2016RL2: Fast Reinforcement Learning via Slow Reinforcement Learningcited by 528
  12. 2025Scaling up Test-Time Compute with Latent Reasoning: A Recurrent Depth Approachcited by 526
  13. 2024DataComp-LM: In search of the next generation of training sets for language modelscited by 463
  14. 2023Scaling Data-Constrained Language Modelscited by 443
  15. 2023Larger language models do in-context learning differentlycited by 436
  16. 2025SmolLM2: When Smol Goes Big -- Data-Centric Training of a Small Language Modelcited by 415
  17. 2016Learning to reinforcement learncited by 396
  18. 2023Function Vectors in Large Language Modelscited by 353
  19. 2023The Impact of Positional Encoding on Length Generalization in Transformerscited by 348
  20. 2023In-Context Learning Creates Task Vectorscited by 337
  21. 2025Reasoning with Latent Thoughts: On the Power of Looped Transformerscited by 303
  22. 2019Depth-Adaptive Transformercited by 256
  23. 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 249
  24. 2025Scaling Latent Reasoning via Looped Language Modelscited by 241
  25. 2022Will we run out of data? Limits of LLM scaling based on human-generated datacited by 209
  26. 2025Mixture-of-Recursions: Learning Dynamic Recursive Depths for Adaptive Token-Level Computationcited by 189
  27. 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
  28. 2023Beyond Chinchilla-Optimal: Accounting for Inference in Language Model Scaling Lawscited by 172
  29. 2019Benchmarking Natural Language Understanding Services for building Conversational Agentscited by 171
  30. 2024How to Train Long-Context Language Models (Effectively)cited by 168
  31. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 163
  32. 2021Can You Learn an Algorithm? Generalizing from Easy to Hard Problems with Recurrent Networkscited by 128
  33. 2022General-Purpose In-Context Learning by Meta-Learning Transformerscited by 112
  34. 2024Understanding Emergent Abilities of Language Models from the Loss Perspectivecited by 107
  35. 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 102
  36. 2024Transformers, parallel computation, and logarithmic depthcited by 92
  37. 2026Parcae: Scaling Laws For Stable Looped Language Modelscited by 92
  38. 2026Attention Residualscited by 79

50 most cited of 70 All 70 (JSON)

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Learning, Fast and Slow: Towards LLMs That Adapt Continually
  2. 2026Learning to Forget: Sleep-Inspired Memory Consolidation for Resolving Proactive Interference in Large Language Models
  3. 2026Summarize Before You Speak with ARACH: A Training-Free Inference-Time Plug-In for Enhancing LLMs via Global Attention Reallocation
  4. 2025PERK: Long-Context Reasoning as Test-Time Learning
  5. 2026TransMem: Transforming Hidden States into Memory for Large Language Models
  6. 2026Titan-Llama: Retrofitting Pre-trained LLMs with External Neural Memory Modules
  7. 2025Illusion or Algorithm? Investigating Memorization, Emergence, and Symbolic Processing in In-Context Learning
  8. 2026Learning When to Attend: Conditional Memory Access for Long-Context LLMs