EntmaxKV: Support-Aware Decoding for Entmax Attention
On the map: Efficient LLM inference and serving → KV cache optimization
Abstract (arXiv)
Long-context decoding is increasingly limited by KV-cache memory traffic as each generated token attends over a cache whose size grows linearly with context length. Existing sparse decoding methods reduce this cost by selecting subsets of tokens or pages, but are designed for softmax attention, whose dense tails make any truncation discard nonzero probability mass. In contrast, α-entmax produces exact zeros, turning sparse decoding from dense-tail approximation into support recovery: if the selected candidates contain the entmax support, sparse decoding remains exact. While recent entmax kernels enable efficient training, they do not address the autoregressive decoding bottleneck, where dense inference still streams the full KV cache before sparsity is known. In this work, we introduce EntmaxKV, an entmax-native sparse decoding framework that exploits sparsity before KV pages are loaded. EntmaxKV combines query-aware page scoring, support-aware candidate selection, and sparse entmax attention. We analyze truncation error through the dropped probability mass δ, showing that output error is controlled by δ and vanishes when the entmax support is recovered. We further introduce a Gaussian-aware entmax selector that estimates the entmax threshold from lightweight page statistics, adapting the selected budget to the score distribution. Empirically, EntmaxKV drops less probability mass, retains more support tokens, and achieves lower output error than softmax-based sparse decoding at matched KV budgets. On long-context and language modeling benchmarks, it closely matches full-cache entmax while using a small fraction of the KV cache, achieving up to 2.88× (softmax) and 5.5× (entmax) speedup over full attention baselines as well as over 2× speedup over softmax and entmax top-k at 1M context length.
Key facts. No citing papers in the map yet (data through 14 Oct 2026). Placed in KV cache optimization, one of 12 directions in Efficient LLM inference and serving. Builds on 22 of its 25 references that are in the map. First posted on arXiv 20 May 2026.
Builds on
22 of 25 references.
Closest ancestors · 6
Same direction, newest first
- 2025Tactic: Adaptive Sparse Attention with Clustering and Distribution Fitting for Long-Context LLMs17 Feb
- 2024A Simple and Effective L2 Norm-Based Strategy for KV Cache Compression17 Jun
- 2024Quest: Query-Aware Sparsity for Efficient Long-Context LLM Inference16 Jun
- 2024SnapKV: LLM Knows What You are Looking for Before Generation22 Apr
- 2023Efficient Memory Management for Large Language Model Serving with PagedAttention12 Sep
- 2023H2O: Heavy-Hitter Oracle for Efficient Generative Inference of Large Language Models24 Jun
Other references · 16
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2024RULER: What's the Real Context Size of Your Long-Context Language Models?cited by 1,346
- 2019Compressive Transformers for Long-Range Sequence Modellingcited by 726
- 2016From Softmax to Sparsemax: A Sparse Model of Attention and Multi-Label Classificationcited by 341
- 2025Kimi Linear: An Expressive, Efficient Attention Architecturecited by 196
- 2019Sparse Sequence-to-Sequence Modelscited by 170
- 2019Adaptively Sparse Transformerscited by 155
- 2024Transformers are Multi-State RNNscited by 120
- 2024Dynamic Memory Compression: Retrofitting LLMs for Accelerated Inferencecited by 116
- 2024MagicPIG: LSH Sampling for Efficient LLM Generationcited by 111
- 2024Loki: Low-rank Keys for Efficient Sparse Attentioncited by 89
- 2025Twilight: Adaptive Attention Sparsity with Hierarchical Top-p Pruningcited by 49
4 more
- 2018Learning Classifiers with Fenchel-Young Losses: Generalized Entropies, Margins, and Algorithmscited by 27
- 2025Long-Context Generalization with Sparse Attentioncited by 21
- 2025AdaSplash: Adaptive Sparse Flash Attentioncited by 12
- 2026AdaSplash-2: Faster Differentiable Sparse Attentioncited by 3
Built on by
Not cited yet.
Similar, not cited
Close in wording, no citation either way
- 2026Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding
- 2026Sparse Attention as a Range Searching Problem: Towards an Inference-Efficient Index for KV Cache
- 2026MOIRA: Mass-Oriented Indexing with Ragged Attention for Long-Context Decoding
- 2026Guess-Verify-Refine: Data-Aware Top-K for Sparse-Attention Decoding on Blackwell via Temporal Correlation
- 2026Augmenting Attention with Exponentially Decaying Memory Improves Query-Aware KV Sparsity
- 2026AB-Sparse: Sparse Attention with Adaptive Block Size for Accurate and Efficient Long-Context Inference
- 2025Rectified Sparse Attention
- 2026Salca: A Sparsity-Aware Hardware Accelerator for Efficient Long-Context Attention Decoding