View a PDF of the paper titled Sparse Attention with Entropy-Triggered KV Refresh, by Yilin Guan and 3 other authors
Abstract:Sparse attention reduces the per-step decoding cost of language models trained with full attention. However, it can lengthen generations and lower accuracy, offsetting the per-step savings with additional tokens. We find that sparse-attention errors are most detrimental at steps where the full-attention next-token entropy is high: applying sparse attention only at these steps degrades accuracy far more than applying it at an equal number of random steps. We further find that at these high-entropy steps, most of the degradation stems from errors accumulated into the key-value (KV) cache during earlier sparse decoding, so even attending to the entire cache at such steps results in performance degradation. Motivated by these findings, we propose SparseRepairer, a method which uses sparse next-token entropy to trigger a KV refresh: a full-attention pass that recomputes and replaces the cached KV states to yield the dense next-token distribution for sampling. Across three reasoning models and four benchmarks, SparseRepairer improves accuracy by up to 18.0 percentage points and reduces generation length by up to 49.1% over Quest, while achieving better accuracy-efficiency trade-offs than periodic refresh with both Quest and TidalDecode. With an optimized GPU implementation, SparseRepairer matches dense decoding accuracy with 23.6% lower wall-clock time and runs 7.9% faster than periodic refresh on 87 long-generation MATH-500 problems.
Submission history
From: Yilin Guan [view email]
[v1]
Fri, 27 Nov 2026 21:07:37 UTC (614 KB)
[v2]
Tue, 1 Dec 2026 02:13:42 UTC (616 KB)
![[2611.38285] Sparse Attention with Entropy-Triggered KV Refresh [2611.38285] Sparse Attention with Entropy-Triggered KV Refresh](https://techwavedispatch.com/wp-content/uploads/2026/12/261138285-Sparse-Attention-with-Entropy-Triggered-KV-Refresh-1024x597.png)