mlsanityData to 14 Oct 2026

In Search of Adam's Secret Sauce

arXiv 2505.21829 ↗First posted 27 May 2025cs.LGcited by 40

Not on the map. Why?

Abstract (arXiv)

Understanding the remarkable efficacy of Adam when training transformer-based language models has become a central research topic within the optimization community. To gain deeper insights, several simplifications of Adam have been proposed, such as the signed gradient and signed momentum methods. In this work, we conduct an extensive empirical study - training over 1500 language models across different data configurations and scales - comparing Adam to several known simplified variants. We find that signed momentum methods are faster than SGD, but consistently underperform relative to Adam, even after careful tuning of momentum, clipping setting and learning rates. However, our analysis reveals a compelling option that preserves near-optimal performance while allowing for new insightful reformulations: constraining the Adam momentum parameters to be equal, beta1 = beta2. Beyond robust performance, this choice affords new theoretical insights, highlights the "secret sauce" on top of signed momentum, and grants a precise statistical interpretation: we show that Adam in this setting implements a natural online algorithm for estimating the mean and variance of gradients-one that arises from a mean-field Gaussian variational inference perspective.

Key facts. Cited by 40 papers in the map (data through 14 Oct 2026). Builds on 43 of its 58 references that are in the map. First posted on arXiv 27 May 2025.

Builds on

43 of 58 references.

References · 43

  1. 2017Attention Is All You Needcited by 60,361
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  4. 2022PaLM: Scaling Language Modeling with Pathwayscited by 5,326
  5. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 5,045
  6. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  7. 2022FlashAttention: Fast and Memory-Efficient Exact Attention with IO-Awarenesscited by 3,673
  8. 2022Training Compute-Optimal Large Language Modelscited by 3,019
  9. 2020GLU Variants Improve Transformercited by 1,804
  10. 2023Pythia: A Suite for Analyzing Large Language Models Across Training and Scalingcited by 1,786
  11. 2019Root Mean Square Layer Normalizationcited by 1,480
  12. 2024The FineWeb Datasets: Decanting the Web for the Finest Text Data at Scalecited by 1,160
31 more
  1. 2020On Layer Normalization in the Transformer Architecturecited by 922
  2. 2019On the Convergence of Adam and Beyondcited by 841
  3. 2022GPT-NeoX-20B: An Open-Source Autoregressive Language Modelcited by 713
  4. 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 571
  5. 2023Symbolic Discovery of Optimization Algorithmscited by 434
  6. 2025Muon is Scalable for LLM Trainingcited by 428
  7. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
  8. 2019Why gradient clipping accelerates training: A theoretical justification for adaptivitycited by 341
  9. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
  10. 2017The Marginal Value of Adaptive Gradient Methods in Machine Learningcited by 250
  11. 2019Limitations of the Empirical Fisher Approximation for Natural Gradient Descentcited by 217
  12. 2019A Tail-Index Analysis of Stochastic Gradient Noise in Deep Neural Networkscited by 214
  13. 2024Old Optimizer, New Norm: An Anthologycited by 193
  14. 2025Training Deep Learning Models with Norm-Constrained LMOscited by 192
  15. 2019Transformers without Tears: Improving the Normalization of Self-Attentioncited by 153
  16. 2022Signal Propagation in Transformers: Theoretical Perspectives and the Role of Rank Collapsecited by 141
  17. 2017Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradientscited by 139
  18. 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
  19. 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
  20. 2022Adam Can Converge Without Any Modification On Update Rulescited by 114
  21. 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
  22. 2022On the SDEs and Scaling Rules for Adaptive Gradient Algorithmscited by 104
  23. 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
  24. 2025Practical Efficiency of Muon for Pretrainingcited by 80
  25. 2024How Does Critical Batch Size Scale in Pre-training?cited by 73
  26. 2024Implicit Bias of AdamW: ℓ_∞ Norm Constrained Optimizationcited by 58
  27. 2023Memory Efficient Optimizers with 4-bit Statescited by 54
  28. 2020A new regret analysis for Adam-type algorithmscited by 35
  29. 2024Recurrent neural networks: vanishing and exploding gradients are not the end of the storycited by 25
  30. 2024Adaptive Methods through the Lens of SDEs: Theoretical Insights on the Role of Noisecited by 23
  31. 2020EAdam Optimizer: How ε Impact Adamcited by 10

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 13; 2026: 27.

40 papers.

Sort:

By area:

  1. 2025An Exploration of Non-Euclidean Gradient Descent: Muon and its Many Variantscited by 28
  2. 2025How Muon's Spectral Design Benefits Generalization: A Study on Imbalanced Datacited by 19
  3. 2025The Hidden Width of Deep ResNets: Tight Error Bounds and Phase Diagramcited by 17
  4. 2025What Really Matters in Matrix-Whitening Optimizers?cited by 16
  5. 2025Is your batch size the problem? Revisiting the Adam-SGD gap in language modelingcited by 15
  6. 2026Adam Improves Muon: Adaptive Moment Estimation with Orthogonalized Momentumcited by 14
  7. 2025Adaptive Preconditioners Trigger Loss Spikes in Adamcited by 13
  8. 2026The Implicit Bias of Adam and Muon on Smooth Homogeneous Neural Networkscited by 11
  9. 2026Deriving Hyperparameter Scaling Laws via Modern Optimization Theorycited by 10
  10. 2025Selective Rotary Position Embeddingcited by 9
  11. 2025GradPower: Powering Gradients for Faster Language Model Pre-Trainingcited by 8
  12. 2026Clarifying Shampoo: Adapting Spectral Descent to Stochasticity and the Parameter Trajectorycited by 8
28 more
  1. 2026On Surprising Effectiveness of Masking Updates in Adaptive Optimizerscited by 7
  2. 2025Gradient Descent as Loss Landscape Navigation: a Normative Framework for Deriving Learning Rulescited by 4
  3. 2026The Effect of Mini-Batch Noise on the Implicit Bias of Adamcited by 4
  4. 2026Decoupling Variance and Scale-Invariant Updates in Adaptive Gradient Descent for Unified Vector and Matrix Optimizationcited by 4
  5. 2026Dynamic Regret via Discounted-to-Dynamic Reduction with Applications to Curved Losses and Adam Optimizercited by 4
  6. 2026Grokking or Glitching? How Low-Precision Drives Slingshot Loss Spikescited by 4
  7. 2026Chimera: Designing and Chinchilla-Scaling Hybrid Visual Diffusion Transformerscited by 3
  8. 2025How to Set β1, β2 in Adam: An Online Learning Perspectivecited by 2
  9. 2025Implicit Bias of Per-sample Adam on Separable Data: Departure from the Full-batch Regimecited by 2
  10. 2026Adaptive Batch Sizes Using Non-Euclidean Gradient Noise Scales for Stochastic Sign and Spectral Descentcited by 2
  11. 2026On Adaptivity in Zeroth-Order Optimizationcited by 2
  12. 2025Correction of Decoupled Weight Decaycited by 1
  13. 2026Convergence Rate Analysis of the AdamW-style Shampoo: Unifying One-Sided and Two-Sided Preconditioningcited by 1
  14. 2026Why β1 = β2 Is Dynamically Special in Adamcited by 1
  15. 2026Refresh-Scaling the Memory of Balanced Adamcited by 1
  16. 2026Complete-muE: Optimal Hyperparameter Transfer and Scaling for MoE Modelscited by 1
  17. 2026Beyond a Single Explanation of the Adam--SGD Gapcited by 1
  18. 2025Adam Simplified: Bias Correction Debunkedcited by 0
  19. 2026Self-Supervised Learning with a Multi-Task Latent Space Objectivecited by 0
  20. 2026Avey-Bcited by 0
  21. 2026Personalized Federated Learning for Gradient Alignmentcited by 0
  22. 2026Revealing Modular Gradient Noise Imbalance in LLMs: Calibrating Adam via Signal-to-Noise Ratiocited by 0
  23. 2026One Algorithm, Two Goals: Dual Scoring for Parameter and Data Selection in LLM Fine-Tuningcited by 0
  24. 2026AMO: Operator-level Adaptive Muon Orthogonalizationcited by 0
  25. 2026HORST: Composing Optimizer Geometries for Sparse Transformer Trainingcited by 0
  26. 2026Adam Converges in Nonsmooth Nonconvex Optimizationcited by 0
  27. 2026FM4WiFi: Flow Matching for Multi-AP Coordination in Dense Deployments of Beyond Wi-Fi 8 Networkscited by 0
  28. 2026The Hidden Ratio in Adam: Stable Structure, Compression, and Sign Dynamicscited by 0