On the Convergence of Encoder-only Shallow Transformers
Not on the map. Why?
Abstract (arXiv)
In this paper, we aim to build the global convergence theory of encoder-only shallow Transformers under a realistic setting from the perspective of architectures, initialization, and scaling under a finite width regime. The difficulty lies in how to tackle the softmax in self-attention mechanism, the core ingredient of Transformer. In particular, we diagnose the scaling scheme, carefully tackle the input/output of softmax, and prove that quadratic overparameterization is sufficient for global convergence of our shallow Transformers under commonly-used He/LeCun initialization in practice. Besides, neural tangent kernel (NTK) based analysis is also given, which facilitates a comprehensive comparison. Our theory demonstrates the separation on the importance of different scaling schemes and initialization. We believe our results can pave the way for a better understanding of modern Transformers, particularly on training dynamics.
Key facts. Cited by 13 papers in the map (data through 14 Oct 2026). Builds on 49 of its 61 references that are in the map. First posted on arXiv 2 Nov 2023.
Builds on
49 of 61 references.
References · 49
- 2017Attention Is All You Needcited by 60,361
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2020Language Models are Few-Shot Learnerscited by 32,419
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2018Neural Tangent Kernel: Convergence and Generalization in Neural Networkscited by 2,621
- 2017Non-local Neural Networkscited by 2,293
- 2016Understanding deep learning requires rethinking generalizationcited by 1,674
- 2021Swin Transformer V2: Scaling Up Capacity and Resolutioncited by 1,228
- 2018A Convergence Theory for Deep Learning via Over-Parameterizationcited by 787
- 2019Wide Neural Networks of Any Depth Evolve as Linear Models Under Gradient Descentcited by 738
- 2022Transformers learn in-context by gradient descentcited by 732
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 684
37 more
- 2018On Lazy Training in Differentiable Programmingcited by 675
- 2018Gradient Descent Provably Optimizes Over-parameterized Neural Networkscited by 659
- 2018Gradient Descent Finds Global Minima of Deep Neural Networkscited by 574
- 2019On Exact Computation with an Infinitely Wide Neural Netcited by 573
- 2019Fine-Grained Analysis of Optimization and Generalization for Overparameterized Two-Layer Neural Networkscited by 566
- 2019Surprises in High-Dimensional Ridgeless Least Squares Interpolationcited by 513
- 2022How Do Vision Transformers Work?cited by 307
- 2018Learning Overparameterized Neural Networks via Stochastic Gradient Descent on Structured Datacited by 261
- 2021When Vision Transformers Outperform ResNets without Pre-training or Strong Data Augmentationscited by 260
- 2020Loss landscapes and optimization in over-parameterized non-linear systems and neural networkscited by 233
- 2019Generalization Bounds of Stochastic Gradient Descent for Wide and Deep Neural Networkscited by 222
- 2018Just Interpolate: Kernel "Ridgeless" Regression Can Generalizecited by 190
- 2020Deep learning versus kernel learning: an empirical study of loss landscape geometry and the time evolution of the Neural Tangent Kernelcited by 187
- 2019Towards moderate overparameterization: global convergence guarantees for training shallow neural networkscited by 176
- 2021Inductive Biases and Variable Creation in Self-Attention Mechanismscited by 144
- 2020Tensor Programs II: Neural Tangent Kernel for Any Architecturecited by 143
- 2020On the linearity of large non-linear models: when and why the tangent kernel is constantcited by 129
- 2019An Improved Analysis of Training Over-parameterized Deep Neural Networkscited by 121
- 2020Infinite attention: NNGP and NTK for deep attention networkscited by 121
- 2022Vision Transformers provably learn spatial structurecited by 93
- 2020Tight Bounds on the Smallest Eigenvalue of the Neural Tangent Kernel for Deep ReLU Networkscited by 87
- 2019How Much Over-parameterization Is Sufficient to Learn Deep ReLU Networks?cited by 84
- 2020The Interpolation Phase Transition in Neural Networks: Memorization and Generalization under Lazy Trainingcited by 84
- 2018On the Convergence Rate of Training Recurrent Neural Networkscited by 82
- 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
- 2020The Recurrent Neural Tangent Kernelcited by 67
- 2020Global Convergence of Deep Networks with One Wide Layer Followed by Pyramidal Topologycited by 66
- 2020Why Do Deep Residual Networks Generalize Better than Deep Feedforward Networks? -- A Neural Tangent Kernel Perspectivecited by 60
- 2021On the Proof of Global Convergence of Gradient Descent for Deep ReLU Networks with Linear Widthscited by 44
- 2020Kernel regression in high dimensions: Refined analysis beyond double descentcited by 39
- 2021Approximating How Single Head Attention Learnscited by 38
- 2022Memorization and Optimization in Deep Neural Networks with Minimum Over-parameterizationcited by 36
- 2018On the Spectrum of Random Features Maps of High Dimensional Datacited by 28
- 2022Transformers from an Optimization Perspectivecited by 27
- 2021Subquadratic Overparameterization for Shallow Neural Networkscited by 26
- 2020Kernel-Based Smoothness Analysis of Residual Networkscited by 19
- 2022Generalization Properties of NAS under Activation and Skip Connection Searchcited by 14
Built on by
Citing papers per year: 2024: 5; 2025: 4; 2026: 4.
13 papers.
Sort:
By area:
- 2024Unraveling the Gradient Descent Dynamics of Transformerscited by 11
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysiscited by 9
- 2024Faster WIND: Accelerating Iterative Best-of-N Distillation for LLM Alignmentcited by 9
- 2025Asymptotics of SGD in Sequence-Single Index Models and Single-Layer Attention Networkscited by 9
- 2025On the Convergence of Gradient Descent on Learning Transformers with Residual Connectionscited by 6
- 2024Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Featurescited by 5
- 2026Learning to Adapt: In-Context Learning Beyond Stationaritycited by 2
- 2024Generalizable autoregressive modeling of time series through functional narrativescited by 1
- 2025Depth-induced NTK: Bridging Over-parameterized Neural Networks and Deep Neural Kernelscited by 1
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformerscited by 1
- 2026Training Infinitely Deep and Wide Transformerscited by 1
- 2025A Second-Order Perspective on Pruning at Initialization and Knowledge Transfercited by 0
- 2026Training Infinitely Deep and Wide Transformers17 May 2026
- 2026Learning to Adapt: In-Context Learning Beyond Stationarity13 Apr 2026
- 2026Efficient RGB-D Scene Understanding via Multi-task Adaptive Learning and Cross-dimensional Feature Guidance8 Mar 2026
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformers23 Jan 2026
- 2025Depth-induced NTK: Bridging Over-parameterized Neural Networks and Deep Neural Kernels5 Nov 2025
- 2025A Second-Order Perspective on Pruning at Initialization and Knowledge Transfer28 Sep 2025
- 2025On the Convergence of Gradient Descent on Learning Transformers with Residual Connections5 Jun 2025
- 2025Asymptotics of SGD in Sequence-Single Index Models and Single-Layer Attention Networks3 Jun 2025
- 2024Unraveling the Gradient Descent Dynamics of Transformers12 Nov 2024
- 2024Faster WIND: Accelerating Iterative Best-of-N Distillation for LLM Alignment28 Oct 2024
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysis12 Oct 2024
- 2024Generalizable autoregressive modeling of time series through functional narratives10 Oct 2024
- 2024Unraveling the Gradient Descent Dynamics of Transformerscited by 11
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysiscited by 9
- 2025Asymptotics of SGD in Sequence-Single Index Models and Single-Layer Attention Networkscited by 9
- 2025On the Convergence of Gradient Descent on Learning Transformers with Residual Connectionscited by 6
- 2024Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Featurescited by 5
- 2026Learning to Adapt: In-Context Learning Beyond Stationaritycited by 2
- 2024Generalizable autoregressive modeling of time series through functional narrativescited by 1
- 2025Depth-induced NTK: Bridging Over-parameterized Neural Networks and Deep Neural Kernelscited by 1
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformerscited by 1
- 2026Training Infinitely Deep and Wide Transformerscited by 1
- 2025A Second-Order Perspective on Pruning at Initialization and Knowledge Transfercited by 0
- 2026Efficient RGB-D Scene Understanding via Multi-task Adaptive Learning and Cross-dimensional Feature Guidancecited by 0
- 2026Training Infinitely Deep and Wide Transformers17 May 2026
- 2026Learning to Adapt: In-Context Learning Beyond Stationarity13 Apr 2026
- 2026Efficient RGB-D Scene Understanding via Multi-task Adaptive Learning and Cross-dimensional Feature Guidance8 Mar 2026
- 2026Finite-Time Analysis of Gradient Descent for Shallow Transformers23 Jan 2026
- 2025Depth-induced NTK: Bridging Over-parameterized Neural Networks and Deep Neural Kernels5 Nov 2025
- 2025A Second-Order Perspective on Pruning at Initialization and Knowledge Transfer28 Sep 2025
- 2025On the Convergence of Gradient Descent on Learning Transformers with Residual Connections5 Jun 2025
- 2025Asymptotics of SGD in Sequence-Single Index Models and Single-Layer Attention Networks3 Jun 2025
- 2024Unraveling the Gradient Descent Dynamics of Transformers12 Nov 2024
- 2024Training Dynamics of Transformers to Recognize Word Co-occurrence via Gradient Flow Analysis12 Oct 2024
- 2024Generalizable autoregressive modeling of time series through functional narratives10 Oct 2024
- 2024Towards Understanding the Word Sensitivity of Attention Layers: A Study via Random Features5 Feb 2024