Metraipolis › archive › dc_d81f148f7026
ResidualQuant: KV Cache Quantization for Looped Transformers with 2-Bit Residuals — arXiv:2610.10381
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2610.10381
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T12:36:25.304Z
- SHA-256 of the archived text
1fd3fed0663c54ffe957ac34d0ef6c72faf820171e9d88d1c7b3136b9d5cb88e- Stable URL of this page
https://metraipolis.com/documento/dc_d81f148f7026
How to cite
ResidualQuant: KV Cache Quantization for Looped Transformers with 2-Bit Residuals — arXiv:2610.10381 — arXiv (en), https://arxiv.org/abs/2610.10381 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_d81f148f7026 (Metraipolis archive dc_d81f148f7026, sha256 1fd3fed0663c54ffe957ac34d0ef6c72faf820171e9d88d1c7b3136b9d5cb88e)
BibTeX
@misc{dcd81f148f7026,
title = {ResidualQuant: KV Cache Quantization for Looped Transformers with 2-Bit Residuals — arXiv:2610.10381},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2610.10381},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_d81f148f7026; sha256 1fd3fed0663c54ffe957ac34d0ef6c72faf820171e9d88d1c7b3136b9d5cb88e},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2610.10381. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Looped Transformers improve parameter efficiency by repeatedly applying shared Transformer blocks over multiple recurrent loops, increasing computational depth without increasing the parameter count. However, KV cache memory still scales with the number of loops, becoming a key memory bottleneck that limits batch size and inference throughput. KV cache quantization can alleviate this bottleneck, but existing methods often suffer substantial accuracy degradation at aggressive low-precision regimes. We observe that looped Transformers offer a unique opportunity: KV states across loops are highly similar. Based on this observation, we propose ResidualQuant, which uses the final-loop KV states as a reference and represents the remaining loops with low-precision residuals. Our method further combines least-square scaling and rotations applied to the residuals, as well as loop-wise mixed precision, to enable accurate quantization down to INT2 while retaining efficient reconstruction. Across multiple looped Transformer models and mathematical reasoning and code generation benchmarks, ResidualQuant consistently improves the accuracy-memory tradeoff over state-of-the-art rotation-based KV quantization. In particular, our method retains accuracy close to BF16 under mixed-precision settings while reducing theoretical KV storage by 80.7%, achieving up to 13.0% higher accuracy than the rotation-based baseline at the same memory budget. On an RTX 5090, the reduced KV memory traffic improves fixed-batch decode throughput by up to 2.73x, while the smaller memory footprint enables up to 2x larger batches, improving peak throughput by up to 4.15x. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.LG, nuovi lavori del giorno). Categorie arXiv: Machine Learning (cs.LG). Pagina del lavoro: https://arxiv.org/abs/2610.10381 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito). Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina. Letto il 2026-10-08T12:14:15.342Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).