atlas

Research map / Architectures and efficiency / Attention and transformers

RocketKV: Accelerating Long-Context LLM Inference via Two-Stage KV Cache Compression

ICML 2025 · Architectures and efficiency › Attention and transformers · approach: KV cache eviction and compression · 0 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 RocketKV, a training-free two-stage KV cache compression method (SnapKV eviction followed by hybrid sparse attention over head and sequence dimensions) for faster LLM decoding, plus a multi-turn variant RocketKV-MT.

Problem

KV cache size grows with context length during decoding, straining memory bandwidth and capacity; existing permanent eviction loses accuracy at low budgets and dynamic top-k selection keeps full storage and only saves traffic.

Approach

Chain a coarse permanent eviction stage (SnapKV with large pooling kernel, GQA-group-level selection) with a fine-grain dynamic top-k stage (hybrid sparse attention that approximates scores via reductions along both head and sequence dimensions), with an adaptive formula splitting the compression ratio between stages; RocketKV-MT retains evicted tokens for later turns.

Key results

Measured effects reported in the paper

What was changedWhereMeasuredEffect
combine first-stage SnapKV eviction with second-stage HSA instead of using HSA alone (ablation)RocketKV on LongBench · LongBench (Llama3.1-8B-Ins, token budget 256)average accuracy: 49.5 -> 51.1Helped
use HSA's reductions in both sequence and head dimensions rather than single-dimension Quest or SparQ approximations (ablation)Llama3.1-8B-Ins · LongBench and other evaluated benchmarksaccuracyHelped
use an adaptive compression split factor instead of a static split factor (ablation)RocketKV · Long-context benchmarks across sequence lengths and token budgetsaccuracyNo clear effect
retain the full KV history across turns instead of permanently evicting unselected tokens (ablation)RocketKV in multi-turn SCBench · SCBench multi-turn (Llama3.1-8B-Ins, token budget 1024)average accuracy: 26.6 -> 44.3Helped
use RocketKV-MT rather than RocketKV (ablation)Llama3.1-8B-Ins · SCBench multi-turnaverage accuracyMixed
use RocketKV rather than the Full-KV baseline during decodeLlama3.1-8B-Ins on NVIDIA A100 · Decode phaseend-to-end speedup: up to 3.7×Helped
use RocketKV rather than the Full-KV baseline during decodeLlama3.1-8B-Ins · Decode phasepeak memory saving: up to 32.6%Helped

Surprising findings

Limitations

Experimental setup

Datasets: LongBench Needle-in-a-Haystack RULER SCBench

Benchmarks: LongBench Needle-in-a-Haystack RULER SCBench

Metrics: accuracy end-to-end speedup peak memory reduction compression ratio

Baselines: Exact-TopK DuoAttention SnapKV Quest SparQ

Builds on: SnapKV Quest SparQ Ada-KV

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