mlsanityData to 7 Oct 2026

KVSlimmer: Theoretical Insights and Practical Optimizations for Asymmetric KV Merging

arXiv 2603.00907 ↗First posted 1 Mar 2026cs.CLcited by 0

Not on the map. Why?

Abstract (arXiv)

The growing computational and memory demands of the Key-Value (KV) cache significantly limit the ability of Large Language Models (LLMs). While KV merging has emerged as a promising solution, existing methods that rely on empirical observations of KV asymmetry and gradient-based Hessian approximations lack a theoretical foundation and incur suboptimal compression and inference overhead. To bridge these gaps, we establish a theoretical framework that characterizes this asymmetry through the spectral energy distribution of projection weights, demonstrating that concentrated spectra in Query/Key weights induce feature homogeneity, whereas dispersed spectra in Value weights preserve heterogeneity. Then, we introduce KVSlimmer, an efficient algorithm that captures exact Hessian information through a mathematically exact formulation, and derives a closed-form solution utilizing only forward-pass variables, resulting in a gradient-free approach that is both memory- and time-efficient. Extensive experiments across various models and benchmarks demonstrate that KVSlimmer consistently outperforms SOTA methods. For instance, on Llama3.1-8B-Instruct, it improves the LongBench average score by 0.92 while reducing memory costs and latency by 29% and 28%, respectively.Code is available at https://github.com/lianjunl13-sudo/KVSlimmer.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 38 of its 49 references that are in the map. First posted on arXiv 1 Mar 2026.

Builds on

38 of 49 references.

References · 38

  1. 2024The Llama 3 Herd of Modelscited by 14,192
  2. 2018HotpotQA: A Dataset for Diverse, Explainable Multi-hop Question Answeringcited by 3,686
  3. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,611
  4. 2020Longformer: The Long-Document Transformercited by 3,362
  5. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  6. 2019Transformer-XL: Attentive Language Models Beyond a Fixed-Length Contextcited by 1,830
  7. 2020Big Bird: Transformers for Longer Sequencescited by 1,673
  8. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  9. 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 848
  10. 2019Compressive Transformers for Long-Range Sequence Modellingcited by 699
  11. 2023Model Tells You What to Discard: Adaptive KV Cache Compression for LLMscited by 466
  12. 2023Scissorhands: Exploiting the Persistence of Importance Hypothesis for LLM KV Cache Compression at Test Timecited by 428
26 more
  1. 2024PyramidKV: Dynamic KV Cache Compression based on Pyramidal Information Funnelingcited by 420
  2. 2024LongBench v2: Towards Deeper Understanding and Reasoning on Realistic Long-context Multitaskscited by 367
  3. 2024LLMLingua-2: Data Distillation for Efficient and Faithful Task-Agnostic Prompt Compressioncited by 343
  4. 2022Recurrent Memory Transformercited by 197
  5. 2024InfLLM: Training-Free Long-Context Extrapolation for LLMs with an Efficient Context Memorycited by 192
  6. 2022On The Computational Complexity of Self-Attentioncited by 137
  7. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attentioncited by 122
  8. 2024MiniCache: KV Cache Compression in Depth Dimension for Large Language Modelscited by 122
  9. 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 115
  10. 2024Not All Heads Matter: A Head-Level KV Cache Compression Method with Integrated Retrieval and Reasoningcited by 96
  11. 2024Model Tells You Where to Merge: Adaptive KV Cache Merging for LLMs on Long-Context Taskscited by 94
  12. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 71
  13. 2024Training-Free Long-Context Scaling of Large Language Modelscited by 61
  14. 2024TokenSelect: Efficient Long-Context Inference and Length Extrapolation for LLMs via Dynamic Token-Level KV Cache Selectioncited by 38
  15. 2025Inference-Time Hyper-Scaling with KV Cache Compressioncited by 28
  16. 2025Lookahead Q-Cache: Achieving More Consistent KV Cache Eviction via Pseudo Querycited by 15
  17. 2025Taming the Fragility of KV Cache Eviction in LLM Inferencecited by 14
  18. 2025Thus Spake Long-Context Large Language Modelcited by 12
  19. 2025A Survey on Transformer Context Extension: Approaches and Evaluationcited by 11
  20. 2025OBCache: Optimal Brain KV Cache Pruning for Efficient Long-Context LLM Inferencecited by 9
  21. 2025ZSMerge: Zero-Shot KV Cache Compression for Memory-Efficient Long-Context LLMscited by 8
  22. 2025Homogeneous Keys, Heterogeneous Values: Exploiting Local KV Cache Asymmetry for Long-Context LLMscited by 7
  23. 2025EpiCache: Episodic KV Cache Management for Long-Term Conversation on Resource-Constrained Environmentscited by 7
  24. 2025FlowMM: Cross-Modal Information Flow Guided KV Cache Merging for Efficient Multimodal Context Inferencecited by 6
  25. 2023CoCA: Fusing Position Embedding with Collinear Constrained Attention in Transformers for Long Context Window Extendingcited by 5
  26. 2024EMS: Adaptive Evict-then-Merge Strategy for Head-wise KV Cache Compression Based on Global-Local Importancecited by 4

Built on by

Not cited yet.