arXiv Machine Learning

The risk of KV cache compression

arXiv:2607. 01520v1 Announce Type: new Abstract: Transformer inference on long sequences is expensive because softmax attention repeatedly reads from a large KV cache.

arXiv AI
Jul 8

FreqDepthKV: Frequency-Guided Depth Sharing for Robust KV Cache Compression in Long-Context LLM Inference

arXiv:2607. 06519v1 Announce Type: new Abstract: Long-context LLM inference is increasingly limited by the memory and bandwidth cost of KV caches, yet aggressive compression can remove the layer-specific evidence needed for retrieval and multi-step reasoning.

By Anna C\'ordoba, Adam Puente Tercero, Nerea Angulo Hijo, Mar Linares Tercero, Julia Barrientos, Ainhoa Miranda, Jes\'us Olivera
arXiv Machine Learning
Nov 6

LowRAM: Low-Rank Keys and Amortised Values for Composable KV Cache Compression at Test-Time

LowRAM introduces a two‑stage compression scheme for the KV cache used in autoregressive decoding. It first amortises values by predicting them from keys with a lightweight per‑head predictor, storing only residuals for poorly reconstructed tokens, achieving roughly 4× near‑lossless value compression. Then it applies cross‑layer low‑rank key compression, resulting in an asymmetric pipeline that can boost peak decode throughput by up to 5× while maintaining near‑lossless performance, and can be further combined with quantisation and eviction for extreme compression ratios.

By Teresa Delgado, Hugo Hazard, Martin Benfeghoul, Jun Wang, Zafeirios Fountas
arXiv Computer Vision
Nov 5

NanoKV: High-Ratio KV Cache Compression for Autoregressive Video Generation

NanoKV is a frozen‑backbone framework that compresses key‑value caches in autoregressive video models by clustering shared token content and encoding residuals with low‑bit coefficients. It tailors fitting objectives separately for keys and values, optimizing key decoders for downstream block outputs and value encoders for accurate reconstruction. The optional NanoKV‑Fast variant reuses these coefficients for mixed‑dimensional attention, cutting computation while maintaining the compressed representation.

By Jiacheng Lu, Haoyi Zhu, Sipei Yi, Enze Xie, Cheng Zhuo, Yu Li
arXiv AI
Oct 5

KV$^2$: A Self-Refining KV Cache

KV$^2$ is a query‑agnostic key‑value cache compression technique that selectively reconstructs only informative in‑context tokens using a lightweight proxy scorer before final eviction scoring. On benchmarks such as RULER, Needle‑in‑a‑Haystack, and LongBench, KV$^2$ outperforms baseline methods, especially under tight memory budgets, achieving higher scores with lower runtime and peak memory than full‑context reconstruction. The approach demonstrates that reusable KV‑cache compression can avoid reprocessing the entire prompt while maintaining quality.

By Johannes Wesch, Danni Liu, Jan Niehues
arXiv AI
Oct 15

One Distribution, Two Channels: Coverage-Calibrated KV Retention and Compensation

The paper introduces CORE, a method that jointly calibrates coverage and redistributes evicted mass for key–value (KV) cache in long‑context decoding. CORE combines query utility and log‑determinant coverage into a lightweight indexer, using a single calibrated distribution to both retain complementary KV states and parameterize latent‑memory writes. Experiments on three backbones show CORE outperforms the RULER baseline by up to 3.78 points at 90% compression and demonstrates strong decoding efficiency on LongBench and repeated‑eviction tests.

By Shuxin Liu, Qing Liu, Yi Du, Ou Wu