GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Large language models (LLMs) with extended context lengths rely on the key-value (KV) cache to support attention over prior tokens. However, maintaining the KV cache incurs substantial memory overhead, motivating KV-cache compression methods that enforce a fixed budget through eviction and merging. Modern eviction methods increasingly adopt span-based retention because preserving contiguous spans is empirically effective and better preserves semantic coherence. Yet, when combined with post-eviction merging, span-based retention concentrates merges onto a small set of span-boundary carrier tokens, producing a highly imbalanced merge pattern that exacerbates over-merging and increases information loss. To address this imbalance, we propose GRKV (Global Regression for KV Cache), a training-free KV-cache merging method that directly minimizes the discrepancy between compressed-cache and full-cache attention outputs. GRKV uses ridge-regression-based merge steps to distribute information from evicted tokens across retained tokens, while regularizing the updates to prevent over-smoothing. Across the LongBench and RULER long-context benchmarks, GRKV is the only merging method that improves overall performance with minimal overhead. Our code is available at https://github.com/pjunjie/GRKV.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 24 of its 34 references that are in the map. First posted on arXiv 29 May 2026.
Builds on
24 of 34 references.
Closest ancestors · 14
Same direction, newest first
- 2025Expected Attention: KV Cache Compression by Estimating Attention from Future Queries Distribution1 Oct
- 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharing22 Aug
- 2025Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMs4 Jun
- 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoning25 Oct
- 2024A Systematic Study of Cross-Layer KV Sharing for Efficient LLM Inference18 Oct
- 2024DuoAttention: Efficient Long-Context LLM Inference with Retrieval and Streaming Heads14 Oct
- 2024Palu: Compressing KV-Cache with Low-Rank Projection30 Jul
- 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
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024Layer-Condensed KV Cache for Efficient Inference of Large Language Models17 May
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
2 more
Other references · 10
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
- 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
- 2023FlashAttention-2: Faster Attention with Better Parallelism and Work Partitioningcited by 2,551
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
- 2024Gemma 2: Improving Open Language Models at a Practical Sizecited by 1,928
- 2019fairseq: A Fast, Extensible Toolkit for Sequence Modelingcited by 1,486
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
- 2017The NarrativeQA Reading Comprehension Challengecited by 590
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026PatchKV: Weight-Space Compensation of KV Cachecited by 1
- 2026S4R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Cachingcited by 0
- 2026COSMO: Consensus-Driven Shift Modulation for Source-Free Domain Adaptationcited by 0
- 2026Compile the Table: Query-Calibrated Operator Compression for Tabular In-Context Learningcited by 0
- 2026Compile the Table: Query-Calibrated Operator Compression for Tabular In-Context Learning8 Oct 2026
- 2026PatchKV: Weight-Space Compensation of KV Cache30 Sep 2026
- 2026COSMO: Consensus-Driven Shift Modulation for Source-Free Domain Adaptation5 Aug 2026
- 2026S4R: Selective Sampling, Subspaces, and Sparse Reconstruction for Compressed Long-Context KV Caching1 Aug 2026
Similar, not cited
Close in wording, no citation either way
- 2025KeepKV: Achieving Periodic Lossless KV Cache Compression for Efficient LLM Inference
- 2026LKV: End-to-End Learning of Head-wise Budgets and Token Selection for LLM KV Cache Eviction
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference
- 2026Behavior-Preserving KV Cache Compression
- 2026SelKV: Selective KV Cache Merging with Per-Token Merge-or-Drop and Attention Compensation
- 2025ZSMerge: Zero-Shot KV Cache Compression for Memory-Efficient Long-Context LLMs
- 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
- 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression