mlsanityData to 14 Oct 2026

Toward Understanding Why Adam Converges Faster Than SGD for Transformers

arXiv 2306.00204 ↗First posted 31 May 2023cs.LG cs.AIcited by 53

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

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2018BERT: Pre-training of Deep Bidirectional Transformers for Language Understandingcited by 40,399
  4. 2014Adam: A Method for Stochastic Optimizationcited by 37,240
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2019DistilBERT, a distilled version of BERT: smaller, faster, cheaper and lightercited by 4,307
  7. 2020The Pile: An 800GB Dataset of Diverse Text for Language Modelingcited by 2,411
  8. 2020Sharpness-Aware Minimization for Efficiently Improving Generalizationcited by 1,417
  9. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,150
  10. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  11. 2019On the Convergence of Adam and Beyondcited by 841
  12. 2013Stochastic First- and Zeroth-order Methods for Nonconvex Stochastic Programmingcited by 724
26 more
  1. 2014Convex Optimization: Algorithms and Complexitycited by 575
  2. 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 571
  3. 2023Symbolic Discovery of Optimization Algorithmscited by 434
  4. 2021Gradient Descent on Neural Networks Typically Occurs at the Edge of Stabilitycited by 427
  5. 2022The Stack: 3 TB of permissively licensed source codecited by 359
  6. 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 341
  7. 2015Coordinate Descent Algorithmscited by 219
  8. 2018AdaGrad stepsizes: Sharp convergence over nonconvex landscapescited by 182
  9. 2018On the Convergence of A Class of Adam-Type Algorithms for Non-Convex Optimizationcited by 174
  10. 2020A Simple Convergence Proof of Adam and Adagradcited by 171
  11. 2018On the Convergence of Stochastic Gradient Descent with Adaptive Stepsizescited by 156
  12. 2022Adaptive Gradient Methods at the Edge of Stabilitycited by 101
  13. 2018On the Convergence of Adaptive Gradient Methods for Nonconvex Optimizationcited by 91
  14. 2019AdaCliP: Adaptive Clipping for Private SGDcited by 77
  15. 2015Beyond Convexity: Stochastic Quasi-Convex Optimizationcited by 76
  16. 2018Convergence guarantees for RMSProp and ADAM in non-convex optimization and an empirical comparison to Nesterov accelerationcited by 39
  17. 2020Recent Theoretical Advances in Non-Convex Optimizationcited by 30
  18. 2016The Power of Normalization: Faster Evasion of Saddle Pointscited by 29
  19. 2022How Does Adaptive Optimization Impact Local Neural Network Geometry?cited by 24
  20. 2019On the Convergence Proof of AMSGrad and a New Versioncited by 21
  21. 2016A Primer on Coordinate Descent Algorithmscited by 17
  22. 2021Differentially Private Coordinate Descent for Composite Empirical Risk Minimizationcited by 10
  23. 2018Accelerating Greedy Coordinate Descent Methodscited by 4
  24. 2019Convergence Analyses of Online ADAM Algorithm in Convex Setting and Two-Layer ReLU Neural Networkcited by 4
  25. 2022High-Dimensional Private Empirical Risk Minimization by Greedy Coordinate Descentcited by 4
  26. 2022Stochastic First-Order Learning for Large-Scale Flexibly Tied Gaussian Mixture Modelcited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2023: 4; 2024: 23; 2025: 11; 2026: 15.

53 papers.

Sort:

By area:

  1. 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
  2. 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
  3. 2023Linear attention is (maybe) all you need (to understand transformer optimization)cited by 98
  4. 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
  5. 2024APOLLO: SGD-like Memory, AdamW-level Performancecited by 54
  6. 2025Muon Outperforms Adam in Tail-End Associative Memory Learningcited by 46
  7. 2024SAMformer: Unlocking the Potential of Transformers in Time Series Forecasting with Sharpness-Aware Minimization and Channel-Wise Attentioncited by 44
  8. 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
  9. 2024The Implicit Bias of Adam on Separable Datacited by 36
  10. 2024Understanding Adam Optimizer via Online Learning of Updates: Adam is FTRL in Disguisecited by 26
  11. 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the storycited by 25
  12. 2024Adam with model exponential moving average is effective for nonconvex optimizationcited by 23
38 more
  1. 2024Adam Exploits ℓ_∞-geometry of Loss Landscape via Coordinate-wise Adaptivitycited by 23
  2. 2024Towards Quantifying the Preconditioning Effect of Adamcited by 19
  3. 2024Directional Smoothness and Gradient Methods: Convergence and Adaptivitycited by 17
  4. 2023Don't be so Monotone: Relaxing Stochastic Line Search in Over-Parameterized Modelscited by 15
  5. 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modelingcited by 15
  6. 2023Outliers with Opposing Signals Have an Outsized Effect on Neural Network Optimizationcited by 13
  7. 2025The Rich and the Simple: On the Implicit Bias of Adam and SGDcited by 13
  8. 2024Understanding Adam Requires Better Rotation Dependent Assumptionscited by 11
  9. 2024Unraveling the Gradient Descent Dynamics of Transformerscited by 11
  10. 2024Convergence Rate Analysis of LIONcited by 11
  11. 2024FRUGAL: Memory-Efficient Optimization by Reducing State Overhead for Scalable Trainingcited by 10
  12. 2026Enhancing LLM Training via Spectral Clippingcited by 10
  13. 2023Profit: Benchmarking Personalization and Robustness Trade-off in Federated Prompt Tuningcited by 9
  14. 2024What Does It Mean to Be a Transformer? Insights from a Theoretical Hessian Analysiscited by 9
  15. 2024AdAdaGrad: Adaptive Batch Size Schemes for Adaptive Gradient Methodscited by 8
  16. 2026A Scalable Measure of Loss Landscape Curvature for Analyzing the Training Dynamics of LLMscited by 8
  17. 2026Do We Need Adam? Surprisingly Strong and Sparse Reinforcement Learning with SGD in LLMscited by 7
  18. 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 7
  19. 2025Mechanistic Insights into Grokking from the Embedding Layercited by 6
  20. 2026When Models Learn to Ask Why: Adaptive Causal Reasoning for Trustworthy Medical Vision-Language Modelscited by 6
  21. 2026Why Muon Outperforms Adam: A Curvature Perspectivecited by 6
  22. 2025Provable Benefit of SignGD: A Minimal Model Under Heavy-Tailed Class Imbalancecited by 5
  23. 2024Initialization of Large Language Models via Reparameterization to Mitigate Loss Spikescited by 4
  24. 2024Adaptive Batch Size Schedules for Distributed Training of Language Models with Data and Model Parallelismcited by 4
  25. 2025When Can You Get Away with Low Memory Adam?cited by 3
  26. 2026Muon Learns More Robust and Transferable Features than Adamcited by 3
  27. 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noisecited by 2
  28. 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regimecited by 2
  29. 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotationcited by 2
  30. 2026On Adaptivity in Zeroth-Order Optimizationcited by 2
  31. 2026Revisiting the Adam-SGD Gap in LLM Pre-Training: The Role of Large Effective Learning Ratescited by 2
  32. 2026Looped Transformers with Layer Normalization Provably Learn the Power Methodcited by 2
  33. 2024Revisiting the Initial Steps in Adaptive Gradient Descent Optimizationcited by 1
  34. 2026Gradient Regularized Natural Gradientscited by 1
  35. 2026Transformers Efficiently Perform In-Context Logistic Regression via Normalized Gradient Descentcited by 1
  36. 2024Deepfake Detection and the Impact of Limited Computing Capabilitiescited by 0
  37. 2025A Novel Unified Parametric Assumption for Nonconvex Optimizationcited by 0
  38. 2025Some Optimizers are More Equal: Understanding the Role of Optimizers in Group Fairnesscited by 0

50 most cited of 53 All 53 (JSON)