mlsanityData to 14 Oct 2026

LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Eviction

arXiv 2605.06676 ↗First posted 22 Apr 2026cs.LG cs.CLcited by 4

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

Abstract (arXiv)

Long-context inference in Large Language Models (LLMs) is bottlenecked by the linear growth of Key-Value (KV) cache memory. Existing KV cache compression paradigms are fundamentally limited by heuristics: heuristic budgeting relies on statistical priors rather than task objectives, causing resource misallocation, while heuristic selection relies on coupled query-key interactions or static inductive biases (e.g., attention sinks). To address this limitation, we introduce LKV (Learned KV Eviction), which formulates KV compression as an end-to-end differentiable optimization problem. LKV integrates LKV-H to learn task-optimized global budgets, and LKV-T to derive intrinsic KV importance without materializing attention matrices. This design bypasses heuristic proxies, strictly aligning compression with task objectives. Extensive evaluations demonstrate that LKV achieves state-of-the-art performance on both LongBench and RULER benchmarks at high compression rates. In particular, on LongBench, LKV achieves near-lossless performance with only 15% KV cache retention. Crucially, our analysis identifies learned budgeting as the dominant driver of fidelity, demonstrating that data-driven allocation is essential to overcome the limitations of hand-crafted heuristics.

Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 34 of its 39 references that are in the map. First posted on arXiv 22 Apr 2026.

Builds on

34 of 39 references.

Closest ancestors · 16

Same direction, newest first

  1. 2025Taming the Fragility of KV Cache Eviction in LLM Inference15 Oct
  2. 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution1 Oct
  3. 2025CAKE: Cascading and Adaptive KV Cache Eviction with Layer Preferences16 Mar
  4. 2025LLMs Know What to Drop: Self-Attention Guided KV Cache Eviction for Efficient Long-Context Inference11 Mar
  5. 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective6 Feb
  6. 2025Cache Me If You Must: Adaptive Key-Value Quantization for Large Language Models31 Jan
  7. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct
  8. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
  9. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  10. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  11. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  12. 2024PyramidInfer: Pyramid KV Cache Compression for High-throughput LLM Inference21 May
4 more
  1. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  2. 2024Keyformer: KV Cache Reduction through Key Tokens Selection for Efficient Generative Inference14 Mar
  3. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMs3 Oct
  4. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 18

  1. 2017Attention Is All You Needcited by 60,361
  2. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  3. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,455
  4. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
  5. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,417
  6. 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,346
  7. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
  8. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
  9. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 575
  10. 2022Efficiently Scaling Transformer Inferencecited by 539
  11. 2019Be Your Own Teacher: Improve the Performance of Convolutional Neural Networks via Self Distillationcited by 497
  12. 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 383
6 more
  1. 2023RepoCoder: Repository-Level Code Completion Through Iterative Retrieval and Generationcited by 367
  2. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 348
  3. 2025Layer by Layer: Uncovering Hidden Representations in Language Modelscited by 311
  4. 2024AI and Memory Wallcited by 92
  5. 2024500xCompressor: Generalized Prompt Compression for Large Language Modelscited by 47
  6. 2025Cache Me If You Can: How Many KVs Do You Need for Effective Long-Context LMs?cited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs
  2. 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
  3. 2026Reformulating KV Cache Eviction Problem for Long-Context LLM Inference
  4. 2026CompressKV: Semantic-Retrieval-Guided KV-Cache Compression for Resource-Efficient Long-Context LLM Inference
  5. 2024SqueezeAttention: 2D Management of KV-Cache in LLM Inference via Layer-wise Optimal Budget
  6. 2026Behavior-Preserving KV Cache Compression
  7. 2024ZigZagkv: Dynamic KV Cache Compression for Long-context Modeling based on Layer Uncertainty
  8. 2025BaKlaVa -- Budgeted Allocation of KV cache for Long-context Inference