RefineKV: Query-Adaptive KV Cache Compression via Attention-Error Bounds
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Repeatedly accessing the full key--value (KV) cache is a major bottleneck in long-context language model decoding. We find that small query-specific subsets can accurately approximate full attention, yet their union covers nearly the entire cache, motivating query-adaptive access for the KV cache. A natural approach is to split the KV cache into clusters, using compact representatives for clusters that incur negligible error while expanding the rest to their original KV entries. We derive a selection criterion from an upper bound on attention-output error, which reveals two complementary factors governing the error: importance measures the impact of a cluster, while distortion measures how faithfully the cluster can be represented. Based on this criterion, we propose RefineKV, a decoding-time query-adaptive KV compression method. Experiments on two models and three benchmarks demonstrate that RefineKV retains near-full-attention quality while achieving up to 7.6x speedup in the attention phase and 1.66x faster decoding, establishing a new quality-latency Pareto frontier.
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 24 of its 30 references that are in the map. Submitted 20 Nov 2026, announced 24 Nov 2026.
Builds on
24 of 30 references.
Closest ancestors · 12
Same direction, newest first
- 2026MomentKV: Closing the Directional Gap in KV Cache Eviction for Long-Context Inference1 Jun
- 2026Double-P: Hierarchical Top-P Sparse Attention for Long-Context LLMs5 Feb
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution1 Oct
- 2025CentroidKV: Efficient Long-Context LLM Inference via KV Cache Clustering13 Jun
- 2025WeightedKV: Attention Scores Weighted Key-Value Cache Merging for Large Language Models3 Mar
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
- 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
- 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Tasks11 Jul
- 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Models18 Jun
- 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters18 Jun
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
- 2024On the Efficacy of Eviction Policy for Key-Value Constrained Generative Language Model Inference9 Feb
Other references · 12
- 2017Attention Is All You Needcited by 62,125
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,810
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 5,132
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2023GQA: Training Generalized Multi-Query Transformer Models from Multi-Head Checkpointscited by 1,467
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 672
- 2024HELMET: How to Evaluate Long-Context Language Models Effectively and Thoroughlycited by 145
- 2025Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruningcited by 60
- 2025Multipole Attention for Efficient Long Context Reasoningcited by 22
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression
- 2026Read What Matters: Query-Adaptive Quantization for KV Caches
- 2026DeferKV: Rethinking Eviction Timing for One-Shot KV Cache Compression
- 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression
- 2025SALS: Sparse Attention in Latent Space for KV cache Compression
- 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
- 2025TaDA: Training-free recipe for Decoding with Adaptive KV Cache Compression and Mean-centering
- 2026KV-Kaizen: Learning Context-Adaptive Cache Compression Choices