Metraipolis › archive › dc_1dd46027a7d0
CompKV: Compensation-Aware KV Selection for Long-Context LLM Inference — arXiv:2609.26300
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.26300
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-08T13:47:04.993Z
- SHA-256 of the archived text
5cbaca3a2cd960a7fe41de3ab728c6e497259753f04daea87d11d2c7a3e78a27- Stable URL of this page
https://metraipolis.com/documento/dc_1dd46027a7d0
How to cite
CompKV: Compensation-Aware KV Selection for Long-Context LLM Inference — arXiv:2609.26300 — arXiv (en), https://arxiv.org/abs/2609.26300 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_1dd46027a7d0 (Metraipolis archive dc_1dd46027a7d0, sha256 5cbaca3a2cd960a7fe41de3ab728c6e497259753f04daea87d11d2c7a3e78a27)
BibTeX
@misc{dc1dd46027a7d0,
title = {CompKV: Compensation-Aware KV Selection for Long-Context LLM Inference — arXiv:2609.26300},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.26300},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_1dd46027a7d0; sha256 5cbaca3a2cd960a7fe41de3ab728c6e497259753f04daea87d11d2c7a3e78a27},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.26300. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Despite their strong performance, large language models (LLMs) are bottlenecked by KV cache memory traffic during long-context inference. Sparse attention is widely used to accelerate LLM inference by computing exact attention over a selected subset of tokens. To recover the contribution of tokens excluded from exact attention, recent methods apply coarse-grained compensation to the omitted attention tail. However, existing methods typically select tokens based on attention mass and only then compensate for the unselected tokens. This decoupled design overlooks their interaction: selection should prioritize tokens that would leave the largest compensation error if omitted. To address this limitation, we introduce CompKV, the first compensation-aware sparse attention framework that divides tokens into blocks and explicitly optimizes selection for the downstream compensation mechanism. Our theoretical analysis shows that the residual left by block-level mean compensation is governed by both block attention mass and within-block logit variation. We approximate this residual using compact block-level statistics, yielding a deployable selection criterion. We further develop an efficient asynchronous implementation. Experiments on RULER and LongBench-Pro show that CompKV performs best among the evaluated sparse baselines while delivering up to a $6.85\times$ self-attention speedup over full attention. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-23 in cs.AI). Categorie arXiv: Machine Learning (cs.LG) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.26300 — 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-08T13:18:38.304Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-23?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).