mlsanityData to 7 Oct 2026

ResidualKV: Residual-Based KV Cache Compression for Efficient Long-Context Inference

arXiv 2602.08005 ↗First posted 8 Feb 2026cs.CL cs.AIcited by 8

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

Abstract (arXiv)

Efficient long-context inference faces two coupled bottlenecks: KV-cache memory grows linearly with context length, while attention computation grows quadratically. Existing approaches typically address one at the expense of irreversible token eviction, full-cache retention, or full-history reconstruction, limiting their effectiveness for multi-turn interaction and long-form reasoning. Motivated by two empirical properties, Long-Range Inter-Token Similarity and Smooth Residual Distribution, we propose ResidualKV, which factorizes the KV cache into a sparse set of globally retrieved references and compact, quantized residual codes for the remaining tokens. This representation preserves token-specific information without permanent eviction and, when combined with sparse attention, reconstructs only the selected states on demand. Dynamic-stride scheduling further reduces reference growth from linear to approximately logarithmic at ultra-long contexts. Across Llama, Qwen, LLaVA-OV, and Qwen3-VL backbones, ResidualKV maintains near-full-cache performance using only 13%-16% KV storage and 30% attention computation on LongBench, and 8%-10% storage and 10% computation in matched-budget multimodal evaluation. It also accelerates decoding by up to 1.5× with KV-cache quantization and 3.4× without it. These results show that global cross-token redundancy supports accurate, memory-efficient, and computation-efficient long-context inference. The source code is available at https://github.com/CURRENTF/ResidualKV.

Key facts. Cited by 8 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 67 of its 77 references that are in the map. First posted on arXiv 8 Feb 2026.

Builds on

67 of 77 references.

Closest ancestors · 18

Same direction, newest first

  1. 2025CentroidKV: Efficient Long-Context LLM Inference via KV Cache Clustering13 Jun
  2. 2025Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMs4 Jun
  3. 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstruction29 May
  4. 2025WeightedKV: Attention Scores Weighted Key-Value Cache Merging for Large Language Models3 Mar
  5. 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec
  6. 2024Lexico: Extreme KV Cache Compression via Sparse Coding over Universal Dictionaries12 Dec
  7. 2024ClusterKV: Manipulating LLM KV Cache in Semantic Space for Recallable Compression4 Dec
  8. 2024ShadowKV: KV Cache in Shadows for High-Throughput Long-Context LLM Inference28 Oct
  9. 2024LoRC: Low-Rank Compression for LLMs KV Cache with a Progressive Compression Strategy4 Oct
  10. 2024Eigen Attention: Attention in Low-Rank Space for KV Cache Compression10 Aug
  11. 2024Palu: Compressing KV-Cache with Low-Rank Projection30 Jul
  12. 2024Ada-KV: Optimizing KV Cache Eviction by Adaptive Budget Allocation for Efficient LLM Inference16 Jul
6 more
  1. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Tasks11 Jul
  2. 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
  3. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funneling4 Jun
  4. 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
  5. 2023CacheGen: KV Cache Compression and Streaming for Fast Large Language Model Serving11 Oct
  6. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Time26 May

Other references · 49

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 8,355
  3. 2025Qwen3 Technical Reportcited by 8,195
  4. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,581
  5. 2022Flamingo: a Visual Language Model for Few-Shot Learningcited by 4,337
  6. 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
  7. 2024LLaVA-OneVision: Easy Visual Task Transfercited by 2,669
  8. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  9. 2023MMBench: Is Your Multi-modal Model an All-around Player?cited by 2,105
  10. 2024Qwen2 Technical Reportcited by 2,076
  11. 2023MMMU: A Massive Multi-discipline Multimodal Understanding and Reasoning Benchmark for Expert AGIcited by 2,044
  12. 2022Learn to Explain: Multimodal Reasoning via Thought Chains for Science Question Answeringcited by 1,881
37 more
  1. 2023Evaluating Object Hallucination in Large Vision-Language Modelscited by 1,696
  2. 2023MME: A Comprehensive Evaluation Benchmark for Multimodal Large Language Modelscited by 1,624
  3. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  4. 2024Video-MME: The First-Ever Comprehensive Evaluation Benchmark of Multi-modal LLMs in Video Analysiscited by 1,375
  5. 2022SmoothQuant: Accurate and Efficient Post-Training Quantization for Large Language Modelscited by 1,338
  6. 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,270
  7. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,104
  8. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  9. 2023MVBench: A Comprehensive Multi-modal Video Understanding Benchmarkcited by 1,086
  10. 2016Training Deep Nets with Sublinear Memory Costcited by 825
  11. 2019How Contextual are Contextualized Word Representations? Comparing the Geometry of BERT, ELMo, and GPT-2 Embeddingscited by 770
  12. 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
  13. 2024LongVideoBench: A Benchmark for Long-context Interleaved Video-Language Understandingcited by 644
  14. 2024An Image is Worth 1/2 Tokens After Layer 2: Plug-and-Play Inference Acceleration for Large Vision-Language Modelscited by 629
  15. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
  16. 2024KVQuant: Towards 10 Million Context Length LLM Inference with KV Cache Quantizationcited by 571
  17. 2024DriveVLM: The Convergence of Autonomous Driving and Large Vision-Language Modelscited by 482
  18. 2023LegalBench: A Collaboratively Built Benchmark for Measuring Legal Reasoning in Large Language Modelscited by 328
  19. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 192
  20. 2025DivPrune: Diversity-based Visual Token Pruning for Large Multimodal Modelscited by 177
  21. 2025Qwen2.5-1M Technical Reportcited by 158
  22. 2024Transformers are Multi-State RNNscited by 120
  23. 2025TurboQuant: Online Vector Quantization with Near-optimal Distortion Ratecited by 116
  24. 2024PQCache: Product Quantization-based KVCache for Long Context LLM Inferencecited by 93
  25. 2024ZipCache: Accurate and Efficient KV Cache Quantization with Salient Token Identificationcited by 86
  26. 2025InftyThink: Breaking the Length Limits of Long-Context Reasoning in Large Language Modelscited by 53
  27. 2024IntactKV: Improving Large Language Model Quantization by Keeping Pivot Tokens Intactcited by 52
  28. 2025PACT: Pruning and Clustering-Based Token Reduction for Faster Visual Language Modelscited by 49
  29. 2025FastVID: Dynamic Density Pruning for Fast Video Large Language Modelscited by 47
  30. 2025Let LRMs Break Free from Overthinking via Self-Braking Tuningcited by 27
  31. 2025Deep Research: A Systematic Surveycited by 23
  32. 2025Quantization Meets dLLMs: A Systematic Study of Post-training Quantization for Diffusion LLMscited by 21
  33. 2025Uni-X: Mitigating Modality Conflict with a Two-End-Separated Architecture for Unified Multimodal Modelscited by 18
  34. 2025A Token is Worth over 1,000 Tokens: Efficient Knowledge Distillation through Low-Rank Clonecited by 15
  35. 2025Enhancing RAG Efficiency with Adaptive Context Compressioncited by 7
  36. 2026InftyThink+: Effective and Efficient Infinite-Horizon Reasoning via Reinforcement Learningcited by 5
  37. 2025DeltaLLM: A Training-Free Framework Exploiting Temporal Sparsity for Efficient Edge LLM Inferencecited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 8.

8 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2026ResKV: Reconstructing Omitted Attention Contributions for Fixed-Budget KV Cache Compression
  2. 2026DepthWeave-KV: Token-Adaptive Cross-Layer Residual Factorization for Long-Context KV Cache Compression
  3. 2026FreqDepthKV: Frequency-Guided Depth Sharing for Robust KV Cache Compression in Long-Context LLM Inference
  4. 2026Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Eviction
  5. 2026Distance-KV: Exploiting Relative Distance for Efficient Long-Context Inference
  6. 2026AnchorKV: Anchor-Residual KV Cache Compression
  7. 2026Behavior-Preserving KV Cache Compression
  8. 2025KVCompose: Efficient Structured KV Cache Compression with Composite Tokens