arXiv Machine Learning

PatchKV: Weight-Space Compensation of KV Cache

arXiv AI
Jun 24

CompressKV: Semantic-Retrieval-Guided KV-Cache Compression for Resource-Efficient Long-Context LLM Inference

arXiv:2606. 24467v1 Announce Type: new Abstract: Long-context large language model (LLM) inference is increasingly constrained by the memory footprint and decoding cost of key-value (KV) caches, limiting sustainable deployment on resource-constrained hardware.

By Xiaolin Lin, Jingcun Wang, Olga Kondrateva, Yiyu Shi, Bing Li, Grace Li Zhang
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 Computation and Language
Nov 9

Reformulating KV Cache Eviction Problem for Long-Context LLM Inference

The paper proposes LaProx, a new KV cache eviction strategy for long‑context LLM inference that redefines the problem as an output‑aware, layer‑wise matrix multiplication approximation. Unlike prior methods that rely only on local attention weights, LaProx explicitly models the interaction between attention maps and projected value states, accounting for inter‑head dependencies to assign globally comparable token importance scores. Experiments on 19 datasets, including LongBench and Needle‑In‑A‑Haystack, show that LaProx retains model performance while using only 5% of the KV cache and reduces accuracy loss by up to 2× under extreme compression compared to state‑of‑the‑art baselines.

By Tho Mai, Joo-Young Kim
arXiv Computation and Language
Sep 1

GRKV: Global Regression for Training-Free KV Cache Compression in Long-Context LLMs

The paper introduces GRKV, a training‑free method for compressing the key‑value cache in long‑context large language models. GRKV uses ridge‑regression to redistribute information from evicted tokens to retained ones, aiming to minimize the difference between compressed‑cache and full‑cache attention outputs. Experiments on LongBench and RULER show that GRKV improves overall performance with minimal overhead compared to other merging methods.

By Junjie Peng, You Wu, Haoyi Wu, Jialong Han, Xiaohua Xie, Kewei Tu, Jianhuang Lai
Hugging Face Trending Papers
Jun 8

End-to-End Context Compression at Scale

Long-context language model inference is bottlenecked by memory, as the KV cache grows with context length. Recent techniques to compress the KV cache fall short: they either degrade model quality substantially or require considerable time and compute to compress a single long prompt.