Reproduce “Sleep-time Compute: Beyond Inference Scaling at Test-time” on OpenResearch
Turn your favorite coding agents into research agents that review literature, develop hypotheses, and run experiments.
Universal app for Apple silicon and Intel. Requires macOS 11 or later.
About this paper
Kevin Lin, Charlie Snell, Yu Wang, Charles Packer, Sarah Wooders, Ion Stoica, Joseph E. Gonzalez
This paper introduces 'sleep-time compute,' a method for optimizing Large Language Model inference by pre-computing insights about persistent contexts during idle periods. The approach reduces test-time compute by approximately 5 times for similar accuracy on reasoning tasks and decreases average query cost by up to 2.5 times when amortized across multiple queries over the same context.
Key insights
- Query predictability from context strongly correlates with the effectiveness of sleep-time compute, as the accuracy gap widens for more predictable questions.
- Scaling compute during sleep-time (e.g., through parallel generations) consistently improves performance on harder tasks with stronger models, leading to gains of 13-18% accuracy at similar test-time budgets.
- Sleep-time compute is particularly beneficial at lower test-time budgets, where it significantly reduces the test-time compute needed for a given accuracy level.
Summary by alphaXiv.
Tip: change arxiv.org to autoarxiv.org in any arXiv abstract link to open the paper here.