O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformers
Not on the map. Why?
Abstract (arXiv)
Recently, Transformer networks have redefined the state of the art in many NLP tasks. However, these models suffer from quadratic computational cost in the input sequence length n to compute pairwise attention in each layer. This has prompted recent research into sparse Transformers that sparsify the connections in the attention layers. While empirically promising for long sequences, fundamental questions remain unanswered: Can sparse Transformers approximate any arbitrary sequence-to-sequence function, similar to their dense counterparts? How does the sparsity pattern and the sparsity level affect their performance? In this paper, we address these questions and provide a unifying framework that captures existing sparse attention models. We propose sufficient conditions under which we prove that a sparse attention model can universally approximate any sequence-to-sequence function. Surprisingly, our results show that sparse Transformers with only O(n) connections per attention layer can approximate the same function class as the dense model with n2 connections. Lastly, we present experiments comparing different patterns/levels of sparsity on standard NLP tasks.
Key facts. Cited by 83 papers in the map (data through 14 Oct 2026). First posted on arXiv 8 Jun 2020.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 10; 2022: 10; 2023: 18; 2024: 18; 2025: 16; 2026: 11.
83 papers.
Sort:
By area:
- 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 632
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2023Exphormer: Sparse Transformers for Graphscited by 170
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 134
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
- 2023The Expressive Power of Low-Rank Adaptationcited by 102
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 76
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 72
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
38 more
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 60
- 2025On the Emergence of Position Bias in Transformerscited by 59
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2021MATE: Multi-view Attention for Table Transformer Efficiencycited by 54
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
- 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 48
- 2021On the Expressive Power of Self-Attention Matricescited by 47
- 2023Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?cited by 47
- 2021SparseBERT: Rethinking the Importance Analysis in Self-attentioncited by 46
- 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separatorcited by 41
- 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 40
- 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
- 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
- 2021Leveraging redundancy in attention with Reuse Transformerscited by 33
- 2021Universal Approximation Under Constraints is Possible with Transformerscited by 32
- 2024Implicit Bias and Fast Convergence Rates for Self-attentioncited by 31
- 2022Unraveling Attention via Convex Duality: Analysis and Interpretations of Vision Transformerscited by 30
- 2023Sumformer: Universal Approximation for Efficient Transformerscited by 30
- 2023Approximation Rate of the Transformer Architecture for Sequence Modelingcited by 28
- 2021Can Vision Transformers Perform Convolution?cited by 18
- 2024FrameQuant: Flexible Low-Bit Quantization for Transformerscited by 18
- 2022How Expressive are Transformers in Spectral Domain for Graphs?cited by 15
- 2022Low-Rank Softmax Can Have Unargmaxable Classes in Theory but Rarely in Practicecited by 15
- 2023A Brief Survey on the Approximation Theory for Sequence Modellingcited by 15
- 2022Diffuser: Efficient Transformers with Multi-hop Attention Diffusion for Long Sequencescited by 12
- 2025Solving Empirical Bayes via Transformerscited by 11
- 2023Learning a Fourier Transform for Linear Relative Positional Encodings in Transformerscited by 10
- 2024On the Optimal Memorization Capacity of Transformerscited by 10
- 2022Treeformer: Dense Gradient Trees for Efficient Attention Computationcited by 9
- 2023Do Generative Large Language Models need billions of parameters?cited by 8
- 2021Eigen Analysis of Self-Attention and its Reconstruction from Partial Computationcited by 6
- 2024Transformers are Expressive, But Are They Expressive Enough for Regression?cited by 6
- 2024Snuffy: Efficient Whole Slide Image Classifiercited by 6
- 2024TorchGT: A Holistic System for Large-scale Graph Transformer Trainingcited by 5
- 2025Compression Barriers for Autoregressive Transformerscited by 5
- 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspectivecited by 5
- 2022Attention Enables Zero Approximation Errorcited by 4
50 most cited of 83 All 83 (JSON)
- 2026On the Trade-off Between Information Loss and Generalization in Sparse Attention3 Oct 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026How Data Shapes RoPE Frequency Usage: From Positional Scale Matching to Length Generalization8 Jul 2026
- 2026DnA: Denoising Attention for Visual Tasks25 Jun 2026
- 2026An expressivity analysis of hierarchical modelling in deep transformers via bounded-depth grammars16 Jun 2026
- 2026How Many Different Outputs Can a Transformer Generate?21 May 2026
- 2026InfoFlow: A Framework for Multi-Layer Transformer Analysis18 May 2026
- 2026Learning Theory of Transformers: Local-to-Global Approximation via Softmax Partition of Unity9 May 2026
- 2026k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPS4 Apr 2026
- 2026On the Expressive Power of Transformers for Maxout Networks and Continuous Piecewise Linear Functions3 Mar 2026
- 2026On the Expressive Power of Floating-Point Transformers23 Jan 2026
- 2025On the Universality of Transformer Architectures; How Much Attention Is Enough?20 Dec 2025
38 more
- 2025Rectifying LLM Thought from Lens of Optimization1 Dec 2025
- 2025The Effect of Attention Head Count on Transformer Approximation8 Oct 2025
- 2025Transformers in Pseudo-Random Number Generation: A Dual Perspective on Theory and Practice2 Aug 2025
- 2025BLaST: High Performance Inference and Pretraining using BLock Sparse Transformers3 Jul 2025
- 2025A unified framework for establishing the universal approximation of transformer-type architectures30 Jun 2025
- 2025Two Heads Are Better than One: Simulating Large Transformers with Small Ones13 Jun 2025
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Acceleration6 Jun 2025
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspective26 May 2025
- 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspective18 Apr 2025
- 2025Approximation Bounds for Transformer Networks with Application to Regression16 Apr 2025
- 2025Kolmogorov-Arnold Attention: Is Learnable Attention Better For Vision Transformers?13 Mar 2025
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2025Approximation of Permutation Invariant Polynomials by Transformers: Efficient Construction in Column-Size17 Feb 2025
- 2025Solving Empirical Bayes via Transformers14 Feb 2025
- 2025On the Emergence of Position Bias in Transformers4 Feb 2025
- 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separator16 Dec 2024
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec 2024
- 2024On the Optimal Memorization Capacity of Transformers26 Sep 2024
- 2024On Expressive Power of Quantized Neural Networks under Fixed-Point Arithmetic30 Aug 2024
- 2024Snuffy: Efficient Whole Slide Image Classifier15 Aug 2024
- 2024TorchGT: A Holistic System for Large-scale Graph Transformer Training19 Jul 2024
- 2024Dynamic Universal Approximation Theory: The Basic Theory for Transformer-based Large Language Models1 Jul 2024
- 2024Fibottention: Inceptive Visual Representation Learning with Diverse Attention Across Heads27 Jun 2024
- 2024How Out-of-Distribution Detection Learning Theory Enhances Transformer: Learnability and Reliability13 Jun 2024
- 2024On the Role of Attention Masks and LayerNorm in Transformers29 May 2024
- 2024Mechanics of Next Token Prediction with Self-Attention12 Mar 2024
- 2024FrameQuant: Flexible Low-Bit Quantization for Transformers10 Mar 2024
- 2024Transformers are Expressive, But Are They Expressive Enough for Regression?23 Feb 2024
- 2024Implicit Bias and Fast Convergence Rates for Self-attention8 Feb 2024
- 2024Approximation Rates and VC-Dimension Bounds for (P)ReLU MLP Mixture of Experts5 Feb 2024
- 2024A Hyper-Transformer model for Controllable Pareto Front Learning with Split Feasibility Constraints4 Feb 2024
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models3 Feb 2024
- 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spaces1 Feb 2024
- 2023SparQ Attention: Bandwidth-Efficient LLM Inference8 Dec 2023
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Survey21 Nov 2023
- 2023The Expressive Power of Low-Rank Adaptation26 Oct 2023
- 2023On the Optimization and Generalization of Multi-head Attention19 Oct 2023
- 2023Do Generative Large Language Models need billions of parameters?12 Sep 2023
50 newest of 83 All 83 (JSON)
- 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 60
- 2025Compression Barriers for Autoregressive Transformerscited by 5
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Accelerationcited by 4
- 2025DAM: Dynamic Attention Mask for Long-Context Large Language Model Inference Acceleration6 Jun 2025
- 2025Compression Barriers for Autoregressive Transformers21 Feb 2025
- 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methods13 Dec 2024
- 2023SparQ Attention: Bandwidth-Efficient LLM Inference8 Dec 2023
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 76
- 2025Rectifying LLM Thought from Lens of Optimizationcited by 4
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspectivecited by 2
- 2025Rectifying LLM Thought from Lens of Optimization1 Dec 2025
- 2025Deciphering Trajectory-Aided LLM Reasoning: An Optimization Perspective26 May 2025
- 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Models3 Feb 2024
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective24 May 2023
- 2023The Expressive Power of Low-Rank Adaptationcited by 102
- 2023The Expressive Power of Low-Rank Adaptation26 Oct 2023
- 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 632
- 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
- 2023Trained Transformers Learn Linear Models In-Contextcited by 337
- 2023Exphormer: Sparse Transformers for Graphscited by 170
- 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 72
- 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
- 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
- 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
- 2025On the Emergence of Position Bias in Transformerscited by 59
- 2022Your Transformer May Not be as Powerful as You Expectcited by 55
- 2021MATE: Multi-view Attention for Table Transformer Efficiencycited by 54
- 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
12 most cited of 72 All 72 (JSON)
- 2026On the Trade-off Between Information Loss and Generalization in Sparse Attention3 Oct 2026
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026How Data Shapes RoPE Frequency Usage: From Positional Scale Matching to Length Generalization8 Jul 2026
- 2026DnA: Denoising Attention for Visual Tasks25 Jun 2026
- 2026An expressivity analysis of hierarchical modelling in deep transformers via bounded-depth grammars16 Jun 2026
- 2026How Many Different Outputs Can a Transformer Generate?21 May 2026
- 2026InfoFlow: A Framework for Multi-Layer Transformer Analysis18 May 2026
- 2026Learning Theory of Transformers: Local-to-Global Approximation via Softmax Partition of Unity9 May 2026
- 2026k-Maximum Inner Product Attention for Graph Transformers and the Expressive Power of GraphGPS4 Apr 2026
- 2026On the Expressive Power of Transformers for Maxout Networks and Continuous Piecewise Linear Functions3 Mar 2026
- 2026On the Expressive Power of Floating-Point Transformers23 Jan 2026
- 2025On the Universality of Transformer Architectures; How Much Attention Is Enough?20 Dec 2025
12 newest of 72 All 72 (JSON)