Research Published here Reported by arXiv on

Prefix Sliding throws away most reasoning tokens and gets a 3× speedup with no retraining

A paper from Niklas Muennighoff and a long author list including Ludwig Schmidt, Percy Liang, Jason Wei, Andrew Ng, Luke Zettlemoyer, Yejin Choi, and Mike Lewis starts from an observation about long reasoning traces: most intermediate reasoning tokens stop mattering as the model keeps reasoning, so keeping them all in memory is waste. Prefix Sliding retains only the instruction prefix plus a sliding window of recent tokens and discards the middle. The reported results: a 3× speedup on existing models with no additional training, reasoning traces beyond 100,000 tokens when the model is trained with RL under the scheme, and better performance than both token summarization and a vanilla sliding window. The paper runs 28 pages with 22 figures.

Why it matters

Everyone doing long-horizon reasoning has been reaching for summarization as the compaction strategy, and this says the cheaper, dumber thing — keep the instructions, keep what is recent, drop the rest — beats it. Pin the prefix and the whole thing works, which is a strong hint that the instruction block is doing far more work across a long trace than the intermediate reasoning it produced. The 3× is training-free, which is what makes it worth an afternoon.

What to do

If you run extended-thinking workloads, this is testable today at the serving layer without touching weights — and it is directly at odds with the summarize-on-eviction approach, so run both against the same traces rather than assuming. Note the tension with last week's Scroll result, which argued for keeping the raw log addressable: dropping tokens is cheaper, indexing them is more faithful, and which wins depends on whether your tasks need to reach back into the middle.

Tags: Reasoning Inference Context Engineering Research

More from August 28, 2026

All AI news