arXiv Computation and Language
Nov 4

Who Should Score the Cache? Mid-Depth Layers Are the Best Judges of KV-Cache Eviction

The study investigates which transformer layer should score tokens for key‑value cache eviction, finding that mid‑depth layers (roughly 40–75% of the model depth) consistently yield the best long‑context retrieval accuracy across 21 models ranging from 0.5 B to 109 B parameters. By modeling eviction as a top‑k cut and using calibration prompts, the authors identify an optimal scoring layer that outperforms the default per‑layer scoring on most models, especially those below 14 B, and improves performance on tight‑budget scenarios and financial‑filing tasks. The research also explains performance penalties in shared‑cache architectures and notes that for open‑book question answering, the mid‑depth advantage does not materialize.

By Ekaterina Seregina
arXiv AI
Aug 26

Minima-KV: Retention-Preserving KV Cache Compression with Mixed-Format Paged Attention

Minima-KV introduces a retention‑preserving hierarchy for mixed‑format paged attention that keeps recent and protected anchor pages in FP8 while older pages are compressed into packed TQ3, allowing every live‑request page to remain addressable. The approach uses format‑specific kernels and a globally normalized online‑softmax merge to compute partial attention states, enabling direct heterogeneous decoding without a dense shadow cache. Experiments on Qwen3.6‑27B on a 96‑GB NVIDIA RTX PRO 6000 Blackwell GPU show 3.50× compression over BF16 and 1.75× over FP8, with minimal impact on performance across long‑context benchmarks.

By Sergii Kozyrev (Minima AI, Inc), Davyd Maiboroda (Minima AI, Inc)
arXiv Machine Learning
Oct 5

Page-EntroKV: Hardware-Aligned, Entropy-Weighted KV-Cache Eviction under Grouped-Query Attention

Page-EntroKV is a new KV‑cache eviction framework designed for grouped‑query attention (GQA) in long‑context autoregressive language models. It pools token importance scores across query heads within each physical group using sink‑isolated Renyi‑2 entropy, then projects these pooled scores onto page frames and performs eviction at the hardware tuple level. The authors prove theoretical guarantees on union overhead, budget preservation, and needle‑retention, and demonstrate on a Qwen2.5‑1.5B‑Instruct pilot that Page‑EntroKV achieves exact union overhead control, eliminates sink masquerade, and retains 100% of critical tokens compared to mean‑pooling baselines.

By Inbasekaran S