arXiv AI

LinearKV: One Cached State Suffices for Position-Independent Caching in Hybrid LLMs

arXiv:2608. 11231v1 Announce Type: new Abstract: LLM serving is increasingly accelerated by position-independent caching (PIC).

arXiv Machine Learning
Sep 14

Fixed State, Long Reach: What a Constant-Size Cache Buys Block Diffusion at Scale

The paper investigates how block‑diffusion language models can use a constant‑size cache to enable efficient parallel decoding. By employing sequence mixers that summarize completed blocks into a reusable state and a block‑causal training objective, the authors pretrain three 3B block‑diffusion denoisers (attention, Mamba, and hybrid) on 300 B tokens. The resulting state‑space cache remains O(1) in memory and latency regardless of context length, yielding significant speed‑up and memory savings compared to traditional attention‑based caches, especially at very long sequences.

By Vaibhav Singh, Pierre-Andr\'e No\"el, Torsten Scholak, Eugene Belilovsky, Oleksiy Ostapenko
arXiv Machine Learning
Oct 28

BellowsKV: One Latent for Many Layers, Expanded on Demand

BellowsKV introduces a training‑free approach that maps the hidden states of multiple adjacent layers in a large language model to a single shared latent representation per token, allowing each layer to retrieve its own keys and values via a layer‑specific projection. The method retains the latent at full dimension and offers two compression strategies: BellowsKV‑Quant, which stores the latent at low precision, and BellowsKV‑Evict, which makes a shared eviction decision per block. Experiments on Llama‑3.1‑8B, Mistral‑7B, and Qwen2.5‑7B show that BellowsKV‑Quant preserves about 99% of full‑cache accuracy at 3.6× compression and 97‑98% at 13‑14×, outperforming existing cross‑layer methods that drop to at most 84% accuracy at 16× compression.

By Jiamu Zhang, Hanjie Chen
Hugging Face Trending Papers
Jun 11

MiniPIC: Flexible Position-Independent Caching in <100LOC

Retrieval-augmented and agentic workloads repeatedly prefill recurring predictable structured inputs (which we call "spans") such as documents and code files. Yet, prefix caching in engines such as vLLM cannot reuse their KV entries unless they share identical prefixes with another request, while Position-Independent Caching (PIC) implementations within production-grade inference servers typically either require substantial server code changes or keep KV state outside the server, incurring host-to-device transfer overhead.

arXiv Computation and Language
Nov 6

The Gating Mechanism of KV Cache Eviction

The paper proposes a learnable gating mechanism for KV cache eviction in transformer models, embedding the gate within the softmax normalizer to redistribute attention weight rather than discard entries. Training the gate on the language‑modeling loss shows it tends toward a constant score, revealing challenges in optimizing for dense attention and highlighting obstacles such as gradient interference from the frozen backbone. The authors demonstrate that, under conditions where dense attention is excluded from the gate’s influence and the dense model’s predictions serve as the target, the gate can achieve high compression (75 % KV cache) with minimal performance loss—achieving 90.14 on RULER and 46.03 on LongBench with Qwen3‑8B. whyItMatters":"The study shows that a simple, parameter‑free gating strategy can effectively compress KV caches while preserving model accuracy, offering a practical solution for deploying large language models with limited memory."

By Hao Gu, Xintong Yang, Zhiwei Li, Lei Zhu, Jian Yang, Qiyuan Zhu, Dezhi Li, Jingyuan Zhang, Zhizhuo Kou, Hao Wang, Bei Liu, Jiacheng Liu, Sirui Han
arXiv Computation and Language
Nov 6

Beyond K/V Caches: Cross-Model State Handoff in Hybrid Linear-Attention LLMs

The paper introduces Hybrid State Transfer (HST), a method for transferring not only full‑attention key/value caches but also recurrent (REC) and convolution (Conv) states between different large language models during long conversations. HST preserves the order of Conv histories and uses structured REC maps, calibrating adapters with the target model’s outputs to maintain continuity. Experiments on five benchmarks show that Qwen3.5 models achieve high task retention (up to 94%) and achieve over 21× speedups on synthetic 16K inputs when handoff is performed.

By Jiacheng Cai, Tao Zhang, Siqi Liang, Yun Dai, Ziqian Zeng
arXiv Machine Learning
Oct 9

When to Evict, Not What to Keep: Draft-Guided Eviction for Training-Free KV-Cache Compression

The paper introduces Draft‑Guided Eviction (DGE), a training‑free KV‑cache compression technique that postpones token eviction until after drafting the first two answer tokens, thereby preserving the cache entries needed for the answer trajectory. Unlike prior methods that focus on optimizing what to keep, DGE changes the timing of eviction, allowing existing compression schemes such as SnapKV, H2O, and PyramidKV to be applied without altering their eviction scores. Experiments show DGE consistently outperforms previous approaches across multiple instruct‑tuned models, achieving near‑full‑cache performance on LongBench and demonstrating that the improvement stems from trajectory anchoring rather than changes in cache selection.

By Haeyong Kang, Chang D. Yoo