Metraipolis › archive › dc_5a575c9922d7
Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding — arXiv:2609.20888
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.20888
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-10T01:44:29.933Z
- SHA-256 of the archived text
29bb90cc22eb5f066164e08089847c51206c49b34390ac7824583f513e69d04f- Stable URL of this page
https://metraipolis.com/documento/dc_5a575c9922d7
How to cite
Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding — arXiv:2609.20888 — arXiv (en), https://arxiv.org/abs/2609.20888 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_5a575c9922d7 (Metraipolis archive dc_5a575c9922d7, sha256 29bb90cc22eb5f066164e08089847c51206c49b34390ac7824583f513e69d04f)
BibTeX
@misc{dc5a575c9922d7,
title = {Elastic Threshold Attention: Learned Contextual Sparsity for Long-Context Decoding — arXiv:2609.20888},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.20888},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_5a575c9922d7; sha256 29bb90cc22eb5f066164e08089847c51206c49b34390ac7824583f513e69d04f},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.20888. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Massive KV caches can cause severe memory-bandwidth bottlenecks during long-context decoding. Sparse attention methods mitigate this problem, but often drop necessary context, leading to quality degradation. We introduce \textbf{Elastic Threshold Attention (ETA)}, an end-to-end trainable architecture that rivals dense model quality under hardware-aligned block-sparse decoding. ETA predicts dynamic, contextual thresholds directly from query representations, adjusting context retention depending on the task at hand. To learn this policy from scratch while enabling near lossless KV cache pruning at inference time, we filter attention logits through a shifted SiLU gate during training. We show theoretically and empirically that this creates a smooth, near-uniform attention floor that neutralizes sub-threshold value contributions while simultaneously causing localized attention sinks on initial tokens to disappear. To materialize these advantages, we implement a fused inference-time kernel in Triton that screens KV blocks in $O(1)$ time using cached geometric-probabilistic bounds. Across language modeling, reasoning, and RULER benchmarks, our 1.45B ETA model matches or exceeds dense quality, outperforming alternative fast decoding methods (Quest, H$_2$O, NSA) while achieving higher sparsity levels. Our kernel also achieves up to $2.15\times$ end-to-end speedups over FlashAttention-2 at context lengths of up to $512$K tokens. Finally, we introduce an offline calibration algorithm for domain-specific deployments that freezes per-head constant thresholds, cutting attention compute by an additional 27\% at no quality cost.
Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-21 in cs.LG).
Categorie arXiv: Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.20888 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-10T01:14:16.590Z dalla pagina https://arxiv.org/catchup/cs.LG/2026-09-21?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).