mlsanityData to 24 Nov 2026

PeekKV: The First Content Token Already Knows Which Heads Matter

arXiv 2610.23939 ↗Submitted 8 Oct 2026cs.LG cs.AIcited by 0

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

Abstract (arXiv)

The size of the KV cache grows linearly with context length, making it a major memory bottleneck in LLM serving. Motivated by recent progress in identifying the functional roles of attention heads, a growing body of work compresses the KV cache non-uniformly across heads. Existing methods either fix the important heads via offline profiling or select them using attention signals from the prefill stage. In both cases, however, accuracy fluctuates substantially across workloads. While investigating the cause of this instability, we find that the active heads shift between the prefill and decode stages even within a single input. Along the decode path, by contrast, the activehead composition remains stable across content tokens once format tokens are filtered out. Based on this observation, we propose PeekKV. PeekKV observes a single content token immediately after prefill - a one-token peek - to jointly obtain head-group scores and token-importance scores. Guided by these scores, PeekKV allocates KV cache budgets to head groups in proportion to their group scores and retains only the top-scoring tokens within each budget. PeekKV requires no offline profiling or training and thus applies directly to unseen workloads and new models. Across four public benchmarks, PeekKV achieves the highest accuracy in more than half of the per-model comparisons against state-of-the-art methods, and stays closest to the full-cache accuracy on RULER and LongBench. On Llama-3.1-8B-Instruct, PeekKV retains 95.7% of the full-cache accuracy at a 10% memory budget on RULER with 16K contexts and 95.9% at a 1.5% budget on LongBench.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 16 of its 24 references that are in the map. Submitted 8 Oct 2026.

Builds on

16 of 24 references.

Closest ancestors · 10

Same direction, newest first

  1. 2025CAOTE: KV Cache Selection for LLMs via Attention Output Error-Based Token Eviction18 Apr
  2. 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective6 Feb
  3. 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec
  4. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct
  5. 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
  6. 2024When Attention Sink Emerges in Language Models: An Empirical View14 Oct
  7. 2024ThinK: Thinner Key Cache by Query-Driven Pruning30 Jul
  8. 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads22 Jul
  9. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
  10. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr

Other references · 6

  1. 2024The Llama 3 Herd of Modelscited by 16,113
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  3. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
  4. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
  5. 2022In-context Learning and Induction Headscited by 1,085
  6. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2026Minima-KV: Retention-Preserving KV Cache Compression with Mixed-Format Paged Attention
  2. 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters
  3. 2026Adaptive Filtering of the KV Cache: Diagnosing and Correcting Structural-Role Bias in LLM Inference
  4. 2025FlexiCache: Leveraging Temporal Stability of Attention Heads for Efficient KV Cache Management
  5. 2025Task-KV: Task-aware KV Cache Optimization via Semantic Differentiation of Attention Heads
  6. 2026Folding Attention Biases into Keys Makes Compacted KV Caches Run on Standard Kernels
  7. 2026Transactional Attention: Semantic Sponsorship for KV-Cache Retention
  8. 2026WakeKV: Reactive, Reversible KV Residency for Heads That Change Their Minds