mlsanityData to 14 Oct 2026

Discovering KV Cache Eviction Policies via LLM-Guided Program Evolution

arXiv 2608.14555 ↗First posted 12 May 2026cs.DCcited by 0

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 18 of its 26 references that are in the map. First posted on arXiv 12 May 2026.

Builds on

18 of 26 references.

Closest ancestors · 11

Same direction, newest first

  1. 2026LookaheadKV: Fast and Accurate KV Cache Eviction by Glimpsing into the Future without Generation11 Mar
  2. 2026Learning to Evict from Key-Value Cache10 Feb
  3. 2025EvolKV: Evolutionary KV Cache Compression for LLM Inference10 Sep
  4. 2025PagedEviction: Structured Block-wise KV Cache Pruning for Efficient Large Language Model Inference4 Sep
  5. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May
  6. 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Query24 May
  7. 2024Locret: Enhancing Eviction in Long-Context LLM Inference with Trained Retaining Heads on Consumer-Grade Devices2 Oct
  8. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  9. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  10. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  11. 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep

Other references · 7

  1. 2024The Llama 3 Herd of Modelscited by 14,715
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  4. 2025AlphaEvolve: A coding agent for scientific and algorithmic discoverycited by 867
  5. 2022Efficiently Scaling Transformer Inferencecited by 539
  6. 2015Illuminating search spaces by mapping elitescited by 425
  7. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 379

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Behavior-Preserving KV Cache Compression
  2. 2025LAVa: Layer-wise KV Cache Eviction with Dynamic Budget Allocation
  3. 2025EVICPRESS: Joint KV-Cache Compression and Eviction for Efficient LLM Serving
  4. 2026KVDiagnosis: A Diagnostic Benchmark for KV-Cache Compression in Long-Context Language Models
  5. 2026Rethinking KV Cache Eviction via a Unified Information-Theoretic Objective
  6. 2026AvoKV-E: Payload-Aware KV Cache Eviction for Long Reasoning
  7. 2026When Does Value-Aware KV Eviction Help? A Fixed-Contract Diagnostic for Non-Monotone Cache Compression
  8. 2026LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Eviction