How Sparse Attention Approximates Exact Attention? Your Attention is Naturally nC-Sparse
Not on the map. Why?
Abstract (arXiv)
Sparse Attention is a technique that approximates standard attention computation with sub-quadratic complexity. This is achieved by selectively ignoring smaller entries in the attention matrix during the softmax function computation. Variations of this technique, such as pruning KV cache, sparsity-based fast attention, and Sparse Transformer, have been extensively utilized for efficient Large Language Models (LLMs) deployment. Despite its widespread use, a theoretical understanding of the conditions under which sparse attention performs on par with traditional attention remains elusive. This work aims to bridge this gap by examining the inherent sparsity of standard attention processes. Our theoretical framework reveals several brand-new key insights: bullet Attention is nC-sparse, implying that considering only the largest Omega(nC) entries out of all n entries is sufficient for sparse attention to approximate the exact attention matrix with decreasing loss. Here, n represents the input length and C ∈ (0, 1) is a constant. bullet Stable o(log(n))-sparse attention, which approximates attention computation with log(n) or fewer entries, may not be feasible since the error will persist at a minimum of O(1). bullet An adaptive strategy (α · nC, α ∈ ℝ) for the window size of efficient attention methods rather than a fixed one is guaranteed to perform more accurately and efficiently in a task for inference on flexible context lengths.
Key facts. Cited by 17 papers in the map (data through 14 Oct 2026). First posted on arXiv 3 Apr 2024.
Builds on
0 of 0 references.
No references here yet.
Built on by
Citing papers per year: 2024: 3; 2025: 5; 2026: 9.
17 papers.
Sort:
By area:
- 2024Exploring the Frontiers of Softmax: Provable Optimization, Applications in Diffusion Model, and Beyondcited by 15
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsitycited by 14
- 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruningcited by 13
- 2026Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Evictioncited by 11
- 2024Towards Infinite-Long Prefix in Transformercited by 10
- 2026Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attentioncited by 7
- 2026AdaCluster: Adaptive Query-Key Clustering for Sparse Attention in Video Generationcited by 6
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networkscited by 4
- 2025Unifying Learning Dynamics and Generalization in Transformers Scaling Lawcited by 2
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutionscited by 2
- 2025NABLA: Neighborhood Adaptive Block-Level Attentioncited by 1
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
5 more
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Ticketscited by 1
- 2026Language Models Can Control Their Own Attentioncited by 1
- 2026HierEdit: Region-Aware Hierarchical Diffusion for Efficient High-Resolution Editingcited by 0
- 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
- 2026What Pretraining and Midtraining Make Learnable from Rewards?cited by 0
- 2026What Pretraining and Midtraining Make Learnable from Rewards?29 Sep 2026
- 2026Language Models Can Control Their Own Attention2 Sep 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026HierEdit: Region-Aware Hierarchical Diffusion for Efficient High-Resolution Editing17 May 2026
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Tickets15 May 2026
- 2026Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Eviction10 May 2026
- 2026AdaCluster: Adaptive Query-Key Clustering for Sparse Attention in Video Generation20 Apr 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2026Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attention6 Feb 2026
- 2025Unifying Learning Dynamics and Generalization in Transformers Scaling Law26 Dec 2025
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategies2 Nov 2025
- 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruning8 Aug 2025
5 more
- 2025NABLA: Neighborhood Adaptive Block-Level Attention17 Jul 2025
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsity3 Jul 2025
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networks3 Nov 2024
- 2024Towards Infinite-Long Prefix in Transformer20 Jun 2024
- 2024Exploring the Frontiers of Softmax: Provable Optimization, Applications in Diffusion Model, and Beyond6 May 2024
- 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruningcited by 13
- 2026Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Evictioncited by 11
- 2026Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attentioncited by 7
- 2026Language Models Can Control Their Own Attentioncited by 1
- 2026Beyond Sparse Weights: When Is Attention Compressible?cited by 0
- 2026Language Models Can Control Their Own Attention2 Sep 2026
- 2026Beyond Sparse Weights: When Is Attention Compressible?21 Aug 2026
- 2026Make Each Token Count: Towards Improving Long-Context Performance with KV Cache Eviction10 May 2026
- 2026Vegas: Self-Speculative Decoding with Verification-Guided Sparse Attention6 Feb 2026
- 2025SlimInfer: Accelerating Long-Context LLM Inference via Dynamic Token Pruning8 Aug 2025
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsitycited by 14
- 2024Towards Infinite-Long Prefix in Transformercited by 10
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networkscited by 4
- 2025Unifying Learning Dynamics and Generalization in Transformers Scaling Lawcited by 2
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutionscited by 2
- 2025NABLA: Neighborhood Adaptive Block-Level Attentioncited by 1
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategiescited by 1
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Ticketscited by 1
- 2026HierEdit: Region-Aware Hierarchical Diffusion for Efficient High-Resolution Editingcited by 0
- 2026What Pretraining and Midtraining Make Learnable from Rewards?cited by 0
- 2026What Pretraining and Midtraining Make Learnable from Rewards?29 Sep 2026
- 2026HierEdit: Region-Aware Hierarchical Diffusion for Efficient High-Resolution Editing17 May 2026
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Tickets15 May 2026
- 2026Gradient Flow Polarizes Softmax Outputs towards Low-Entropy Solutions6 Mar 2026
- 2025Unifying Learning Dynamics and Generalization in Transformers Scaling Law26 Dec 2025
- 2025Optimizing Native Sparse Attention with Latent Attention and Local Global Alternating Strategies2 Nov 2025
- 2025NABLA: Neighborhood Adaptive Block-Level Attention17 Jul 2025
- 2025Position: A Theory of Deep Learning Must Include Compositional Sparsity3 Jul 2025
- 2024Unlocking the Theory Behind Scaling 1-Bit Neural Networks3 Nov 2024
- 2024Towards Infinite-Long Prefix in Transformer20 Jun 2024
Similar, not cited
Close in wording, no citation either way
- 2021Predicting Attention Sparsity in Transformers
- 2025SpargeAttention: Accurate and Training-free Sparse Attention Accelerating Any Model Inference
- 2026Scaling Attention via Feature Sparsity
- 2025vAttention: Verified Sparse Attention
- 2026SpargeAttention2: Trainable Sparse Attention via Hybrid Top-k+Top-p Masking and Distillation Fine-Tuning
- 2025Mixture of Sparse Attention: Content-Based Learnable Sparse Attention via Expert-Choice Routing
- 2023SEA: Sparse Linear Attention with Estimated Attention Mask
- 2026Efficiently Approximating Attention Is Hard