How ResidualQuant works: share a 4-bit anchor, store each loop's KV residual in 2 bits
sehoonkim418 · x · 2026-10-12
- Technical follow-up on ResidualQuant. Key insight: KV states across loops are highly similar; naively quantizing each to low bits loses too much information, but reconstructing one loop from another leaves residuals with fewer outliers that are much easier to represent in few bits.
- The method (two steps per the diagram): (1) use the final loop's KV as a shared anchor and subtract it from each loop to get its residual; (2) store the anchor in INT4 and each residual in INT2, reconstructing by addition.
- Combined with the earlier post: BF16-level accuracy preserved with 80% less KV storage and 3-4x peak decode throughput.
More from Infra
- Nearly a third of WordPress sites run PHP with no security fixes; half by January 1 — JeremyCMorgan · 2026-12-02
- Data center water panic traced to botched numbers: key figure off by 1,000x — ATTlKA · 2026-12-02
- NVIDIA and SpaceX unveil Kyber Galaxy, a space-based AI supercomputer with 72 Rubin GPUs — elonmusk · 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