KVComp: A High-Performance, LLM-Aware, Lossy Compression Framework for KV Cache

Bo Jiang, Taolue Yang, Youyuan Liu, Chengming Zhang, Xubin He +1 more
8/30/2025
cs.DCcs.AI

No confident code implementation found for this paper.

Abstract

Transformer-based large language models (LLMs) demonstrate impressive potential in various practical applications. However, long context inference poses a significant challenge due to the enormous memory requirements of the key-value (KV) cache, which can scale to multiple gigabytes as sequence length and batch size increase. In this paper, we present KVComp, a generic and efficient KV cache management framework optimized for long-text generation that synergistically works with both latency-critical and throughput-critical inference systems. KVComp employs novel lossy compression techniques specifically designed for KV cache data characteristics, featuring careful co-design of compression algorithms and system architecture. Our approach maintains compatibility with the growing nature of KV cache while preserving high computational efficiency. Experimental results show that KVComp achieves on average 47\% and up to 83\% higher memory reduction rate compared to existing methods with little/no model accuracy degradation. Furthermore, KVComp achieves extremely high execution throughput, effectively reducing decompression overhead and, in some cases, even accelerating the matrix-vector multiplication operation and outperform cuBLAS-based attention kernels with less data movement.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{jiang2025kvcomp,
  title  = {KVComp: A High-Performance, LLM-Aware, Lossy Compression Framework for KV Cache},
  author = {Bo Jiang and Taolue Yang and Youyuan Liu and Chengming Zhang and Xubin He and Sian Jin},
  year   = {2025},
  eprint = {2509.00579},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2509.00579v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2509.00579.svg)](https://codeofpaper.com/paper/2509.00579)

Discussion