PatchKV: Weight-Space Compensation of KV Cache
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Long-context inference with Large Language Models (LLMs) is bottlenecked by the linearly growing memory of the key-value (KV) cache. Existing compression methods reduce the cache through token eviction or approximation, but degrade sharply at aggressive compression budgets. We propose PatchKV, a training-free framework that compensates KV cache compression methods by carrying part of the context in the model's weights. PatchKV pairs an off-the-shelf compressed KV cache with a context-specific weight patch, which is computed once at context-loading time and served for downstream queries for the context. The weight patch is derived in closed form via ridge regression, by aligning the block-wise activations of context-derived reference query tokens under the full cache and the compressed cache. Once merged into the model, the patch leaves the forward graph and per-query inference cost unchanged in the single-context, multi-query setting. Across long-context QA (SCBench with up to 170K tokens, SQuAD, NIAH) and math (GSM8K) benchmarks on three model architectures, PatchKV consistently improves cache compression methods, suggesting an alternative direction to compensate them at aggressive budgets.
Key facts. Cited by 1 paper in the map (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 27 of its 31 references that are in the map. First posted on arXiv 30 Sep 2026.
Builds on
27 of 31 references.
Closest ancestors · 10
Same direction, newest first
- 2026MomentKV: Closing the Directional Gap in KV Cache Eviction for Long-Context Inference1 Jun
- 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs29 May
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May
- 2024A Survey on Large Language Model Acceleration based on KV Cache Management27 Dec
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec
- 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct
- 2024RazorAttention: Efficient KV Cache Compression Through Retrieval Heads22 Jul
- 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 17
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2025Qwen3 Technical Reportcited by 8,820
- 2016SQuAD: 100,000+ Questions for Machine Comprehension of Textcited by 4,148
- 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,754
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 637
- 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 591
- 2022Efficiently Scaling Transformer Inferencecited by 539
- 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 197
- 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 125
- 2025Cartridges: Lightweight and general-purpose long context representations via self-studycited by 86
5 more
- 2025Learning without training: The implicit dynamics of in-context learningcited by 43
- 2026Doc-to-LoRA: Learning to Instantly Internalize Contextscited by 43
- 2026Fast KV Compaction via Attention Matchingcited by 31
- 2025Equivalence of Context and Parameter Updates in Modern Transformer Blockscited by 5
- 2025Transmuting prompts into weightscited by 3
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2026PuzzleKV: Page-Wise Low-Rank Decomposition for KV Cache Compression
- 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens
- 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scores
- 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression
- 2026MetaKV: Adaptive KV Cache Compression for Constrained LLM Inference
- 2025ChunkKV: Semantic-Preserving KV Cache Compression for Efficient Long-Context LLM Inference
- 2025KV Cache Compression for Inference Efficiency in LLMs: A Review
- 2026AnchorKV: Anchor-Residual KV Cache Compression