Metraipolis › archive › dc_0ab57b794dbc

Page-EntroKV: Hardware-Aligned, Entropy-Weighted KV-Cache Eviction under Grouped-Query Attention — arXiv:2610.03135

Source
arXiv
Original
https://arxiv.org/abs/2610.03135
License (as archived)
CC0-1.0
Archived
2026-10-05T23:10:10.255Z
SHA-256 of the archived text
1faecb91e218d633f8b611d269313e48047f644efdf848e49b40eb10e3870c76
Stable URL of this page
https://metraipolis.com/documento/dc_0ab57b794dbc

How to cite

Page-EntroKV: Hardware-Aligned, Entropy-Weighted KV-Cache Eviction under Grouped-Query Attention — arXiv:2610.03135 — arXiv, https://arxiv.org/abs/2610.03135 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0ab57b794dbc (Metraipolis archive dc_0ab57b794dbc, sha256 1faecb91e218d633f8b611d269313e48047f644efdf848e49b40eb10e3870c76)
BibTeX
@misc{dc0ab57b794dbc,
  title = {Page-EntroKV: Hardware-Aligned, Entropy-Weighted KV-Cache Eviction under Grouped-Query Attention — arXiv:2610.03135},
  howpublished = {arXiv},
  url = {https://arxiv.org/abs/2610.03135},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0ab57b794dbc; sha256 1faecb91e218d633f8b611d269313e48047f644efdf848e49b40eb10e3870c76},
  year = {2026}
}

Archived text

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

Serving long-context autoregressive language models is constrained by the key-value (KV) cache. Most dynamic eviction methods score token importance per query head and choose tokens independently. This fits poorly with grouped-query attention (GQA), where several query heads share one physical KV buffer: divergent per-head selections force the serving engine to retain the union of their choices - inflating the cache by up to the group ratio r - while arithmetic mean pooling dilutes the specialized retrieval heads that carry factual recall. We introduce Page-EntroKV, a formal framework for KV-cache eviction operating at the granularity GQA serving actually allocates. Heads within each physical group are pooled by weights derived from sink-isolated collision (Renyi-2) entropy - one inner product per head, computed once at prefill with no calibration - so sink heads cannot masquerade as retrieval heads. Pooled scores are projected onto PagedAttention page frames, and eviction executes at the hardware tuple (layer, group, page). We formalize the union overhead ratio (UOR) and intra-group disagreement, prove an exact identity linking them for two-head groups alongside two-sided bounds at every group ratio, prove strict budget preservation and a finite-context needle-retention bound that arithmetic mean pooling provably violates, and give exact per-layer page accounting. On a pilot architecture (Qwen2.5-1.5B-Instruct, r=6), head-independent replay over 2,240 group measurements yields union overhead up to 4.75x at a 2% budget, while Page-EntroKV holds UOR exactly 1.000; sink isolation removes a 13x sink masquerade; needle recall is 100% versus 0% for mean pooling at a 20% budget; retained cardinality is exact for every page size; and QA and code tasks remain solvable at 20% retention.

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.03135 — 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-05T23:01:38.674Z dalla pagina https://arxiv.org/list/cs.LG/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).