The Gating Mechanism of KV Cache Eviction
New in Efficient LLM inference and serving; no direction yet. Efficient LLM inference and serving
Abstract (arXiv)
KV cache eviction must decide which entries carry information that the rest of the cache can no longer supply. A natural way to estimate this is a learnable gate: give each cached entry a gate on its attention weight and train the gate on the model's own objective. The gate belongs inside the normalizing softmax, where suppressing one entry hands its mass to the others rather than discarding it. That same normalizer absorbs any per-query constant, so a constant gate cancels and reproduces the frozen model exactly. Trained on the language-modeling loss the gate stays near a constant score while its loss falls throughout: optimization succeeds, but a frozen backbone was fit for dense attention, so its loss prefers the no-op, and a near-constant score ranks nothing. The no-op is not a floor the gate improves from but what its objective asks for. A second obstacle survives once the gate moves, since the same gradient charges the gate for errors the frozen model already makes, which no reweighting of positions separates out. Much of the machinery in learnable eviction, from sparsity penalties to relaxations of the discrete decision, works around the first obstacle rather than removing it; both are removed by putting dense attention beyond the gate's reach and making the dense model's predictions its target. Under these two conditions capacity is never the missing ingredient: neither a larger scorer, nor explicit access to the past, nor a trainable backbone helps. The same holds for what eviction unavoidably discards, which is recovered by parameter-free centroids read inside the same softmax far better than by any memory read outside it, since the mass they must return is a share of that normalizer and available nowhere else. At 75% KV cache compression, this gate reaches 90.14 on RULER at 8K and 46.03 on LongBench with Qwen3-8B, 3.72 and 1.36 points below full-cache inference.
Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 54 of its 59 references that are in the map. Submitted 5 Nov 2026.
Builds on
54 of 59 references.
References · 54
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,771
- 2022ReAct: Synergizing Reasoning and Acting in Language Modelscited by 9,589
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttentioncited by 6,685
- 2017Outrageously Large Neural Networks: The Sparsely-Gated Mixture-of-Experts Layercited by 3,767
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,444
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,559
- 2023LongBench: A Bilingual, Multitask Benchmark for Long Context Understandingcited by 1,557
- 2024DeepSeek-V2: A Strong, Economical, and Efficient Mixture-of-Experts Language Modelcited by 1,241
- 2021Train Short, Test Long: Attention with Linear Biases Enables Input Length Extrapolationcited by 1,166
- 2024SnapKV: LLM Knows What You are Looking for Before Generationcited by 1,003
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 940
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Modelscited by 892
38 more
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 798
- 2024KIVI: A Tuning-Free Asymmetric 2bit Quantization for KV Cachecited by 747
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inferencecited by 581
- 2025Native Sparse Attention: Hardware-Aligned and Natively Trainable Sparse Attentioncited by 469
- 2024MInference 1.0: Accelerating Pre-filling for Long-Context LLMs via Dynamic Sparse Attentioncited by 431
- 2023Learning to Compress Prompts with Gist Tokenscited by 426
- 2024Learning to (Learn at Test Time): RNNs with Expressive Hidden Statescited by 415
- 2024Titans: Learning to Memorize at Test Timecited by 383
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 323
- 2024When Attention Sink Emerges in Language Models: An Empirical Viewcited by 236
- 2024Leave No Context Behind: Efficient Infinite Context Transformers with Infini-attentioncited by 223
- 2024You Only Cache Once: Decoder-Decoder Architectures for Language Modelscited by 175
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 125
- 2025KVzip: Query-Agnostic KV Cache Compression with Context Reconstructioncited by 116
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compressioncited by 97
- 2024What is Wrong with Perplexity for Long-context Language Modeling?cited by 81
- 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 69
- 2025R-KV: Redundancy-aware KV Cache Compression for Reasoning Modelscited by 64
- 2025Forgetting Transformer: Softmax Attention with a Forget Gatecited by 60
- 2025KeyDiff: Key Similarity-Based KV Cache Eviction for Long-Context LLM Inference in Resource-Constrained Environmentscited by 59
- 2024D2O: Dynamic Discriminative Operations for Efficient Long-Context Inference of Large Language Modelscited by 37
- 2021Not All Memories are Created Equal: Learning to Forget by Expiringcited by 34
- 2024Selective Attention Improves Transformercited by 33
- 2025Inference-Time Hyper-Scaling with KV Cache Compressioncited by 28
- 2025Sliding Window Attention Training for Efficient Large Language Modelscited by 27
- 2026TriAttention: Efficient Long Reasoning with Trigonometric KV Compressioncited by 26
- 2025Cache What Lasts: Token Retention for Memory-Bounded KV Cache in LLMscited by 23
- 2026Fast KVzip: Efficient and Accurate LLM Inference with Gated KV Evictioncited by 22
- 2024Locret: Enhancing Eviction in Long-Context LLM Inference with Trained Retaining Heads on Consumer-Grade Devicescited by 19
- 2026Hierarchical Sparse Attention Done Right: Toward Infinite Context Modelingcited by 19
- 2024Scaling Stick-Breaking Attention: An Efficient Implementation and In-depth Studycited by 17
- 2026KVzap: Fast, Adaptive, and Faithful KV Cache Pruningcited by 17
- 2025CentroidKV: Efficient Long-Context LLM Inference via KV Cache Clusteringcited by 12
- 2025RATTENTION: Towards the Minimal Sliding Window Size in Local-Global Attention Modelscited by 12
- 2025Native Hybrid Attention for Efficient Sequence Modelingcited by 12
- 2026IndexMem: Learned KV-Cache Eviction with Latent Memory for Long-Context LLM Inferencecited by 10
- 2026Random Attention: Rethinking KV Cache Eviction for Efficient Reasoningcited by 6
- 2026SAS: Simple Attention Sparsification via End-to-End Optimization of Context Rankingcited by 4
50 most cited of 54 All 54 (JSON)
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Sigmoid Attention as a Better Substrate for Learned KV Cache Eviction
- 2026PAGE: Partition-Aware Gated KV-Cache Eviction
- 2026Trust the Mass: Forced Weights in KV-Cache Eviction
- 2025Judge Q: Trainable Queries for Optimized Information Retention in KV Cache Eviction
- 2025G-KV: Decoding-Time KV Cache Eviction with Global Attention
- 2026ValueDiff: Value-Geometric KV Cache Eviction for Sink-Suppressed LLMs
- 2026Who Should Score the Cache? Mid-Depth Layers Are the Best Judges of KV-Cache Eviction
- 2026NoHairCache: Calibrate-Once KV Cache Eviction with One Power-Law Exponent