English

Approximation Error Upper and Lower Bounds for H\"{o}lder Class with Transformers

Machine Learning 2026-05-11 v1

Abstract

We explore the expressive power of Transformers by establishing precise approximation error upper and lower bounds for H\"{o}lder class. Specifically, a new approximation upper bound is derived for the standard Transformer architecture equipped with Softmax operators, ReLU activation functions, and residual connections. We prove that a Transformer network composed of at most O(εd0/α)\mathcal{O}(\varepsilon^{-{d_{0}}/{\alpha}}) blocks can approximate any bounded H\"{o}lder function with d0d_{0}-dimensional input and smoothness α(0,1]\alpha\in(0,1] under any accuracy ε>0\varepsilon>0. In the case of approximation lower bounds, leveraging the VC-dimension upper bound, we are the first to rigorously prove that Transformers demand for at least Ω(εd0/(4α))\Omega(\varepsilon^{-{d_{0}}/({4\alpha})}) blocks to achieve the ε\varepsilon approximation accuracy. As a final step, we extend the derived results for standard Transformers to a general regression task and establish the corresponding excess risk rates demonstrating Transformers' empirical effectiveness in real-world settings.

Keywords

Cite

@article{arxiv.2605.07463,
  title  = {Approximation Error Upper and Lower Bounds for H\"{o}lder Class with Transformers},
  author = {Xin He and Yuling Jiao and Xiliang Lu and Jerry Zhijian Yang},
  journal= {arXiv preprint arXiv:2605.07463},
  year   = {2026}
}

Comments

31 pages, 2 figures. Accepted by ICML2026

R2 v1 2026-07-01T12:57:16.670Z