Stanford's Prefix Sliding speeds up long reasoning by 3x
omarsar0 · x · 2026-08-31
Stanford researchers introduced Prefix Sliding, a new method to optimize test-time compute for long reasoning chains (CoT).
- Problem: Long reasoning traces require full attention, keeping the entire history in memory. This makes the hardest problems (which need the most thinking) the most expensive to run.
- Insight: Intermediate tokens steadily lose importance as the model continues reasoning.
- Solution: Prefix Sliding retains the prefix (instructions and available tools) and a sliding window of the last few thousand tokens, discarding everything in between. This caps total memory usage regardless of reasoning length.
- Results: Achieves a 3x speedup on existing models without any training, while matching full-attention performance.
More from Infra
- Jensen Huang warns the US risks repeating its "5G mistake" and losing the AI race to China — TinfoilTricorn · 2026-12-02
- Hyperscaler capex consensus keeps being redrawn upward, now at $1.2T — peterwildeford · 2026-12-02
- Netlify served 54B requests over Black Friday weekend, peaking at 249K rps — thisiskp_ · 2026-12-02
- Rumor: Tencent and ByteDance may have snapped up Envision's Xinghe Phase I, leaving DeepSeek no Huawei 950DT capacity — teortaxesTex · 2026-12-02
- RightNow Mini open-sourced: 729 tok/s on one GPU and 92/100 SWE-bench, zero weight changes — victormustar · 2026-12-02
- NVIDIA Sentry monitors AI agents and contains threats in milliseconds — nvidia · 2026-12-02