Linear attention is (maybe) all you need (to understand transformer optimization)
Not on the map. Why?
Abstract (arXiv)
Transformer training is notoriously difficult, requiring a careful design of optimizers and use of various heuristics. We make progress towards understanding the subtleties of training Transformers by carefully studying a simple yet canonical linearized shallow Transformer model. Specifically, we train linear Transformers to solve regression tasks, inspired by J.~von Oswald et al.~(ICML 2023), and K.~Ahn et al.~(NeurIPS 2023). Most importantly, we observe that our proposed linearized models can reproduce several prominent aspects of Transformer training dynamics. Consequently, the results obtained in this paper suggest that a simple linearized Transformer model could actually be a valuable, realistic abstraction for understanding Transformer optimization.
Key facts. Cited by 97 papers in the map (data through 7 Oct 2026). Builds on 24 of its 31 references that are in the map. First posted on arXiv 2 Oct 2023.
Builds on
24 of 31 references.
References · 24
- 2017Attention Is All You Needcited by 59,932
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,204
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022Transformers learn in-context by gradient descentcited by 714
- 2022What Can Transformers Learn In-Context? A Case Study of Simple Function Classescited by 700
- 2022What learning algorithm is in-context learning? Investigations with linear modelscited by 671
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 335
- 2023Trained Transformers Learn Linear Models In-Contextcited by 331
- 2023Transformers learn to implement preconditioned gradient descent for in-context learningcited by 274
- 2017The Marginal Value of Adaptive Gradient Methods in Machine Learningcited by 248
- 2020Understanding the Difficulty of Training Transformerscited by 210
12 more
- 2023One Step of Gradient Descent is Provably the Optimal In-Context Learner with One Layer of Linear Self-Attentioncited by 168
- 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
- 2022Unveiling Transformers with LEGO: a synthetic reasoning taskcited by 105
- 2023How Do Transformers Learn Topic Structure: Towards a Mechanistic Understandingcited by 85
- 2022Robustness to Unbounded Smoothness of Generalized SignSGDcited by 80
- 2023A Theoretical Understanding of Shallow Vision Transformers: Learning, Generalization, and Sample Complexitycited by 77
- 2022Learning threshold neurons via the "edge of stability"cited by 50
- 2023Toward Understanding Why Adam Converges Faster Than SGD for Transformerscited by 50
- 2023On the Role of Attention in Prompt-tuningcited by 49
- 2023The Crucial Role of Normalization in Sharpness-Aware Minimizationcited by 26
- 2022How Does Adaptive Optimization Impact Local Neural Network Geometry?cited by 24
- 2023A Mechanism for Sample-Efficient In-Context Learning for Sparse Retrieval Taskscited by 17
Built on by
Citing papers per year: 2023: 1; 2024: 33; 2025: 34; 2026: 29.
97 papers.
Sort:
By area:
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 78
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?cited by 60
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2024From Gradient Clipping to Normalization for Heavy Tailed SGDcited by 48
- 2024Why Larger Language Models Do In-context Learning Differently?cited by 44
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2024Transformers Learn Nonlinear Features In Context: Nonconvex Mean-field Dynamics on the Attention Landscapecited by 43
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
38 more
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 40
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noisecited by 38
- 2024Does SGD really happen in tiny subspaces?cited by 35
- 2025Transformers Learn to Implement Multi-step Gradient Descent with Chain of Thoughtcited by 32
- 2024Training Tensor Attention Efficiently: From Cubic to Almost Linear Timecited by 29
- 2024Pretrained transformer efficiently learns low-dimensional target functions in-contextcited by 29
- 2024Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguisecited by 23
- 2024Adam with model exponential moving average is effective for nonconvex optimizationcited by 22
- 2024Setting the Record Straight on Transformer Oversmoothingcited by 19
- 2024Superiority of Multi-Head Attention in In-Context Linear Regressioncited by 17
- 2025Can SGD Handle Heavy-Tailed Noise?cited by 15
- 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modelingcited by 14
- 2024Towards Understanding Inductive Bias in Transformers: A View From Infinitycited by 13
- 2025Short-length Adversarial Training Helps LLMs Defend Long-length Jailbreak Attacks: Theoretical and Empirical Evidencecited by 13
- 2024A Survey to Recent Progress Towards Understanding In-Context Learningcited by 12
- 2024On the Role of Depth and Looping for In-Context Learning with Task Diversitycited by 11
- 2024Explicitly Encoding Structural Symmetry is Key to Length Generalization in Arithmetic Taskscited by 10
- 2024What Does It Mean to Be a Transformer? Insights from a Theoretical Hessian Analysiscited by 9
- 2025Fast RoPE Attention: Combining the Polynomial Method and Fast Fourier Transformcited by 9
- 2024AdAdaGrad: Adaptive Batch Size Schemes for Adaptive Gradient Methodscited by 8
- 2025Position: Solve Layerwise Linear Models First to Understand Neural Dynamical Phenomena (Neural Collapse, Emergence, Lazy/Rich Regime, and Grokking)cited by 8
- 2026Muon with Nesterov Momentum: Heavy-Tailed Noise and (Randomized) Inexact Polar Decompositioncited by 8
- 2025On the Role of Transformer Feed-Forward Layers in Nonlinear In-Context Learningcited by 7
- 2025Efficient Distributed Optimization under Heavy-Tailed Noisecited by 7
- 2025Only Large Weights (And Not Skip Connections) Can Prevent the Perils of Rank Collapsecited by 7
- 2024Transfer Learning Beyond Bounded Density Ratioscited by 6
- 2024Theoretical Understanding of In-Context Learning in Shallow Transformers with Unstructured Datacited by 5
- 2024On Mesa-Optimization in Autoregressively Trained Transformers: Emergence and Capabilitycited by 5
- 2024In-Context Learning of Linear Systems: Generalization Theory and Applications to Operator Learningcited by 5
- 2024Learning Linear Attention in Polynomial Timecited by 5
- 2025Out-of-Distribution Generalization of In-Context Learning: A Low-Dimensional Subspace Perspectivecited by 5
- 2025On the Origin of Algorithmic Progress in AIcited by 5
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 5
- 2025Scaling Recurrent Neural Networks to a Billion Parameters with Zero-Order Optimizationcited by 4
- 2025Understanding the Role of Training Data in Test-Time Scalingcited by 4
- 2026Training Dynamics of Softmax Self-Attention: Fast Global Convergence via Preconditioningcited by 4
- 2024On Understanding Attention-Based In-Context Learning for Categorical Datacited by 3
- 2025When Can You Get Away with Low Memory Adam?cited by 3
50 most cited of 97 All 97 (JSON)
- 2026Are In-Context Images Worth 10 Dimensions?29 Sep 2026
- 2026TR-SSQP: A Trust-Region Method for Constrained Stochastic Optimization under Heavy-Tailed Noise25 Sep 2026
- 2026TriCCOT: Tri-part Convolutional Conformal Transformer for Onboard Space Object Detection8 Sep 2026
- 2026The Convergence Behavior of Adam under Heavy-Tailed Noise29 Jul 2026
- 2026Vanilla SGD with Momentum Survives Heavy-Tailed Noise: Convergence Analysis without Gradient Clipping or Normalization9 Jul 2026
- 2026Open Problem: Is AdamW Effective Under Heavy-Tailed Noise?22 Jun 2026
- 2026Free Heavy-Tailed Lunch for Muon: A Theoretical Justification of Empirical Success12 Jun 2026
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026The Effect of Training Task Diversity on In-Context Learning through the Lens of Low-Dimensional Subspaces5 Jun 2026
- 2026In-Expectation Convergence of Stochastic Gradient Methods under Heavy-Tailed Noise30 May 2026
- 2026Zeroth-Order Nonconvex Nonsmooth Optimization with Heavy-Tailed Noise23 May 2026
- 2026Can Adaptive Gradient Methods Converge under Heavy-Tailed Noise? A Case Study of AdaGrad18 May 2026
38 more
- 2026Grokking as Structural Inference: Transformers Need Bayesian Lottery Tickets15 May 2026
- 2026Gradient Clipping Beyond Vector Norms: A Spectral Approach for Matrix-Valued Parameters12 May 2026
- 2026Freeze Deep, Train Shallow: Interpretable Layer Allocation for Continued Pre-Training12 May 2026
- 2026Muon with Nesterov Momentum: Heavy-Tailed Noise and (Randomized) Inexact Polar Decomposition7 May 2026
- 2026LayerTracer: A Joint Task-Particle and Vulnerable-Layer Analysis framework for Arbitrary Large Language Model Architectures22 Apr 2026
- 2026Understanding and Improving Continuous Adversarial Training for LLMs via In-context Learning Theory14 Apr 2026
- 2026MTLSI-Net: A Linear Semantic Interaction Network for Parameter-Efficient Multi-Task Dense Prediction2 Apr 2026
- 2026RAMPAGE: RAndomized Mid-Point for debiAsed Gradient Extrapolation23 Mar 2026
- 2026Muon Converges under Heavy-Tailed Noise: Nonconvex H"older-Smooth Empirical Risk Minimization16 Mar 2026
- 2026Linearized Attention Cannot Enter the Kernel Regime at Any Practical Width13 Mar 2026
- 2026Training Dynamics of Softmax Self-Attention: Fast Global Convergence via Preconditioning2 Mar 2026
- 2026Fine-Tuning Without Forgetting In-Context Learning: A Theoretical Analysis of Linear Attention Models26 Feb 2026
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizers17 Feb 2026
- 2026Why is Normalization Preferred? A Worst-Case Complexity Theory for Stochastically Preconditioned SGD under Heavy-Tailed Noise13 Feb 2026
- 2026Every Bit Counts: A Theoretical Study of Precision-Expressivity Tradeoffs in Quantized Transformers2 Feb 2026
- 2026Optimal Asynchronous Stochastic Nonconvex Optimization under Heavy-Tailed Noise27 Jan 2026
- 2026Near-Optimal Decentralized Stochastic Nonconvex Optimization with Heavy-Tailed Noise16 Jan 2026
- 2025Softmax as Linear Attention in the Large-Prompt Regime: a Measure-based Perspective12 Dec 2025
- 2025On the Origin of Algorithmic Progress in AI26 Nov 2025
- 2025Convergence dynamics of Agent-to-Agent Interactions with Misaligned objectives11 Nov 2025
- 2025Federated Stochastic Minimax Optimization under Heavy-Tailed Noises6 Nov 2025
- 2025SCALE: Upscaled Continual Learning of Large Language Models5 Nov 2025
- 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regime30 Oct 2025
- 2025Extragradient Method for (L0, L1)-Lipschitz Root-finding Problems25 Oct 2025
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noise15 Oct 2025
- 2025Second-order Optimization under Heavy-Tailed Noise: Hessian Clipping and Sample Complexity Limits12 Oct 2025
- 2025Understanding the Role of Training Data in Test-Time Scaling4 Oct 2025
- 2025In-Context Compositional Q-Learning for Offline Reinforcement Learning28 Sep 2025
- 2025Nonconvex Decentralized Stochastic Bilevel Optimization under Heavy-Tailed Noise19 Sep 2025
- 2025Stochastic Bilevel Optimization with Heavy-Tailed Noise18 Sep 2025
- 2025Dynamic Adaptive Shared Experts with Grouped Multi-Head Attention Mixture of Experts5 Sep 2025
- 2025Towards Theoretical Understanding of Transformer Test-Time Computing: Investigation on In-Context Linear Regression11 Aug 2025
- 2025Can SGD Handle Heavy-Tailed Noise?6 Aug 2025
- 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modeling14 Jun 2025
- 2025Long-Short Alignment for Effective Long-Context Modeling in LLMs13 Jun 2025
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noise4 Jun 2025
- 2025Scaling Recurrent Neural Networks to a Billion Parameters with Zero-Order Optimization23 May 2025
- 2025Only Large Weights (And Not Skip Connections) Can Prevent the Perils of Rank Collapse22 May 2025
50 newest of 97 All 97 (JSON)
- 2024A Theoretical Understanding of Self-Correction through In-context Alignmentcited by 43
- 2025Transformers Learn to Implement Multi-step Gradient Descent with Chain of Thoughtcited by 32
- 2024Explicitly Encoding Structural Symmetry is Key to Length Generalization in Arithmetic Taskscited by 10
- 2025Understanding the Role of Training Data in Test-Time Scalingcited by 4
- 2025Understanding the Role of Training Data in Test-Time Scaling4 Oct 2025
- 2025Transformers Learn to Implement Multi-step Gradient Descent with Chain of Thought28 Feb 2025
- 2024Explicitly Encoding Structural Symmetry is Key to Length Generalization in Arithmetic Tasks4 Jun 2024
- 2024A Theoretical Understanding of Self-Correction through In-context Alignment28 May 2024
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 134
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 123
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 78
- 2023Transformers Implement Functional Gradient Descent to Learn Non-Linear Functions In Contextcited by 63
- 2024Can Looped Transformers Learn to Implement Multi-step Gradient Descent for In-context Learning?cited by 60
- 2024Active-Dormant Attention Heads: Mechanistically Demystifying Extreme-Token Phenomena in LLMscited by 54
- 2024From Gradient Clipping to Normalization for Heavy Tailed SGDcited by 48
- 2024Why Larger Language Models Do In-context Learning Differently?cited by 44
- 2025Training Dynamics of In-Context Learning in Linear Attentioncited by 44
- 2024Transformers Learn Nonlinear Features In Context: Nonconvex Mean-field Dynamics on the Attention Landscapecited by 43
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 43
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 40
12 most cited of 86 All 86 (JSON)
- 2026Are In-Context Images Worth 10 Dimensions?29 Sep 2026
- 2026TR-SSQP: A Trust-Region Method for Constrained Stochastic Optimization under Heavy-Tailed Noise25 Sep 2026
- 2026TriCCOT: Tri-part Convolutional Conformal Transformer for Onboard Space Object Detection8 Sep 2026
- 2026The Convergence Behavior of Adam under Heavy-Tailed Noise29 Jul 2026
- 2026Vanilla SGD with Momentum Survives Heavy-Tailed Noise: Convergence Analysis without Gradient Clipping or Normalization9 Jul 2026
- 2026Open Problem: Is AdamW Effective Under Heavy-Tailed Noise?22 Jun 2026
- 2026Free Heavy-Tailed Lunch for Muon: A Theoretical Justification of Empirical Success12 Jun 2026
- 2026Beyond a Single Explanation of the Adam--SGD Gap12 Jun 2026
- 2026The Effect of Training Task Diversity on In-Context Learning through the Lens of Low-Dimensional Subspaces5 Jun 2026
- 2026In-Expectation Convergence of Stochastic Gradient Methods under Heavy-Tailed Noise30 May 2026
- 2026Zeroth-Order Nonconvex Nonsmooth Optimization with Heavy-Tailed Noise23 May 2026
- 2026Can Adaptive Gradient Methods Converge under Heavy-Tailed Noise? A Case Study of AdaGrad18 May 2026
12 newest of 86 All 86 (JSON)