Metraipolis › archive › dc_8b061295cf26

KV Cache Compression Through the Lens of Transform Coding — arXiv:2608.14191

Source
arXiv (en)
Original
https://arxiv.org/abs/2608.14191
License (as archived)
CC0-1.0
Archived
2026-10-19T02:28:01.405Z
SHA-256 of the archived text
9d8694a60b3aff137df4db4cc6eb86165fe62b17a877eb93878acbdf3c07eb95
Stable URL of this page
https://metraipolis.com/documento/dc_8b061295cf26

How to cite

KV Cache Compression Through the Lens of Transform Coding — arXiv:2608.14191 — arXiv (en), https://arxiv.org/abs/2608.14191 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_8b061295cf26 (Metraipolis archive dc_8b061295cf26, sha256 9d8694a60b3aff137df4db4cc6eb86165fe62b17a877eb93878acbdf3c07eb95)
BibTeX
@misc{dc8b061295cf26,
  title = {KV Cache Compression Through the Lens of Transform Coding — arXiv:2608.14191},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2608.14191},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_8b061295cf26; sha256 9d8694a60b3aff137df4db4cc6eb86165fe62b17a877eb93878acbdf3c07eb95},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.14191. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

The key-value (KV) cache stores information from past tokens and is a major memory bottleneck in long-context inference. Existing quantization methods address this bottleneck by representing the KV cache uniformly with lower-precision data types and designing quantization schemes to minimize reconstruction error in the cache itself, without accounting for how that error propagates through attention mechanisms. We prove that, under a white-noise quantization model, the expected attention-aware distortion decomposes into additive key and value contributions that factor across tokens and channels. Building on transform coding and reverse water-filling, which are classical tools from signal processing and rate-distortion theory, we introduce Attention-Aware Transform Coding (AATC), which allocates bits over a calibration set to minimize attention-aware distortion. On Llama-3.1-8B-Instruct and Qwen-2.5-7B-Instruct, evaluated across LongBench, RULER, GSM8K, MMLU-Pro, and MATH-500, our method achieves near-lossless accuracy at approximately $5.8\times$ compression, whereas each baseline degrades in at least some settings.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-08-17 in cs.CL).
Categorie arXiv: Machine Learning (cs.LG) ; Computation and Language (cs.CL); Signal Processing (eess.SP).
Pagina del lavoro: https://arxiv.org/abs/2608.14191 — 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-19T02:20:31.919Z dalla pagina https://arxiv.org/catchup/cs.CL/2026-08-17?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).