Approximation Error Upper and Lower Bounds for Hölder Class with Transformers
arXiv:2605.07463
Abstract
We explore the expressive power of Transformers by establishing precise approximation error upper and lower bounds for Hö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 blocks can approximate any bounded Hölder function with -dimensional input and smoothness under any accuracy . 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 blocks to achieve the 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.
31 pages, 2 figures. Accepted by ICML2026