mlsanityData to 24 Nov 2026

The KV-Surgeon: Compensation-Aware Offline KV-Cache Compaction

arXiv 2610.25933 ↗Submitted 19 Oct 2026cs.LG cs.AIcited by 1

On the map: Efficient LLM inference and serving → KV cache optimization

Abstract (arXiv)

Offline compaction of the key--value cache (KV-cache) reduces the cost of repeatedly querying a fixed context by constructing a smaller cache once and reusing it subsequently. The central challenge of compaction is deciding which cache entries to delete and which to retain. Existing methods score each candidate for deletion on its own, with the rest of the cache being held fixed. However, softmax renormalization of the attention operation couples these decisions in a nonlinear manner: removing one entry changes the attention weights of every remaining one. In this work, we introduce KV-Surgeon, which uses calibration data to take interactions into account in a tractable way. We derive a quadratic surrogate that admits closed-form expressions for jointly making the optimal greedy removal decision as well as compensation within the remaining entries. On QuALITY, LongHealth, and Long Code Arena, and at every evaluated compaction ratio, KV-Surgeon substantially advances the cost--accuracy Pareto frontier of dense and mixture-of-experts models from 4B to 30B parameters. At 50× compaction, KV-Surgeon improves question-answering accuracy by up to four points over attention matching (Zweiger et al., 2026), the state of the art, at comparable cost. Lastly, we introduce an even faster variant, which also exceeds the state of the art while requiring only two fifths of its cost.

Key facts. Cited by 1 paper in the map (data through 24 Nov 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 26 of its 32 references that are in the map. Submitted 19 Oct 2026.

Builds on

26 of 32 references.

Closest ancestors · 15

Same direction, newest first

  1. 2026ReST-KV: Robust KV Cache Eviction with Layer-wise Output Reconstruction and Spatial-Temporal Smoothing9 May
  2. 2025OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inference9 Oct
  3. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May
  4. 2025LagKV: Lag-Relative Information of the KV Cache Tells Which Tokens Are Important7 Apr
  5. 2025Q-Filters: Leveraging QK Geometry for Efficient KV Cache Compression4 Mar
  6. 2025CriticalKV: Optimizing KV Cache Eviction from an Output Perturbation Perspective6 Feb
  7. 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression10 Aug
  8. 2024Palu: Compressing KV-Cache with Low-Rank Projection30 Jul
  9. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Tasks11 Jul
  10. 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Models18 Jun
  11. 2024Attention Score is not All You Need for Token Importance Indicator in KV Cache Reduction: Value Also Matters18 Jun
  12. 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression17 Jun
3 more
  1. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  2. 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
  3. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 11

  1. 2025Qwen3 Technical Reportcited by 9,994
  2. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
  3. 2025Gemma 3 Technical Reportcited by 2,058
  4. 2023SparseGPT: Massive Language Models Can Be Accurately Pruned in One-Shotcited by 1,183
  5. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
  6. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 670
  7. 2021QuALITY: Question Answering with Long Input Texts, Yes!cited by 230
  8. 2024Transformers are Multi-State RNNscited by 132
  9. 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 125
  10. 2024Long Code Arena: a Set of Benchmarks for Long-Context Code Modelscited by 58
  11. 2026Fast KV Compaction via Attention Matchingcited by 35

Built on by

Cited by year (2026 to 24 Nov)

Citing papers per year: 2026: 1.

1 paper.

Similar, not cited

Close in wording, no citation either way

  1. 2026KV2: A Self-Refining KV Cache
  2. 2026ARC-KV: Amortizing Anchor Search for Reconstruction-Based KV Cache Compaction
  3. 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression
  4. 2026Compression Does Not End at Selection: Post-Selection Positional Geometry for Sparse KV Caches
  5. 2025KVSink: Understanding and Enhancing the Preservation of Attention Sinks in KV Cache Quantization for LLMs
  6. 2025Compactor: Calibrated Query-Agnostic KV Cache Compression with Approximate Leverage Scores
  7. 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction
  8. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference