paper-with-me

Papers

Training Transformers for KV Cache Compressibility

2026-05-07 · Yoav Gelberg, Yam Eitan, Michael Bronstein, Yarin Gal, Haggai Maron arxiv

Long-context language modeling is increasingly constrained by the Key-Value (KV) cache, whose memory and decode-time access costs scale linearly with the prefix length. This bottleneck has motivated a range of context-compression methods, from token-level summarization to recent optimization-based KV compression methods. These post-hoc methods operate on the KV cache of a fixed pretrained model, so their effectiveness is fundamentally limited by how well the model's internal representations can be compressed. In this work, we formalize the notion of KV compressibility and show that it is a property of the learned representations, rather than of the context alone. We prove that almost any sequence-to-vector function admits both highly compressible and inherently non-compressible transformer implementations, highlighting the need to guide transformers toward compressible representations during training. Motivated by this, we propose KV-Compression Aware Training (KV-CAT), a continued pretraining procedure that incentivizes the emergence of compressible representations. We introduce a train-time KV sparsification policy that masks KV slots during training. This forces the model to use fewer KV slots and encourages it to learn representations amenable to post-hoc compression. Empirically, we show that KV-CAT improves the quality-budget tradeoff of downstream compression methods across retrieval, long-context question answering, and perplexity-based evaluation of compressed-prefix continuation.

📄 PDF Abstract BibTeX arXiv:2605.05971

Code (0)

등록된 구현이 없습니다.

Tasks

Question Answering

Similar Papers 제목 키워드 기반

KV-CoRE: Benchmarking Data-Dependent Low-Rank Compressibility of KV-Caches in LLMs

2026-02-05 · Jian Chen, Zhuoran Wang, Jiayu Qin, Ming Li 외 arxiv

Large language models rely on kv-caches to avoid redundant computation during autoregressive decoding, but as context length grows, reading and writing the cache can quickly saturate GPU memory bandwidth. Recent work has…

The risk of KV cache compression

2026-07-01 · Lukas Haverbeck, Carmen Amo Alonso, Andres Felipe Posada-Moreno, Sebastian Trimpe 외 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…

SLORR: Simple and Efficient In-Training Low-Rank Regularization

2026-07-09 · David González-Martínez, Shiwei Liu arxiv

Low-rank factorization is widely used to compress neural networks, but modern models are often not naturally amenable to aggressive factorization without significant accuracy loss. Existing training-time low-rank regular…

MPTQ-ViT: Mixed-Precision Post-Training Quantization for Vision Transformer

2024-01-26 · Yu-Shan Tai, An-Yeu, Wu

While vision transformers (ViTs) have shown great potential in computer vision tasks, their intense computation and memory requirements pose challenges for practical applications. Existing post-training quantization meth…

Quantization

Token Caching for Diffusion Transformer Acceleration

2024-09-27 · Jinming Lou, Wenyang Luo, Yufan Liu, Bing Li 외

Diffusion transformers have gained substantial interest in diffusion generative modeling due to their outstanding performance. However, their high computational cost, arising from the quadratic computational complexity o…

DenoisingScheduling