Gated Sparse Attention: Combining Computational Efficiency with Training Stability for Long-Context Language Models
Not on the map. Why?
Abstract (arXiv)
The computational burden of attention in long-context language models has motivated two largely independent lines of work: sparse attention mechanisms that reduce complexity by attending to selected tokens, and gated attention variants that improve training sta-bility while mitigating the attention sink phenomenon. We observe that these approaches address complementary weaknesses and propose Gated Sparse Attention (GSA), an architecture that realizes the benefits of both. GSA incorporates a gated lightning indexer with sigmoid activations that produce bounded, interpretable selection scores, an adaptive sparsity controller that modulates the number of attended tokens based on local uncertainty, and dual gating at the value and output stages. We establish theoretical foundations for the approach, including complexity analysis, expressiveness results, and convergence guarantees. In experiments with 1.7B parameter models trained on 400B tokens, GSA matches the efficiency of sparse-only baselines (12-16x speedup at 128K context) while achieving the quality gains associated with gated attention: perplexity improves from 6.03 to 5.70, RULER scores at 128K context nearly double, and attention to the first token, a proxy for attention sinks, drops from 47% to under 4%. Training stability improves markedly, with loss spikes reduced by 98%.
Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 8 of its 10 references that are in the map. First posted on arXiv 12 Jan 2026.
Builds on
8 of 10 references.
References · 8
- 2017Attention Is All You Needcited by 60,361
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2023GPT-4 Technical Reportcited by 18,396
- 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
- 2023Efficient Streaming Language Models with Attention Sinkscited by 2,186
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 815
- 2023YaRN: Efficient Context Window Extension of Large Language Modelscited by 601
- 2025Gated Attention for Large Language Models: Non-linearity, Sparsity, and Attention-Sink-Freecited by 283
Built on by
Citing papers per year: 2026: 3.
3 papers.
- 2026Understanding Sparse Attention Selectivity in Long-Context Foundation Models via Counterfactual Evaluationcited by 1
- 2026Do New Attention Mechanisms Actually Fix Attention Sinks at Million-Token Context?cited by 0
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attentioncited by 0
- 2026Abstention and Noise Filtering: Two Missing Primitives of Softmax Attention18 Sep 2026
- 2026Do New Attention Mechanisms Actually Fix Attention Sinks at Million-Token Context?8 Sep 2026
- 2026Understanding Sparse Attention Selectivity in Long-Context Foundation Models via Counterfactual Evaluation3 Aug 2026