mlsanityData to 14 Oct 2026

O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformers

arXiv 2006.04862 ↗First posted 8 Jun 2020cs.LG stat.MLcited by 83

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

Cited by year (2026 to 14 Oct)

Citing papers per year: 2021: 10; 2022: 10; 2023: 18; 2024: 18; 2025: 16; 2026: 11.

83 papers.

Sort:

By area:

  1. 2023One Fits All:Power General Time Series Analysis by Pretrained LMcited by 632
  2. 2021Rethinking Graph Transformers with Spectral Attentioncited by 473
  3. 2023Trained Transformers Learn Linear Models In-Contextcited by 337
  4. 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspectivecited by 294
  5. 2023Exphormer: Sparse Transformers for Graphscited by 170
  6. 2024Graph-Mamba: Towards Long-Range Graph Sequence Modeling with Selective State Spacescited by 134
  7. 2023SparQ Attention: Bandwidth-Efficient LLM Inferencecited by 119
  8. 2023The Expressive Power of Low-Rank Adaptationcited by 102
  9. 2024Beyond the Limits: A Survey of Techniques to Extend the Context Length in Large Language Modelscited by 76
  10. 2022Revisiting Over-smoothing in BERT from the Perspective of Graphcited by 72
  11. 2023Advancing Transformer Architecture in Long-Context Large Language Models: A Comprehensive Surveycited by 72
  12. 2023Dynamic Context Pruning for Efficient and Interpretable Autoregressive Transformerscited by 67
38 more
  1. 2021Combiner: Full Attention Transformer with Sparse Computation Costcited by 64
  2. 2024SCBench: A KV Cache-Centric Analysis of Long-Context Methodscited by 60
  3. 2025On the Emergence of Position Bias in Transformerscited by 59
  4. 2022Your Transformer May Not be as Powerful as You Expectcited by 55
  5. 2021MATE: Multi-view Attention for Table Transformer Efficiencycited by 54
  6. 2023Do Transformers Parse while Predicting the Masked Word?cited by 48
  7. 2024On the Role of Attention Masks and LayerNorm in Transformerscited by 48
  8. 2021On the Expressive Power of Self-Attention Matricescited by 47
  9. 2023Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?cited by 47
  10. 2021SparseBERT: Rethinking the Importance Analysis in Self-attentioncited by 46
  11. 2024SepLLM: Accelerate Large Language Models by Compressing One Segment into One Separatorcited by 41
  12. 2023Memorization Capacity of Multi-Head Attention in Transformerscited by 40
  13. 2023On the Optimization and Generalization of Multi-head Attentioncited by 37
  14. 2024Mechanics of Next Token Prediction with Self-Attentioncited by 34
  15. 2021Leveraging redundancy in attention with Reuse Transformerscited by 33
  16. 2021Universal Approximation Under Constraints is Possible with Transformerscited by 32
  17. 2024Implicit Bias and Fast Convergence Rates for Self-attentioncited by 31
  18. 2022Unraveling Attention via Convex Duality: Analysis and Interpretations of Vision Transformerscited by 30
  19. 2023Sumformer: Universal Approximation for Efficient Transformerscited by 30
  20. 2023Approximation Rate of the Transformer Architecture for Sequence Modelingcited by 28
  21. 2021Can Vision Transformers Perform Convolution?cited by 18
  22. 2024FrameQuant: Flexible Low-Bit Quantization for Transformerscited by 18
  23. 2022How Expressive are Transformers in Spectral Domain for Graphs?cited by 15
  24. 2022Low-Rank Softmax Can Have Unargmaxable Classes in Theory but Rarely in Practicecited by 15
  25. 2023A Brief Survey on the Approximation Theory for Sequence Modellingcited by 15
  26. 2022Diffuser: Efficient Transformers with Multi-hop Attention Diffusion for Long Sequencescited by 12
  27. 2025Solving Empirical Bayes via Transformerscited by 11
  28. 2023Learning a Fourier Transform for Linear Relative Positional Encodings in Transformerscited by 10
  29. 2024On the Optimal Memorization Capacity of Transformerscited by 10
  30. 2022Treeformer: Dense Gradient Trees for Efficient Attention Computationcited by 9
  31. 2023Do Generative Large Language Models need billions of parameters?cited by 8
  32. 2021Eigen Analysis of Self-Attention and its Reconstruction from Partial Computationcited by 6
  33. 2024Transformers are Expressive, But Are They Expressive Enough for Regression?cited by 6
  34. 2024Snuffy: Efficient Whole Slide Image Classifiercited by 6
  35. 2024TorchGT: A Holistic System for Large-scale Graph Transformer Trainingcited by 5
  36. 2025Compression Barriers for Autoregressive Transformerscited by 5
  37. 2025Transformers Can Overcome the Curse of Dimensionality: A Theoretical Study from an Approximation Perspectivecited by 5
  38. 2022Attention Enables Zero Approximation Errorcited by 4

50 most cited of 83 All 83 (JSON)