Metraipolis › archive › dc_71633704b701
Discovering KV Cache Eviction Policies via LLM-Guided Program Evolution — arXiv:2608.14555
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.14555
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-18T19:01:57.233Z
- SHA-256 of the archived text
313b7aa2d9cd804a87d02429b9d0c739a69901c973e25f277c92c856392714f3- Stable URL of this page
https://metraipolis.com/documento/dc_71633704b701
How to cite
Discovering KV Cache Eviction Policies via LLM-Guided Program Evolution — arXiv:2608.14555 — arXiv (en), https://arxiv.org/abs/2608.14555 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_71633704b701 (Metraipolis archive dc_71633704b701, sha256 313b7aa2d9cd804a87d02429b9d0c739a69901c973e25f277c92c856392714f3)
BibTeX
@misc{dc71633704b701,
title = {Discovering KV Cache Eviction Policies via LLM-Guided Program Evolution — arXiv:2608.14555},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.14555},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_71633704b701; sha256 313b7aa2d9cd804a87d02429b9d0c739a69901c973e25f277c92c856392714f3},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.14555. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
KV cache compression is critical for long-context inference, yet effective eviction policies remain difficult to design: existing prefill-stage methods often rely on hand-crafted salience heuristics that can be brittle across models, context lengths, and compression ratios. We present CacheCraft, a program-evolution methodology for automatically discovering KV cache eviction policies using an LLM-guided code-evolution engine. CacheCraft discovers FRC (Feature-Rich Compression), a fixed-weight three-signal scorer that combines local attention received, neighborhood attention density, and KV-head maximum salience with chunk-level top-k selection. Without per-model retuning, FRC ranks first among the evaluated single-pass KVPress baselines at every RULER 4k/8k cell with r >= 0.75 across Llama-3.1-8B-Instruct and Qwen3-8B (12 of 20 grid cells), gaining +15.4 points on Llama-4k and +13.9 points on Qwen-8k at 88% compression. A scorer-versus-structure decomposition shows that the scoring family, not chunk selection, is the load-bearing design choice: incorporating the scorer contributes +67.2 RULER points, while improving chunk structure contributes only ~0.1. Beyond FRC itself, CacheCraft provides a transferable recipe for automated eviction-policy discovery: a compact policy interface, a cascade evaluator with strict output invariants, and a diagnostic loop that treats search plateaus and reward-hacking failures as evidence for reformulating the editable interface. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-18 in cs.DC). Categorie arXiv: Distributed, Parallel, and Cluster Computing (cs.DC). Pagina del lavoro: https://arxiv.org/abs/2608.14555 — 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-18T18:07:16.054Z dalla pagina https://arxiv.org/catchup/cs.DC/2026-08-18?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).