Toward Understanding Why Adam Converges Faster Than SGD for Transformers
Not on the map. Why?
Abstract (arXiv)
While stochastic gradient descent (SGD) is still the most popular optimization algorithm in deep learning, adaptive algorithms such as Adam have established empirical advantages over SGD in some deep learning applications such as training transformers. However, it remains a question that why Adam converges significantly faster than SGD in these scenarios. In this paper, we propose one explanation of why Adam converges faster than SGD using a new concept directional sharpness. We argue that the performance of optimization algorithms is closely related to the directional sharpness of the update steps, and show SGD has much worse directional sharpness compared to adaptive algorithms. We further observe that only a small fraction of the coordinates causes the bad sharpness and slow convergence of SGD, and propose to use coordinate-wise clipping as a solution to SGD and other optimization algorithms. We demonstrate the effect of coordinate-wise clipping on sharpness reduction and speeding up the convergence of optimization algorithms under various settings. We show that coordinate-wise clipping improves the local loss reduction when only a small fraction of the coordinates has bad sharpness. We conclude that the sharpness reduction effect of adaptive coordinate-wise scaling is the reason for Adam's success in practice and suggest the use of coordinate-wise clipping as a universal technique to speed up deep learning optimization.
Key facts. Cited by 53 papers in the map (data through 14 Oct 2026). Builds on 38 of its 55 references that are in the map. First posted on arXiv 31 May 2023.
Builds on
38 of 55 references.
References · 38
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
- 2014Adam: A Method for Stochastic Optimizationcited by 37,240
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
- 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
- 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
- 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2019On the Convergence of Adam and Beyondcited by 841
- 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
26 more
- 2014Convex Optimization: Algorithms and Complexitycited by 575
- 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 571
- 2023Symbolic Discovery of Optimization Algorithmscited by 434
- 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 427
- 2022The Stack: 3 TB of permissively licensed source codecited by 359
- 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 341
- 2015Coordinate Descent Algorithmscited by 219
- 2018AdaGrad stepsizes: Sharp convergence over nonconvex landscapescited by 182
- 2018On the Convergence of A Class of Adam-Type Algorithms for Non-Convex Optimizationcited by 174
- 2020A Simple Convergence Proof of Adam and Adagradcited by 171
- 2018On the Convergence of Stochastic Gradient Descent with Adaptive Stepsizescited by 156
- 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 101
- 2018On the Convergence of Adaptive Gradient Methods for Nonconvex Optimizationcited by 91
- 2019AdaCliP: Adaptive Clipping for Private SGDcited by 77
- 2015Beyond Convexity: Stochastic Quasi-Convex Optimizationcited by 76
- 2018Convergence guarantees for RMSProp and ADAM in non-convex optimization and an empirical comparison to Nesterov accelerationcited by 39
- 2020Recent Theoretical Advances in Non-Convex Optimizationcited by 30
- 2016The Power of Normalization: Faster Evasion of Saddle Pointscited by 29
- 2022How Does Adaptive Optimization Impact Local Neural Network Geometry?cited by 24
- 2019On the Convergence Proof of AMSGrad and a New Versioncited by 21
- 2016A Primer on Coordinate Descent Algorithmscited by 17
- 2021Differentially Private Coordinate Descent for Composite Empirical Risk Minimizationcited by 10
- 2018Accelerating Greedy Coordinate Descent Methodscited by 4
- 2019Convergence Analyses of Online ADAM Algorithm in Convex Setting and Two-Layer ReLU Neural Networkcited by 4
- 2022High-Dimensional Private Empirical Risk Minimization by Greedy Coordinate Descentcited by 4
- 2022Stochastic First-Order Learning for Large-Scale Flexibly Tied Gaussian Mixture Modelcited by 2
Built on by
Citing papers per year: 2023: 4; 2024: 23; 2025: 11; 2026: 15.
53 papers.
Sort:
By area:
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 98
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
- 2024APOLLO: SGD-like Memory, AdamW-level Performancecited by 54
- 2025Muon Outperforms Adam in Tail-End Associative Memory Learningcited by 46
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 44
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
- 2024The Implicit Bias of Adam on Separable Datacited by 36
- 2024Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguisecited by 26
- 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the storycited by 25
- 2024Adam with model exponential moving average is effective for nonconvex optimizationcited by 23
38 more
- 2024Adam Exploits ℓ_∞-geometry of Loss Landscape via Coordinate-wise Adaptivitycited by 23
- 2024Towards Quantifying the Preconditioning Effect of Adamcited by 19
- 2024Directional Smoothness and Gradient Methods: Convergence and Adaptivitycited by 17
- 2023Don't be so Monotone: Relaxing Stochastic Line Search in Over-Parameterized Modelscited by 15
- 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modelingcited by 15
- 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimizationcited by 13
- 2025The Rich and the Simple: On the Implicit Bias of Adam and SGDcited by 13
- 2024Understanding Adam Requires Better Rotation Dependent Assumptionscited by 11
- 2024Unraveling the Gradient Descent Dynamics of Transformerscited by 11
- 2024Convergence Rate Analysis of LIONcited by 11
- 2024FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable Trainingcited by 10
- 2026Enhancing LLM Training via Spectral Clippingcited by 10
- 2023Profit: Benchmarking Personalization and Robustness Trade-off in Federated Prompt Tuningcited by 9
- 2024What Does It Mean to Be a Transformer? Insights from a Theoretical Hessian Analysiscited by 9
- 2024AdAdaGrad: Adaptive Batch Size Schemes for Adaptive Gradient Methodscited by 8
- 2026A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMscited by 8
- 2026Do We Need Adam? Surprisingly Strong and Sparse Reinforcement Learning with SGD in LLMscited by 7
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 7
- 2025Mechanistic Insights into Grokking from the Embedding Layercited by 6
- 2026When Models Learn to Ask Why: Adaptive Causal Reasoning for Trustworthy Medical Vision-Language Modelscited by 6
- 2026Why Muon Outperforms Adam: A Curvature Perspectivecited by 6
- 2025Provable Benefit of SignGD: A Minimal Model Under Heavy-Tailed Class Imbalancecited by 5
- 2024Initialization of Large Language Models via Reparameterization to Mitigate Loss Spikescited by 4
- 2024Adaptive Batch Size Schedules for Distributed Training of Language Models with Data and Model Parallelismcited by 4
- 2025When Can You Get Away with Low Memory Adam?cited by 3
- 2026Muon Learns More Robust and Transferable Features than Adamcited by 3
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noisecited by 2
- 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regimecited by 2
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotationcited by 2
- 2026On Adaptivity in Zeroth-Order Optimizationcited by 2
- 2026Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Ratescited by 2
- 2026Looped Transformers with Layer Normalization Provably Learn the Power Methodcited by 2
- 2024Revisiting the Initial Steps in Adaptive Gradient Descent Optimizationcited by 1
- 2026Gradient Regularized Natural Gradientscited by 1
- 2026Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descentcited by 1
- 2024Deepfake Detection and the Impact of Limited Computing Capabilitiescited by 0
- 2025A Novel Unified Parametric Assumption for Nonconvex Optimizationcited by 0
- 2025Some Optimizers are More Equal: Understanding the Role of Optimizers in Group Fairnesscited by 0
50 most cited of 53 All 53 (JSON)
- 2026Muon Learns More Robust and Transferable Features than Adam8 Jun 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Looped Transformers with Layer Normalization Provably Learn the Power Method30 May 2026
- 2026Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Rates18 May 2026
- 2026PowerStep: Memory-Efficient Adaptive Optimization via ℓp-Norm Steepest Descent11 May 2026
- 2026Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent7 May 2026
- 2026On Adaptivity in Zeroth-Order Optimization5 May 2026
- 2026When Models Learn to Ask Why: Adaptive Causal Reasoning for Trustworthy Medical Vision-Language Models24 Mar 2026
- 2026Transformers Trained via Gradient Descent Can Provably Learn a Class of Teacher Models24 Mar 2026
- 2026Enhancing LLM Training via Spectral Clipping15 Mar 2026
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizers17 Feb 2026
- 2026Do We Need Adam? Surprisingly Strong and Sparse Reinforcement Learning with SGD in LLMs7 Feb 2026
38 more
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotation3 Feb 2026
- 2026Gradient Regularized Natural Gradients26 Jan 2026
- 2026A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMs23 Jan 2026
- 2025Provable Benefit of SignGD: A Minimal Model Under Heavy-Tailed Class Imbalance30 Nov 2025
- 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regime30 Oct 2025
- 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noise15 Oct 2025
- 2025Randomness and Interpolation Improve Gradient Descent14 Oct 2025
- 2025Muon Outperforms Adam in Tail-End Associative Memory Learning30 Sep 2025
- 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modeling14 Jun 2025
- 2025The Rich and the Simple: On the Implicit Bias of Adam and SGD29 May 2025
- 2025Mechanistic Insights into Grokking from the Embedding Layer21 May 2025
- 2025Some Optimizers are More Equal: Understanding the Role of Optimizers in Group Fairness21 Apr 2025
- 2025When Can You Get Away with Low Memory Adam?3 Mar 2025
- 2025A Novel Unified Parametric Assumption for Nonconvex Optimization17 Feb 2025
- 2024Adaptive Batch Size Schedules for Distributed Training of Language Models with Data and Model Parallelism30 Dec 2024
- 2024APOLLO: SGD-like Memory, AdamW-level Performance6 Dec 2024
- 2024Revisiting the Initial Steps in Adaptive Gradient Descent Optimization3 Dec 2024
- 2024FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable Training12 Nov 2024
- 2024Convergence Rate Analysis of LION12 Nov 2024
- 2024Unraveling the Gradient Descent Dynamics of Transformers12 Nov 2024
- 2024Understanding Adam Requires Better Rotation Dependent Assumptions25 Oct 2024
- 2024What Does It Mean to Be a Transformer? Insights from a Theoretical Hessian Analysis14 Oct 2024
- 2024Adam Exploits ℓ_∞-geometry of Loss Landscape via Coordinate-wise Adaptivity10 Oct 2024
- 2024Initialization of Large Language Models via Reparameterization to Mitigate Loss Spikes7 Oct 2024
- 2024Deconstructing What Makes a Good Optimizer for Language Models10 Jul 2024
- 2024Adam-mini: Use Fewer Learning Rates To Gain More24 Jun 2024
- 2024The Implicit Bias of Adam on Separable Data15 Jun 2024
- 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the story31 May 2024
- 2024Adam with model exponential moving average is effective for nonconvex optimization28 May 2024
- 2024Directional Smoothness and Gradient Methods: Convergence and Adaptivity6 Mar 2024
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Models29 Feb 2024
- 2024Why Transformers Need Adam: A Hessian Perspective26 Feb 2024
- 2024AdAdaGrad: Adaptive Batch Size Schemes for Adaptive Gradient Methods17 Feb 2024
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attention15 Feb 2024
- 2024Towards Quantifying the Preconditioning Effect of Adam11 Feb 2024
- 2024Deepfake Detection and the Impact of Limited Computing Capabilities8 Feb 2024
- 2024Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguise2 Feb 2024
- 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimization7 Nov 2023
50 newest of 53 All 53 (JSON)
- 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
- 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
- 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 98
- 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
- 2024APOLLO: SGD-like Memory, AdamW-level Performancecited by 54
- 2025Muon Outperforms Adam in Tail-End Associative Memory Learningcited by 46
- 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 44
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
- 2024The Implicit Bias of Adam on Separable Datacited by 36
- 2024Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguisecited by 26
- 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the storycited by 25
- 2024Adam with model exponential moving average is effective for nonconvex optimizationcited by 23
12 most cited of 52 All 52 (JSON)
- 2026Muon Learns More Robust and Transferable Features than Adam8 Jun 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026Looped Transformers with Layer Normalization Provably Learn the Power Method30 May 2026
- 2026Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Rates18 May 2026
- 2026PowerStep: Memory-Efficient Adaptive Optimization via ℓp-Norm Steepest Descent11 May 2026
- 2026Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descent7 May 2026
- 2026On Adaptivity in Zeroth-Order Optimization5 May 2026
- 2026Transformers Trained via Gradient Descent Can Provably Learn a Class of Teacher Models24 Mar 2026
- 2026Enhancing LLM Training via Spectral Clipping15 Mar 2026
- 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizers17 Feb 2026
- 2026Do We Need Adam? Surprisingly Strong and Sparse Reinforcement Learning with SGD in LLMs7 Feb 2026
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotation3 Feb 2026
12 newest of 52 All 52 (JSON)