ResidualQuant compresses Looped Transformer KV cache: 80% less memory, 3-4x decode throughput
sehoonkim418 · x · 2026-10-12
- The problem: Looped Transformers reuse weights across loops for extra compute, but each loop produces its own K/V states, so KV cache grows linearly with loop count — the chart shows Ouro-1.4B (8,192 tokens, 24 layers) hitting 103.1 GB of KV memory at 4 loops with batch 16, vs just 2.87 GB of weights. Longer contexts and larger batches amplify the cost, limiting concurrency.
- ResidualQuant: Since KV states are highly similar across loops, it uses the final loop as a shared 4-bit anchor and stores each loop's residual difference in just 2 bits; reconstruction is simply anchor + residual.
- Results: Residuals have fewer outliers and quantize cleanly, preserving BF16-level accuracy with 80% less KV storage and 3-4x peak decode throughput.
More from Infra
- NVIDIA details Kyber Galaxy orbital data center racks: 3.6 exaflops NVFP4 per satellite for SpaceX — sudoraohacker · 2026-12-02
- Export controls may widen US-China AI gap by only 2-3 months, argues analyst — kevinnbass · 2026-12-02
- Amazon Ergo enters most attractive quadrant at $1.64 per Intelligence Index task — ArtificialAnlys · 2026-12-02
- Amazon Ergo takes open-weights crown: 38 on AA Index, 1.1T params (55B active) — ArtificialAnlys · 2026-12-02
- 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