paper-with-me

홈 › Papers

The risk of KV cache compression

2026-07-01 · Lukas Haverbeck, Carmen Amo Alonso, Andres Felipe Posada-Moreno, Sebastian Trimpe, Marco Pavone arxiv

Transformer inference on long sequences is expensive because softmax attention repeatedly reads from a large KV cache. The prevalent approach to this bottleneck is KV cache compression, which replaces the full cache with a compact summary. Despite its practical importance, the design of such summaries is largely driven by empirical experimentation. On the theoretical side, existing results show that KV cache compression can be impossible in the worst case, but offer little systematic guidance for designing algorithms in regimes where accurate compression is possible. We bridge this gap by characterizing the minimax risk of KV cache compression in terms of the intrinsic compressibility of a cache, revealing when and how accurate compression is possible. These results yield novel design principles for KV cache compression under causal masking that map efficiently to prefill and autoregressive decoding while achieving minimax-optimal risk. We instantiate these principles in a practical algorithm and report promising performance on LongBench in targeted experiments. Overall, our results provide a principled avenue for practical KV cache compression with theoretical guarantees.

📄 PDF Abstract BibTeX arXiv:2607.01520

Code (0)

등록된 구현이 없습니다.

Similar Papers 제목 키워드 기반

SWAN: Sparse Winnowed Attention for Reduced Inference Memory via Decompression-Free KV-Cache Compression

2025-11-24 · Santhosh G S, Saurav Prakash, Balaraman Ravindran arxiv

Large Language Models (LLMs) face a significant bottleneck during autoregressive inference due to the massive memory footprint of the Key-Value (KV) cache. Existing compression techniques like token eviction, quantizatio…

No Token Left Behind: Reliable KV Cache Compression via Importance-Aware Mixed Precision Quantization

2024-02-28 · June Yong Yang, Byeongwook Kim, Jeongin Bae, Beomseok Kwon 외

Key-Value (KV) Caching has become an essential technique for accelerating the inference speed and throughput of generative Large Language Models~(LLMs). However, the memory footprint of the KV cache poses a critical bott…

Quantization

EVICPRESS: Joint KV-Cache Compression and Eviction for Efficient LLM Serving

2025-12-16 · Shaoting Feng, Yuhan Liu, Hanchen Li, Xiaokun Chen 외 arxiv

Reusing KV cache is essential for high efficiency of Large Language Model (LLM) inference systems. With more LLM users, the KV cache footprint can easily exceed GPU memory capacity, so prior work has proposed to either e…

Rethinking Key-Value Cache Compression Techniques for Large Language Model Serving

2025-03-31 · Wei Gao, Xinyu Zhou, Peng Sun, Tianwei Zhang 외

Key-Value cache (\texttt{KV} \texttt{cache}) compression has emerged as a promising technique to optimize Large Language Model (LLM) serving. It primarily decreases the memory consumption of \texttt{KV} \texttt{cache} to…

Computational EfficiencyLanguage ModelingLanguage ModellingLarge Language Model

AdaptCache: KV Cache Native Storage Hierarchy for Low-Delay and High-Quality Language Model Serving

2025-08-28 · Shaoting Feng, Hanchen Li, Kuntai Du, Zhuohan Gu 외 arxiv

Large language model (LLM) applications often reuse previously processed context, such as chat history and documents, which introduces significant redundant computation. Existing LLM serving systems address such redundan…