Approximation Bounds for Transformer Networks with Application to Regression
Not on the map. Why?
Abstract (arXiv)
We explore the approximation capabilities of Transformer networks for H"older and Sobolev functions, and apply these results to address nonparametric regression estimation with dependent observations. First, we establish novel upper bounds for standard Transformer networks approximating sequence-to-sequence mappings whose component functions are H"older continuous with smoothness index γ ∈ (0,1]. To achieve an approximation error varepsilon under the Lp-norm for p ∈ [1, ∞], it suffices to use a fixed-depth Transformer network whose total number of parameters scales as varepsilon-dx n / γ. This result not only extends existing findings to include the case p = ∞, but also matches the best known upper bounds on number of parameters previously obtained for fixed-depth FNNs and RNNs. Similar bounds are also derived for Sobolev functions. Second, we derive explicit convergence rates for the nonparametric regression problem under various β-mixing data assumptions, which allow the dependence between observations to weaken over time. Our bounds on the sample complexity impose no constraints on weight magnitudes. Lastly, we propose a novel proof strategy to establish approximation bounds, inspired by the Kolmogorov-Arnold representation theorem. We show that if the self-attention layer in a Transformer can perform column averaging, the network can approximate sequence-to-sequence H"older functions, offering new insights into the interpretability of self-attention mechanisms.
Key facts. Cited by 4 papers in the map (data through 14 Oct 2026). Builds on 42 of its 70 references that are in the map. First posted on arXiv 16 Apr 2025.
Builds on
42 of 70 references.
References · 42
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2023GPT-4 Technical Reportcited by 18,396
- 2016Error bounds for approximations with deep ReLU networkscited by 574
- 2017Nonparametric regression using deep neural networks with ReLU activation functioncited by 433
- 2019Are Transformers universal approximators of sequence-to-sequence functions?cited by 406
- 2017Nearly-tight VC-dimension and pseudodimension bounds for piecewise linear neural networkscited by 311
- 2020Deep Network Approximation for Smooth Functionscited by 164
- 2018Adaptivity of deep ReLU network for learning in Besov and mixed smooth Besov spaces: optimal rate and curse of dimensionalitycited by 162
- 2023Birth of a Transformer: A Memory Viewpointcited by 161
30 more
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2019Deep Network Approximation Characterized by Number of Neuronscited by 122
- 2022Overcoming a Theoretical Limitation of Self-Attentioncited by 113
- 2020The Kolmogorov-Arnold representation theorem revisitedcited by 89
- 2020O(n) Connections are Expressive Enough: Universal Approximability of Sparse Transformerscited by 83
- 2019Nonparametric Regression on Low-Dimensional Manifolds using Deep ReLU Networks : Function Approximation and Statistical Recoverycited by 73
- 2022Optimal Approximation Rates for Deep ReLU Neural Networks on Sobolev and Besov Spacescited by 51
- 2023Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?cited by 47
- 2021Deep Network Approximation: Achieving Arbitrary Accuracy with Fixed Number of Neuronscited by 41
- 2024On Expressive Power of Looped Transformers: Theoretical Analysis and Enhancement via Timestep Encodingcited by 36
- 2020Provable Memorization via Deep Neural Networks using Sub-linear Parameterscited by 34
- 2023Approximation and Estimation Ability of Transformers for Sequence-to-Sequence Functions with Infinite Dimensional Inputcited by 32
- 2024Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Datacited by 30
- 2023Approximation Rate of the Transformer Architecture for Sequence Modelingcited by 28
- 2017Mixing time estimation in reversible Markov chains from a single sample pathcited by 27
- 2024Understanding the Expressive Power and Mechanisms of Transformer for Sequence Modelingcited by 25
- 2024Prompting a Pretrained Transformer Can Be a Universal Approximatorcited by 25
- 2023Nonparametric regression using over-parameterized shallow ReLU neural networkscited by 24
- 2024Fundamental Limits of Prompt Tuning Transformers: Universality, Capacity and Efficiencycited by 22
- 2021On the rate of convergence of a classifier based on a Transformer encodercited by 16
- 2024Convergence Analysis of Flow Matching in Latent Space with Transformerscited by 16
- 2023Optimal rates of approximation by shallow ReLUk neural networks and applications to nonparametric regressioncited by 15
- 2022Minimal Width for Universal Property of Deep RNNcited by 12
- 2013Predictive PAC Learning and Process Decompositionscited by 10
- 2024On the Optimal Memorization Capacity of Transformerscited by 10
- 2024Semi-Supervised Deep Sobolev Regression: Estimation and Variable Selection by ReQU Neural Networkcited by 5
- 2022Attention Enables Zero Approximation Errorcited by 4
- 2024Approximation Bounds for Recurrent Neural Networks with Application to Regressioncited by 4
- 2025Approximation of Permutation Invariant Polynomials by Transformers: Efficient Construction in Column-Sizecited by 3
- 2023Statistical Spatially Inhomogeneous Diffusion Inferencecited by 2
Built on by
Citing papers per year: 2025: 2; 2026: 2.
4 papers.
- 2025Posterior Contraction for Sparse Neural Networks in Besov Spaces with Intrinsic Dimensionalitycited by 2
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwardscited by 1
- 2025Learning Guarantee of Reward Modeling Using Deep Neural Networkscited by 0
- 2026Approximation Error Upper and Lower Bounds for H"older Class with Transformerscited by 0
- 2026Universal Approximation of Measure-to-Measure Operators by Pushforwards28 Sep 2026
- 2026Approximation Error Upper and Lower Bounds for H"older Class with Transformers8 May 2026
- 2025Posterior Contraction for Sparse Neural Networks in Besov Spaces with Intrinsic Dimensionality23 Jun 2025
- 2025Learning Guarantee of Reward Modeling Using Deep Neural Networks10 May 2025