Metraipolis › archive › dc_361871a21484
Verify Before You Fetch: Reliable KV Cache Compression for LLM Inference — arXiv:2611.11319
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.11319
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-10T18:41:20.757Z
- SHA-256 of the archived text
f423c4a38c1fcc38a915c1f9d5402fda8a43208ec80045f3880c3c54a3fc05e2- Stable URL of this page
https://metraipolis.com/documento/dc_361871a21484
How to cite
Verify Before You Fetch: Reliable KV Cache Compression for LLM Inference — arXiv:2611.11319 — arXiv (en), https://arxiv.org/abs/2611.11319 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_361871a21484 (Metraipolis archive dc_361871a21484, sha256 f423c4a38c1fcc38a915c1f9d5402fda8a43208ec80045f3880c3c54a3fc05e2)
BibTeX
@misc{dc361871a21484,
title = {Verify Before You Fetch: Reliable KV Cache Compression for LLM Inference — arXiv:2611.11319},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.11319},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_361871a21484; sha256 f423c4a38c1fcc38a915c1f9d5402fda8a43208ec80045f3880c3c54a3fc05e2},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.11319. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Long-context applications, long-lived agents, and multi-agent systems require large language models (LLMs) to process and retain extensive information. In these settings, the KV cache can exceed GPU high-bandwidth memory (HBM) capacity, necessitating offloading to host memory, where CPU-to-GPU transfers can dominate inference latency. While KV cache compression can reduce data movement, query-agnostic compression that guarantees accurate attention for arbitrary queries is extremely challenging, if not impossible. We introduce VerKV, a hybrid approach that provides $(\epsilon, \delta)$ guarantees for approximating attention on any given query. VerKV maintains a compact set of query-agnostic pivotal tokens on the GPU, together with a token-level sketch of the full KV cache, while retaining the complete cache in CPU memory. We introduce a novel stochastic sampling procedure, PoissonComp, to select the pivotal tokens. At inference time, our proposed KVFetch algorithm uses the pivotal tokens and the sketch to estimate the relative error of the resulting attention computation. If the estimate satisfies a user-specified $(\epsilon, \delta)$ tolerance, inference proceeds without accessing host memory. Otherwise, VerKV performs query-aware retrieval to fetch additional tokens from the CPU, refining the attention computation to meet the required tolerance. Thus, VerKV enables attention with bounded approximation error while minimizing CPU-to-GPU transfers. We show that PoissonComp outperforms state-of-the-art approaches to KV cache compression. Combined with KVFetch, it achieves near-dense performance (90-100% of dense quality at 32K context length, averaged over RULER and LOFT), using Qwen3-4B, Qwen3.5-9B and Ministral-3-8B, while reducing the GPU memory footprint by 8-32x and keeping CPU-to-GPU memory fetches within 2-23% of the cache per generated token, depending on the model. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2611.11319 — 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-11-10T18:37:37.511Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).