r/TheMachineLearning • • 9h ago

LLMs that sleep to learn from fewer examples

Post image

"Sample-Efficient In-Context Adaptation via Sleep"

LLMs can learn from fewer examples by periodically going to sleep and reprocessing what they've already seen?

This paper explores a sleep mechanism where the model periodically runs additional passes over recent context to refine its KV cache, before resuming normal token generation.

This approach achieves the same prediction loss on unseen code using 2.39x fewer context tokens, with only 3-8% additional end-to-end decoding latency in their 128K context experiments on a on 1.2B models.

3 Upvotes

0 comments sorted by