Metraipolis › archive › dc_119c1b2065e3

The KV Cache Is the New Memory Wall — arXiv:2609.30854

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.30854
License (as archived)
CC0-1.0
Archived
2026-10-08T02:04:51.615Z
SHA-256 of the archived text
41d5e56b6b0da5010aaf9cf6cb377e897cb2b00c0a3fd3325adcef01786592d6
Stable URL of this page
https://metraipolis.com/documento/dc_119c1b2065e3

How to cite

The KV Cache Is the New Memory Wall — arXiv:2609.30854 — arXiv (en), https://arxiv.org/abs/2609.30854 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_119c1b2065e3 (Metraipolis archive dc_119c1b2065e3, sha256 41d5e56b6b0da5010aaf9cf6cb377e897cb2b00c0a3fd3325adcef01786592d6)
BibTeX
@misc{dc119c1b2065e3,
  title = {The KV Cache Is the New Memory Wall — arXiv:2609.30854},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.30854},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_119c1b2065e3; sha256 41d5e56b6b0da5010aaf9cf6cb377e897cb2b00c0a3fd3325adcef01786592d6},
  year = {2026}
}

Archived text

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

Autoregressive LLM inference at long context is bounded by memory bandwidth, not arithmetic throughput, and the binding resource shifts from model weights to the Key-Value (KV) cache as sequence length grows. For Llama-3-70B in BF16, the 140 GB weight footprint exceeds the 80 GB HBM of a single accelerator, and one 128k-token sequence adds 42 GB of KV cache. Techniques that compress, evict, page, share, or offload KV state have proliferated, but reported gains use inconsistent workloads, hardware, and quality metrics, preventing cross-paper comparison. This SoK paper unifies the field analytically, with a protocol that strictly separates derived and reported claims. We derive closed-form arithmetic intensity as a decaying function of context length, parameterized by hardware topology for NVIDIA H100, NVIDIA B200, and AMD MI300X, including per-die bandwidth partitioning and the crossover lengths where KV traffic overtakes weight traffic. We classify the literature into five domains, quantization, token eviction, KV paging, prefix caching, and heterogeneous tiering, evaluating one method per domain at 128k context under a single protocol. The central finding is a three-regime structure: below a hardware-specific crossover, weight traffic dominates and KV compression yields negligible speedup; beyond it, KV traffic dominates and each domain trades quality for bandwidth savings approaching the roofline bound. Paging and prefix sharing are lossless but address capacity, not bandwidth. Quantization and eviction cut bandwidth directly, with degradation that accelerates below 4-bit precision and turns discontinuous for eviction on position-sensitive tasks. Tiering converts the bandwidth wall into an interconnect problem bounded by PCIe or NVLink rather than HBM. We close with design rules for selecting a compression domain given hardware, context length, and quality budget.

Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-09-28 in cs.DC).
Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC) ; Machine Learning (cs.LG); Performance (cs.PF).
Pagina del lavoro: https://arxiv.org/abs/2609.30854 — 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-08T01:40:22.287Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-09-28?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).