Training Dynamics of Softmax Self-Attention: Fast Global Convergence via Preconditioning
Not on the map. Why?
Abstract (arXiv)
We study the training dynamics of gradient descent in a softmax self-attention layer trained to perform linear regression and show that a simple first-order optimization algorithm can converge to the globally optimal self-attention parameters at a geometric rate. Our analysis proceeds in two steps. First, we show that in the infinite-data limit the regression problem solved by the self-attention layer is equivalent to a nonconvex matrix factorization problem. Second, we exploit this connection to design a novel "structure-aware" variant of gradient descent which efficiently optimizes the original finite-data regression objective. Our optimization algorithm features several innovations over standard gradient descent, including a preconditioner and regularizer which help avoid spurious stationary points, and a data-dependent spectral initialization of parameters which lie near the manifold of global minima with high probability.
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 17 of its 23 references that are in the map. First posted on arXiv 2 Mar 2026.
Builds on
17 of 23 references.
References · 17
- 2017Attention Is All You Needcited by 59,932
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2023GPT-4 Technical Reportcited by 18,132
- 2014Neural Machine Translation by Jointly Learning to Align and Translatecited by 4,530
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 413
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers as Statisticians: Provable In-Context Learning with In-Context Algorithm Selectioncited by 291
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 179
- 2015Low-rank Solutions of Linear Matrix Equations via Procrustes Flowcited by 97
5 more
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 97
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2024Training Dynamics of Multi-Head Softmax Attention for In-Context Learning: Emergence, Convergence, and Optimalitycited by 71
- 2022Formal Algorithms for Transformerscited by 70
- 2023Max-Margin Token Selection in Attention Mechanismcited by 57
Built on by
Citing papers per year: 2026: 4.
4 papers.
- 2026Echo: KV-Cache-Free Associative Recall with Spectral Koopman Operatorscited by 1
- 2026Stochastic approximation in non-markovian environments revisitedcited by 0
- 2026Unbiased Gradients, Moving Stability Boundaries: Exact Mini-Batch Geometry in Linear Self-Attentioncited by 0
- 2026Reachability and asymptotics of Gaussian Transformer dynamicscited by 0
- 2026Reachability and asymptotics of Gaussian Transformer dynamics29 May 2026
- 2026Unbiased Gradients, Moving Stability Boundaries: Exact Mini-Batch Geometry in Linear Self-Attention20 May 2026
- 2026Echo: KV-Cache-Free Associative Recall with Spectral Koopman Operators7 May 2026
- 2026Stochastic approximation in non-markovian environments revisited22 Mar 2026