arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.07463cs.LG
收藏

Transformer 对 Hölder 类的近似误差上界和下界研究

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

School of Mathematics and Statistics, Wuhan University, Wuhan, China(武汉大学数学与统计学学院);School of Artificial Intelligence, Wuhan University, Wuhan, China(武汉大学人工智能学院);Hubei Key Laboratory of Computational Science, Wuhan University, Wuhan, China(湖北省计算科学重点实验室)

Xin He, Yuling Jiao, Xiliang Lu, Jerry Zhijian Yang

AI总结:

本文研究了 Transformer 的表达能力,推导了 Hölder 类的近似误差上界和下界,证明了 Transformer 网络在一定块数下可近似任意 Hölder 函数,并展示了其在回归任务中的有效性。

摘要:

我们通过建立精确的近似误差上界和下界来探讨 Transformer 的表达能力。具体而言,我们为标准 Transformer 架构推导了新的近似上界,证明了由至多 O(ε^{-d₀/α}) 块组成的 Transformer 网络可近似任意有界的 Hölder 函数,其输入维度为 d₀,光滑度为 α∈(0,1]。在下界方面,利用 VC 维度上界,我们首次严格证明 Transformer 至少需要 Ω(ε^{-d₀/(4α)}) 块才能达到 ε 的近似精度。最后,我们将推导出的结果扩展到一般回归任务,并建立了相应的超额风险率,展示了 Transformer 在现实场景中的有效性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑