Approximation and Estimation Ability of Transformers for Sequence-to-Sequence Functions with Infinite Dimensional Input
Shokichi Takakura, Taiji Suzuki
摘要
Despite the great success of Transformer networks in various applications such as natural language processing and computer vision, their theoretical aspects are not well understood. In this paper, we study the approximation and estimation ability of Transformers as sequence-to-sequence functions with infinite dimensional inputs. Although inputs and outputs are both infinite dimensional, we show that when the target function has anisotropic smoothness, Transformers can avoid the curse of dimensionality due to their feature extraction ability and parameter sharing property. In addition, we show that even if the smoothness changes depending on each input, Transformers can estimate the importance of features for each input and extract important features dynamically. Then, we proved that Transformers achieve similar convergence rate as in the case of the fixed smoothness. Our theoretical results support the practical success of Transformers for high dimensional data.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 22 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Data 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
- Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Data 引用了 Vision Transformers provably learn spatial structure
- Inductive Biases and Variable Creation in Self-Attention Mechanisms 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators? 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
- Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators? 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Approximation Rate of the Transformer Architecture for Sequence Modeling 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
- Approximation Rate of the Transformer Architecture for Sequence Modeling 引用了 Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?
- Approximation Rate of the Transformer Architecture for Sequence Modeling 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Tasks 引用了 Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?
- What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning Tasks 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
- Transformers are Minimax Optimal Nonparametric In-Context Learners 引用了 Learnability of convolutional neural networks for infinite dimensional input via mixed and anisotropic smoothness
- Vision Transformers provably learn spatial structure 引用了 Inductive Biases and Variable Creation in Self-Attention Mechanisms
- Vision Transformers provably learn spatial structure 引用了 An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
引用它的顶会 Paper22
- Transformers are Minimax Optimal Nonparametric In-Context LearnersJuno Kim, Tai Nakamaki, Taiji SuzukiNeurIPS 2024 · 42 次引用
- Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional DataAlexander Havrilla, Wenjing LiaoNeurIPS 2024 · 36 次引用
- Approximation Rate of the Transformer Architecture for Sequence ModelingHaotian Jiang, Qianxiao LiNeurIPS 2024 · 32 次引用
- Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?Tokio Kajitsuka, Issei SatoICLR 2024 · 31 次引用
- What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning TasksXingwu Chen, Difan ZouICML 2024 · 22 次引用
它引用的 Paper5
- An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn 等ICLR 2021 · 21,477 次引用
- Improving Transformer Optimization Through Better InitializationXiao Shi Huang, Felipe Pérez, Jimmy Ba, Maksims VolkovsICML 2020 · 181 次引用
- Inductive Biases and Variable Creation in Self-Attention MechanismsBenjamin L. Edelman, Surbhi Goel, Sham M. Kakade, Cyril ZhangICML 2022 · 154 次引用
- Vision Transformers provably learn spatial structureSamy Jelassi, Michael E. Sander, Yuanzhi LiNeurIPS 2022 · 115 次引用
- Learnability of convolutional neural networks for infinite dimensional input via mixed and anisotropic smoothnessSho Okumoto, Taiji SuzukiICLR 2022 · 9 次引用
相关 Paper
- Minimax optimality of convolutional neural networks for infinite dimensional input-output problems and separation from kernel methodsYuto Nishimura, Taiji SuzukiICLR 2024 · 3 次引用
- Approximation Bounds for Transformer Networks with Application to RegressionYuling Jiao, Yanming Lai, Defeng Sun, Yang Wang 等ICML 2026 · 6 次引用
- In-context Learning on Function Classes Unveiled for TransformersZhijie Wang, Bo Jiang, Shuai LiICML 2024 · 8 次引用
- Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi 等ICLR 2020 · 481 次引用
- Deep learning is adaptive to intrinsic dimensionality of model smoothness in anisotropic Besov spaceTaiji Suzuki, Atsushi NitandaNeurIPS 2021 · 76 次引用
