mlsanityData to 7 Oct 2026

Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective

arXiv 2402.03496 ↗First posted 5 Feb 2024cs.LG math.OCcited by 25

Not on the map. Why?

Abstract (arXiv)

Adaptive gradient optimizers like Adam(W) are the default training algorithms for many deep learning architectures, such as transformers. Their diagonal preconditioner is based on the gradient outer product which is incorporated into the parameter update via a square root. While these methods are often motivated as approximate second-order methods, the square root represents a fundamental difference. In this work, we investigate how the behavior of adaptive methods changes when we remove the root, i.e., strengthen their second-order motivation. Surprisingly, we find that such square-root-free adaptive methods close the generalization gap to SGD on convolutional architectures, while maintaining their root-based counterpart's performance on transformers. The second-order perspective also has practical benefits for developing non-diagonal methods that can incorporate arbitrary curvature approximations through the concept of preconditioner invariance. In contrast to root-based methods like Shampoo, root-free counterparts work well and fast with half-precision since they do not require numerically unstable matrix root decompositions and inversions. Overall, our findings provide new insights into the development of adaptive methods and raise important questions regarding the overlooked role of adaptivity in their success. (experiment code: https://github.com/yorkerlin/remove-the-square-root optimizer code: https://github.com/f-dangel/sirfshampoo)

Key facts. Cited by 25 papers in the map (data through 7 Oct 2026). Builds on 36 of its 63 references that are in the map. First posted on arXiv 5 Feb 2024.

Builds on

36 of 63 references.

References · 36

  1. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,082
  3. 2016SGDR: Stochastic Gradient Descent with Warm Restartscited by 4,993
  4. 2016Optimization Methods for Large-Scale Machine Learningcited by 1,140
  5. 2017Mixed Precision Trainingcited by 1,135
  6. 2024VMamba: Visual State Space Modelcited by 955
  7. 2019On the Convergence of Adam and Beyondcited by 834
  8. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 776
  9. 2014New insights and perspectives on the natural gradient methodcited by 435
  10. 2023Symbolic Discovery of Optimization Algorithmscited by 423
  11. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 260
  12. 2017The Marginal Value of Adaptive Gradient Methods in Machine Learningcited by 248
24 more
  1. 2019Limitations of the Empirical Fisher Approximation for Natural Gradient Descentcited by 213
  2. 2022Focal Modulation Networkscited by 186
  3. 2013Revisiting Natural Gradient for Deep Networkscited by 157
  4. 2020Evaluation of Neural Architectures Trained with Square Loss vs Cross-Entropy in Classification Taskscited by 137
  5. 2017Dissecting Adam: The Sign, Magnitude and Variance of Stochastic Gradientscited by 136
  6. 2018Fast and Scalable Bayesian Deep Learning by Weight-Perturbation in Adamcited by 131
  7. 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
  8. 2019On Empirical Comparisons of Optimizers for Deep Learningcited by 99
  9. 2022Global Context Vision Transformerscited by 98
  10. 2021The Bayesian Learning Rulecited by 95
  11. 2017Noisy Natural Gradient as Variational Inferencecited by 94
  12. 2022Graph Attention Multi-Layer Perceptroncited by 82
  13. 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 69
  14. 2017Conjugate-Computation Variational Inference : Converting Variational Inference in Non-Conjugate Models to Inferences in Conjugate Modelscited by 65
  15. 2019Fast and Simple Natural-Gradient Variational Inference with Mixture of Exponential-family Approximationscited by 51
  16. 2017Variants of RMSProp and Adagrad with Logarithmic Regret Boundscited by 50
  17. 2020Handling the Positive-Definite Constraint in the Bayesian Learning Rulecited by 31
  18. 2021Tensor Normal Training for Deep Learning Modelscited by 24
  19. 2021Tractable structured natural gradient descent using local parameterizationscited by 22
  20. 2019Stein's Lemma for the Reparameterization Trick with Exponential Family Mixturescited by 18
  21. 2023Simplifying Momentum-based Positive-definite Submanifold Optimization with Applications to Deep Learningcited by 10
  22. 2017Variational Adaptive-Newton Method for Explorative Learningcited by 7
  23. 2021Structured second-order methods via natural gradient descentcited by 7
  24. 2023Convolutions and More as Einsum: A Tensor Network Perspective with Advances for Second-Order Methodscited by 4

Built on by

Cited by year (2026 to 7 Oct)

Citing papers per year: 2024: 8; 2025: 10; 2026: 7.

25 papers.

Sort:

  1. 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 179
  2. 2025ASGO: Adaptive Structured Gradient Optimizationcited by 55
  3. 2024A New Perspective on Shampoo's Preconditionercited by 54
  4. 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 28
  5. 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 21
  6. 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
  7. 2024FAdam: Adam is a natural gradient optimizer using diagonal empirical Fisher informationcited by 17
  8. 2024AdaFisher: Adaptive Second Order Optimization via Fisher Informationcited by 14
  9. 2024Bayesian Online Natural Gradient (BONG)cited by 14
  10. 2025Fishers for Free? Approximating the Fisher Information Matrix by Recycling the Squared Gradient Accumulatorcited by 13
  11. 2025Understanding and Improving Shampoo and SOAP via Kullback-Leibler Minimizationcited by 13
  12. 2026On the Width Scaling of Neural Optimizers Under Matrix Operator Norms I: Row/Column Normalization and Hyperparameter Transfercited by 11
13 more
  1. 2026Curvature-Aware Optimization for High-Accuracy Physics-Informed Neural Networkscited by 11
  2. 2025Position: Curvature Matrices Should Be Democratized via Linear Operatorscited by 9
  3. 2025Gradient Descent as Loss Landscape Navigation: a Normative Framework for Deriving Learning Rulescited by 4
  4. 2025Stochastic Approximation with Block Coordinate Optimal Stepsizescited by 3
  5. 2025Adam or Gauss-Newton? A Comparative Study In Terms of Basis Alignment and SGD Noisecited by 2
  6. 2026Gradient Regularized Natural Gradientscited by 1
  7. 2026Finite-Horizon Input-Output Dynamics of Minibatch Perturbations in AdamWcited by 1
  8. 2024Approximated Orthogonal Projection Unit: Stabilizing Regression Network Training Using Natural Gradientcited by 0
  9. 2024Stein Variational Newton Neural Network Ensemblescited by 0
  10. 2025Spectral-factorized Positive-definite Curvature Learning for NN Trainingcited by 0
  11. 2026HomeAdam: Adam and AdamW Algorithms Sometimes Go Home to Obtain Better Provable Generalizationcited by 0
  12. 2026Control Allocation in Neural Network Optimization: Joint Affine Control of Weight and Bias Updatescited by 0
  13. 2026When the Preconditioning Exponent Turns Negative: Learning-Rate Coupling and Cross-Environment Generalizationcited by 0