Loop-similar KV states leave low-outlier residuals, enabling cheap KV cache quantization
sehoonkim418 · x · 2026-10-12
Looping lets a model do more computation with the same weights, but each loop produces its own K/V states, so the KV cache grows with the number of loops — longer contexts and larger batches amplify the cost, limiting concurrency and increasing memory traffic during decoding.
The obvious fix, KV cache quantization, loses too much information at low bit widths. The opportunity: KV states are highly similar across loops. Reconstructing one loop's states from another leaves a residual with far fewer outliers, making it representable in just a few bits. The shared chart shows |K₁| and |K₂| nearly identical while the residual |K₂ − α₂K₁| collapses toward zero, supporting the approach.
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