arXiv Machine Learning

Cartridges at Scale: Training Modular KV Caches over Large Document Collections

arXiv:2606. 04557v1 Announce Type: cross Abstract: Large Language Models can reason over long contexts, yet prefilling millions of tokens is wasteful as much of the content remains static across queries.

arXiv Computation and Language
Sep 10

Fine-Tuning a KV Cache Concatenation-Aware Model or Recomputing KV Caches? Why Not Both?

The paper addresses the challenge of long input contexts in Retrieval-Augmented Generation (RAG) systems, where concatenating many retrieved chunks increases prefill workload and time to first token (TTFT). It proposes a dual strategy: fine‑tuning the model to be aware of KV cache concatenation and selectively recomputing only part of the KV caches. Experiments on the RULER benchmark show that for a 124k‑token input, this combined method boosts the RULER score by 9.7 points over a baseline that recomputes caches only, while cutting TTFT by 80% compared with full attention.

By Fumihiko Tachibana, Daisuke Miyashita, Jun Deguchi
arXiv Computation and Language
Oct 12

KV-Repurpose: A Testbed for Evaluating Non-Prefix KV-Cache Reuse

KV-Repurpose is an open‑source, vLLM‑based system that enables segment‑wise KV‑cache reuse beyond exact prompt prefixes in large language model serving. It integrates cache‑aware segment scheduling, prompt construction, capacity management, workload generation, and runtime monitoring to evaluate non‑prefix KV‑cache reuse. Experiments show that naive segment reuse maintains output quality for single‑document QA and summarization, while significantly improving cache hit rates and reducing time‑to‑first‑token compared to prefix caching, especially under Zipfian RAG‑style workloads.

By Taiga Ikeda, Daisuke Miyashita, Jun Deguchi
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
Hugging Face Trending Papers
Oct 9

KV-Repurpose: A Testbed for Evaluating Non-Prefix KV-Cache Reuse

KV-Repurpose is an open‑source, vLLM‑based system that enables segment‑wise KV‑cache reuse beyond exact prompt prefixes in large language model serving. It integrates cache‑aware segment scheduling, prompt construction, capacity management, workload generation, and runtime monitoring. Experiments show that while naive segment reuse maintains output quality for single‑document tasks, it reveals limitations in cross‑document reasoning, and under a Zipfian RAG‑style workload it achieves a 63.9% token‑level cache hit rate versus 3.3% for prefix caching at 30 GB, dramatically lowering time‑to‑first‑token.

arXiv AI
Jul 8

Benchmarking KV-Cache Optimizations across Task Quality and System Performance for Long-Context Serving

arXiv:2607. 05399v1 Announce Type: cross Abstract: Large language model serving is increasingly limited by KV-cache growth under long-context workloads, yet existing KV-cache compression techniques are difficult to compare because they were evaluated on different models, tasks, budgets, and serving stacks.

By Nikita Agrawal, Ruben Mayer
arXiv AI
Nov 5

Split-KV: Efficient Context Parallelism for Training Diffusion Drafters

Split-KV introduces a context‑parallelism technique for training diffusion drafters, keeping key/value shards local and limiting per‑layer attention communication to query‑sized tensors. This approach exploits the asymmetry between short draft queries and long contexts, enabling efficient load balancing via a cost‑aware longest‑processing‑time‑first strategy. Experiments show that at a CP size of 64, Split‑KV achieves 85–91 % weak‑scaling efficiency and up to 3.67× speedup over the best baseline, with less than 1 % load imbalance.

By Geng Zhang, Fangzhao Zhang, Cong Xie, Tiantian Fan, Yang You
arXiv Computation and Language
Oct 23

RIFT: KV Cache Compression for Draft Models with Complementary Compressibility Training

RIFT introduces selection‑based KV cache compression strategies that balance prefill information with recently generated tokens to mitigate decode staleness in speculative decoding. By refreshing the KV cache selection during token generation and employing an adaptive refresh strategy, RIFT improves drafter quality while managing decode latency. A compressibility‑driven drafter training phase further enhances performance, enabling Qwen3.5‑4B to retain over 98% of its full‑cache acceptance length within an 8K‑token KV cache budget on long‑context inputs.

By Dor Tsur, Maor Ashkenazi, Maximilian Golub, Peter Hicks, Yaniv Galron, Talor Abramovich, Yoav Miron, Tiyasa Mitra, Bita Darvish Rouhani, Ran Zilberstein