Lune

ICML2023Top-tier venue

Approximation and Estimation Ability of Transformers for Sequence-to-Sequence Functions with Infinite Dimensional Input

Shokichi Takakura, Taiji Suzuki

Abstract

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.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

22 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional Data cites 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 cites Vision Transformers provably learn spatial structure
  • Inductive Biases and Variable Creation in Self-Attention Mechanisms cites 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? cites Inductive Biases and Variable Creation in Self-Attention Mechanisms
  • Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators? cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Approximation Rate of the Transformer Architecture for Sequence Modeling cites Inductive Biases and Variable Creation in Self-Attention Mechanisms
  • Approximation Rate of the Transformer Architecture for Sequence Modeling cites Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?
  • Approximation Rate of the Transformer Architecture for Sequence Modeling cites 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 cites 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 cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
  • Transformers are Minimax Optimal Nonparametric In-Context Learners cites Learnability of convolutional neural networks for infinite dimensional input via mixed and anisotropic smoothness
  • Vision Transformers provably learn spatial structure cites Inductive Biases and Variable Creation in Self-Attention Mechanisms
  • Vision Transformers provably learn spatial structure cites An Image is Worth 16x16 Words: Transformers for Image Recognition at Scale
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers22

  1. Transformers are Minimax Optimal Nonparametric In-Context LearnersJuno Kim, Tai Nakamaki, Taiji SuzukiNeurIPS 2024 · 42 citations
  2. Understanding Scaling Laws with Statistical and Approximation Theory for Transformer Neural Networks on Intrinsically Low-dimensional DataAlexander Havrilla, Wenjing LiaoNeurIPS 2024 · 36 citations
  3. Approximation Rate of the Transformer Architecture for Sequence ModelingHaotian Jiang, Qianxiao LiNeurIPS 2024 · 32 citations
  4. Are Transformers with One Layer Self-Attention Using Low-Rank Weight Matrices Universal Approximators?Tokio Kajitsuka, Issei SatoICLR 2024 · 31 citations
  5. What Can Transformer Learn with Varying Depth? Case Studies on Sequence Learning TasksXingwu Chen, Difan ZouICML 2024 · 22 citations

Builds on5

  1. An Image is Worth 16x16 Words: Transformers for Image Recognition at ScaleAlexey Dosovitskiy, Lucas Beyer, Alexander Kolesnikov, Dirk Weissenborn et al.ICLR 2021 · 21,477 citations
  2. Improving Transformer Optimization Through Better InitializationXiao Shi Huang, Felipe Pérez, Jimmy Ba, Maksims VolkovsICML 2020 · 181 citations
  3. Inductive Biases and Variable Creation in Self-Attention MechanismsBenjamin L. Edelman, Surbhi Goel, Sham M. Kakade, Cyril ZhangICML 2022 · 154 citations
  4. Vision Transformers provably learn spatial structureSamy Jelassi, Michael E. Sander, Yuanzhi LiNeurIPS 2022 · 115 citations
  5. Learnability of convolutional neural networks for infinite dimensional input via mixed and anisotropic smoothnessSho Okumoto, Taiji SuzukiICLR 2022 · 9 citations

Related papers

  1. Minimax optimality of convolutional neural networks for infinite dimensional input-output problems and separation from kernel methodsYuto Nishimura, Taiji SuzukiICLR 2024 · 3 citations
  2. Approximation Bounds for Transformer Networks with Application to RegressionYuling Jiao, Yanming Lai, Defeng Sun, Yang Wang et al.ICML 2026 · 6 citations
  3. In-context Learning on Function Classes Unveiled for TransformersZhijie Wang, Bo Jiang, Shuai LiICML 2024 · 8 citations
  4. Are Transformers universal approximators of sequence-to-sequence functions?Chulhee Yun, Srinadh Bhojanapalli, Ankit Singh Rawat, Sashank J. Reddi et al.ICLR 2020 · 481 citations
  5. Deep learning is adaptive to intrinsic dimensionality of model smoothness in anisotropic Besov spaceTaiji Suzuki, Atsushi NitandaNeurIPS 2021 · 76 citations
Dusk over the sea between two cliffs drawn in fine vertical lines