cd /news/large-language-models/prefix-sliding-for-efficient-test-ti… · home topics large-language-models article
[ARTICLE · art-112714] src=machinebrief.com ↗ pub= topic=large-language-models verified=true sentiment=· neutral

Prefix Sliding for efficient test-time scaling

Researchers propose Prefix Sliding, a method that discards intermediate reasoning tokens during test-time scaling, capping memory use and enabling existing models to run 3x faster without training while maintaining performance. Training with reinforcement learning allows scaling to reasoning traces beyond 100,000 tokens, and the code is available on GitHub.

read1 min views1 publishedAug 27, 2026

arXiv:2608.26070v1 Announce Type: new Abstract: Test-time scaling uses extra test-time compute to improve performance, such as letting language models reason longer when solving a problem. As models keep the entire reasoning trace in memory via full attention, hard tasks that need long thinking can be prohibitively expensive. However, we find most intermediate reasoning tokens lose importance as the model continues reasoning. This calls into question whether retaining them is worth the cost. Based on this insight, we propose Prefix Sliding, which discards tokens during reasoning that are not part of the prefix or the window of the last few thousand tokens. The prefix has key instructions and tools available to the model, while the most recent tokens are the current reasoning the model is working on. This caps the total memory requirement regardless of how long the model reasons, allowing for efficient long-horizon test-time scaling. Without training, Prefix Sliding can make existing models 3x faster while maintaining performance. Training with Prefix Sliding using reinforcement learning can achieve better performance by enabling scaling to reasoning traces beyond a hundred thousand tokens. Ablations show Prefix Sliding outperforms summarizing intermediate tokens or vanilla sliding window. Our code is at https://github.com/Muennighoff/prefix-sliding

── more in #large-language-models 4 stories · sorted by recency
── more on @prefix sliding 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
Live at https://your-agent.zahid.host
Get free account → Pricing
from €0/mo · no card required
LIVE [news/prefix-sliding-for-e…] indexed:0 read:1min 2026-08-27 ·