atlas

Research map / Architectures and efficiency / Attention and transformers

Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference

NeurIPS 2025 · Architectures and efficiency › Attention and transformers · approach: KV cache eviction and compression · 3 citations (OpenAlex)

Read the paperCheck your idea against 108,967 papers

AI-extracted summary. Written by AI from the paper's full text. Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.

Proposes Ada-KV, a head-wise adaptive budget allocation for top-k KV cache eviction that is plug-and-play with SnapKV and Pyramid, evaluated on Ruler and LongBench under question-aware and question-agnostic settings.

Problem

KV cache eviction methods allocate budgets uniformly across attention heads, ignoring heads' differing attention concentration, which wastes budget and increases eviction loss for long-context LLM inference.

Approach

Derive an upper bound on L1 eviction loss between pre- and post-eviction attention outputs, show top-k eviction minimizes it for a given allocation, and allocate per-head budgets by globally selecting the top-B attention weights across heads and counting selections per head (with a safeguard alpha=0.2).

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
Add adaptive head-wise budget allocation to SnapKVSnapKV · Ruler 16K, question-agnostic, 80% cacheaverage score: 87.59 -> 92.67Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · Ruler 16K, question-agnostic, 20% cacheaverage score: 44.02 -> 53.29Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · Ruler 16K, question-agnostic, 80% cache, S-NIAH-3score: 62.4 -> 97.6Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · Ruler 16K, question-agnostic, 80% cache, MK-NIAN-2score: 85.2 -> 99.6Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · LongBench, question-aware, budget 2048average score: 49.09 -> 49.15Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · LongBench, question-agnostic, 20% cache, averageaverage score: 41.29 -> 42.87Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · LongBench, question-agnostic, 40% cache, averageaverage score: 45.52 -> 46.24Helped
Add adaptive head-wise budget allocation to SnapKVSnapKV · LongBench, question-agnostic, 10% cache, Syntheticscore: 36.50 -> 34.88Hurt
Set safeguard α to 0 instead of 0.2 (ablation)Ada-SnapKV · LongBench, question-aware, budget 128average score: 35.48 -> 35.69Helped
Set safeguard α to 0 instead of 0.2 (ablation)Ada-SnapKV · LongBench, question-aware, budget 1024average score: 41.61 -> 41.44Hurt
Increase safeguard α from 0.2 to 0.5 (ablation)Ada-SnapKV · LongBench, question-aware, budgets 128, 256, 512, and 1024average score: 35.48 -> 35.2; 38.61 -> 38.46; 40.58 -> 40.66; 41.61 -> 41.62Mixed
Transfer compression from question-aware to question-agnosticSnapKV · LongBench, Llama-3.1-8B-Instruct, budget 2048average score: 49.09 -> 42.86Hurt

Surprising findings

Limitations

Experimental setup

Datasets: Ruler LongBench

Benchmarks: Ruler LongBench

Metrics: average score peak memory decoding latency

Baselines: SnapKV Pyramid StreamingLLM DuoAttention HeadKV

Builds on: SnapKV PyramidKV StreamingLLM H2O FlashAttention-2

Closest papers by meaning

Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy