mlsanityData to 7 Oct 2026

CSKV: Training-Efficient Channel Shrinking for KV Cache in Long-Context Scenarios

arXiv 2409.10593 ↗First posted 16 Sep 2024cs.LG cs.AI cs.CLcited by 4

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

Abstract (arXiv)

Large Language Models (LLMs) have been widely adopted to process long-context tasks. However, the large memory overhead of the key-value (KV) cache poses significant challenges in long-context scenarios. Existing training-free KV cache compression methods typically focus on quantization and token pruning, which have compression limits, and excessive sparsity can lead to severe performance degradation. Other methods design new architectures with less KV overhead but require significant training overhead. To address the above two drawbacks, we further explore the redundancy in the channel dimension and apply an architecture-level design with minor training costs. Therefore, we introduce CSKV, a training-efficient Channel Shrinking technique for KV cache compression: (1) We first analyze the singular value distribution of the KV cache, revealing significant redundancy and compression potential along the channel dimension. Based on this observation, we propose using low-rank decomposition for key and value layers and storing the low-dimension features. (2) To preserve model performance, we introduce a bi-branch KV cache, including a window-based full-precision KV cache and a low-precision compressed KV cache. (3) To reduce the training costs, we minimize the layer-wise reconstruction loss for the compressed KV cache instead of retraining the entire LLMs. Extensive experiments show that CSKV can reduce the memory overhead of the KV cache by 80% while maintaining the model's long-context capability. Moreover, we show that our method can be seamlessly combined with quantization to further reduce the memory overhead, achieving a compression ratio of up to 95%. Code is available at https://github.com/wln20/CSKV.

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 13 of its 19 references that are in the map. First posted on arXiv 16 Sep 2024.

Builds on

13 of 19 references.

Closest ancestors · 3

Same direction, newest first

  1. 2024Reducing Transformer Key-Value Cache Size with Cross-Layer Attention21 May
  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 · 10

  1. 2020Measuring Massive Multitask Language Understandingcited by 7,768
  2. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,346
  3. 2023Efficient Streaming Language Models with Attention Sinkscited by 2,115
  4. 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,378
  5. 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,093
  6. 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 604
  7. 2023FlexGen: High-Throughput Generative Inference of Large Language Models with a Single GPUcited by 567
  8. 2024QServe: W4A8KV4 Quantization and System Co-design for Efficient LLM Servingcited by 200
  9. 2021Learned Token Pruning for Transformerscited by 138
  10. 2024LV-Eval: A Balanced Long-Context Benchmark with 5 Length Levels Up to 256Kcited by 80

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2026: 4.

4 papers.

Similar, not cited

Close in wording, no citation either way

  1. 2025CommonKV: Compressing KV Cache with Cross-layer Parameter Sharing
  2. 2025PackKV: Reducing KV Cache Memory Footprint through LLM-Aware Lossy Compression
  3. 2026GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs
  4. 2025xKV: Cross-Layer KV-Cache Compression via Aligned Singular Vector Extraction
  5. 2025Key, Value, Compress: A Systematic Exploration of KV Cache Compression Techniques
  6. 2024ZigZagkv: Dynamic KV Cache Compression for Long-context Modeling based on Layer Uncertainty
  7. 2025FreqKV: Key-Value Compression in Frequency Domain for Context Window Extension
  8. 2024More Tokens, Lower Precision: Towards the Optimal Token-Precision Trade-off in KV Cache Compression