Approximation Error Upper and Lower Bounds for Hölder Class with Transformers

Fuente: arXiv
Enregistré dans:
Détails bibliographiques
Auteurs principaux: He, Xin, Jiao, Yuling, Lu, Xiliang, Yang, Jerry Zhijian
Format: Preprint
Publié: 2026
Sujets:
Accès en ligne:
Tags: Ajouter un tag
Pas de tags, Soyez le premier à ajouter un tag!
_version_ 1866911661969899520
author He, Xin
Jiao, Yuling
Lu, Xiliang
Yang, Jerry Zhijian
author_facet He, Xin
Jiao, Yuling
Lu, Xiliang
Yang, Jerry Zhijian
contents 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 $\mathcal{O}(\varepsilon^{-{d_{0}}/α})$ blocks can approximate any bounded Hölder function with $d_{0}$-dimensional input and smoothness $α\in(0,1]$ under any accuracy $\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 $Ω(\varepsilon^{-{d_{0}}/({4α})})$ 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.
format Preprint
id arxiv_https___arxiv_org_abs_2605_07463
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle Approximation Error Upper and Lower Bounds for Hölder Class with Transformers
He, Xin
Jiao, Yuling
Lu, Xiliang
Yang, Jerry Zhijian
Machine Learning
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 $\mathcal{O}(\varepsilon^{-{d_{0}}/α})$ blocks can approximate any bounded Hölder function with $d_{0}$-dimensional input and smoothness $α\in(0,1]$ under any accuracy $\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 $Ω(\varepsilon^{-{d_{0}}/({4α})})$ 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.
title Approximation Error Upper and Lower Bounds for Hölder Class with Transformers
topic Machine Learning
url https://arxiv.org/abs/2605.07463