ValueDiff: Value-Geometric KV Cache Eviction for Sink-Suppressed LLMs
Abstract
Modern LLMs with QK-normalization, gated attention, learned attention sinks, or logit softcapping exhibit weaker persistent attention sinks, on which existing KV cache eviction methods primarily rely. We observe that across these models, weaker sinks co-occur with greater value-vector dispersion relative to key-vector dispersion. Motivated by this value-side dispersion, we present ValueDiff, a value-geometric eviction that ranks tokens by the L2 deviation of their value vectors from the cache mean. The same score arises as the minimal-disturbance eviction under a max-entropy assumption about future attention. We evaluate under fixed cache budgets, with eviction at every block boundary during prefill and at every decoding step during generation. On RULER at a tight 2k token budget, ValueDiff retains 88-99% of dense across seven sink-suppressed models (best on 6 out of 7). On LongBench at the 4k budget, ValueDiff averages 92% retention across sink-suppressed models versus 83% for the strongest prior baseline. On MATH-500, ValueDiff is the strongest non-dense method on every sink-suppressed model tested at the 25% cache budget, outperforming prior methods by up to ~20 points on gated-attention models. Across all three benchmarks, value geometry emerges as the more reliable query-invariant eviction signal for sink-suppressed models.
Create a lesson
Metadata
- Categories
- cs.LG, cs.AI
- Comments
- 10 pages, 3 Figues
Related papers
Local Affine Quantization for KV Caches: From Shared Ranges to Prediction Error
Shared title terminologycs.LGShrey Shah, Rohith Kukkala
MLP Cache: A Post-Hoc Memory-Compute Trade-off for Transformer Inference
Shared title terminologycs.LGHuzheng Yang, Yiqiao Huang, Qingqiao Hu et al.
Accelerating Complex-valued Uncertainty Estimation via Sparsity Exploration and Exploitation
Shared title terminologycs.LGZehuan Zhang, Quan Deng, Wenxi Gao et al.
Characterizing Latent Reasoning Dynamics in LLMs
Shared title terminologycs.LGPrateek Humane, Supriyo Chakraborty, Atharv Naphade et al.
Auditing Geometric Change in Grokking: Centroid Configuration versus Within-Class Geometry
Shared title terminologycs.LGFelix Baastad Berg, Ulrik Unneberg
Compressing Gated DeltaNet States with a Shared Value Basis and an Adaptive Residual
Shared title terminologycs.LGIvan Krivorotov, Egor Maximov, Aleksei Merkelov et al.