mlsanityData to 14 Oct 2026

SOAP: Improving and Stabilizing Shampoo using Adam

arXiv 2409.11321 ↗First posted 17 Sep 2024cs.LG cs.AIcited by 192

Not on the map. Why?

Abstract (arXiv)

There is growing evidence of the effectiveness of Shampoo, a higher-order preconditioning method, over Adam in deep learning optimization tasks. However, Shampoo's drawbacks include additional hyperparameters and computational overhead when compared to Adam, which only updates running averages of first- and second-moment quantities. This work establishes a formal connection between Shampoo (implemented with the 1/2 power) and Adafactor -- a memory-efficient approximation of Adam -- showing that Shampoo is equivalent to running Adafactor in the eigenbasis of Shampoo's preconditioner. This insight leads to the design of a simpler and computationally efficient algorithm: ShampoO with Adam in the Preconditioner's eigenbasis (SOAP). With regards to improving Shampoo's computational efficiency, the most straightforward approach would be to simply compute Shampoo's eigendecomposition less frequently. Unfortunately, as our empirical results show, this leads to performance degradation that worsens with this frequency. SOAP mitigates this degradation by continually updating the running average of the second moment, just as Adam does, but in the current (slowly changing) coordinate basis. Furthermore, since SOAP is equivalent to running Adam in a rotated space, it introduces only one additional hyperparameter (the preconditioning frequency) compared to Adam. We empirically evaluate SOAP on language model pre-training with 360m and 660m sized models. In the large batch regime, SOAP reduces the number of iterations by over 40% and wall clock time by over 35% compared to AdamW, with approximately 20% improvements in both metrics compared to Shampoo. An implementation of SOAP is available at https://github.com/nikhilvyas/SOAP.

Key facts. Cited by 192 papers in the map (data through 14 Oct 2026). Builds on 37 of its 47 references that are in the map. First posted on arXiv 17 Sep 2024.

Builds on

37 of 47 references.

References · 37

  1. 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
  2. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  3. 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
  4. 2016Gaussian Error Linear Units (GELUs)cited by 3,502
  5. 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
  6. 2021Scaling Vision Transformerscited by 999
  7. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  8. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
  9. 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
  10. 2024OLMo: Accelerating the Science of Language Modelscited by 613
  11. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  12. 2023Symbolic Discovery of Optimization Algorithmscited by 434
25 more
  1. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
  2. 20218-bit Optimizers via Block-wise Quantizationcited by 403
  3. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
  4. 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
  5. 2024The Road Less Scheduledcited by 163
  6. 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 146
  7. 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
  8. 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 117
  9. 2024Resolving Discrepancies in Compute-Optimal Scaling of Language Modelscited by 88
  10. 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 77
  11. 2024A New Perspective on Shampoo's Preconditionercited by 59
  12. 2015Preconditioned Stochastic Gradient Descentcited by 50
  13. 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
  14. 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
  15. 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
  16. 2018Large-Scale Distributed Second-Order Optimization Using Kronecker-Factored Approximate Curvature for Deep Convolutional Neural Networkscited by 37
  17. 2023AdaLomo: Low-memory Optimization with Adaptive Learning Ratecited by 31
  18. 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
  19. 2021Tensor Normal Training for Deep Learning Modelscited by 24
  20. 20244-bit Shampoo for Memory-Efficient Network Trainingcited by 18
  21. 2024Curvature-Informed SGD via General Purpose Lie-Group Preconditionerscited by 16
  22. 2020A Trace-restricted Kronecker-Factored Approximation to Natural Gradientcited by 11
  23. 2024Stochastic Hessian Fittings with Lie Groupscited by 4
  24. 2022Randomized K-FACs: Speeding up K-FAC with Randomized Numerical Linear Algebracited by 3
  25. 2022Brand New K-FACs: Speeding up K-FAC with Online Decomposition Updatescited by 2

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2024: 7; 2025: 63; 2026: 122.

192 papers.

Sort:

By area:

  1. 2025Muon is Scalable for LLM Trainingcited by 428
  2. 2025NorMuon: Making Muon more efficient and scalablecited by 84
  3. 2025Practical Efficiency of Muon for Pretrainingcited by 80
  4. 2024MARS: Unleashing the Power of Variance Reduction for Training Large Modelscited by 64
  5. 2025ASGO: Adaptive Structured Gradient Optimizationcited by 57
  6. 2025Gradient Alignment in Physics-informed Neural Networks: A Second-Order Optimization Perspectivecited by 56
  7. 2025Deep Learning is Not So Mysterious or Differentcited by 56
  8. 2024Cautious Optimizers: Improving Training with One Line of Codecited by 47
  9. 2025Power Lines: Scaling Laws for Weight Decay and Batch Size in LLM Pre-trainingcited by 43
  10. 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Datacited by 41
  11. 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noisecited by 41
  12. 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 41
38 more
  1. 2025Isotropic Curvature Model for Understanding Deep Learning Optimization: Is Gradient Orthogonalization Optimal?cited by 37
  2. 2026Convergence of Muon with Newton-Schulzcited by 36
  3. 2025Structured Preconditioners in Adaptive Optimization: A Unified Analysiscited by 33
  4. 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 30
  5. 2025The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Trainingcited by 30
  6. 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 23
  7. 2025AdaGrad Meets Muon: Adaptive Stepsizes for Orthogonal Updatescited by 23
  8. 2025Hyperparameter Transfer Enables Consistent Gains of Matrix-Preconditioned Optimizers Across Scalescited by 21
  9. 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
  10. 2024Moonshine: Speech Recognition for Live Transcription and Voice Commandscited by 19
  11. 2025SUMO: Subspace-Aware Moment-Orthogonalization for Accelerating Memory-Efficient LLM Trainingcited by 19
  12. 2025A Stable Whitening Optimizer for Efficient Neural Network Trainingcited by 18
  13. 2026The Newton-Muon Optimizercited by 18
  14. 2025The Potential of Second-Order Optimization for LLMs: A Study with Full Gauss-Newtoncited by 17
  15. 2026Mousse: Rectifying the Geometry of Muon with Curvature-Aware Preconditioningcited by 17
  16. 2026MuonEq: Balancing Before Orthogonalization with Lightweight Equilibrationcited by 17
  17. 2026Muon2: Boosting Muon via Adaptive Second-Moment Preconditioningcited by 17
  18. 2025NeoBERT: A Next-Generation BERTcited by 16
  19. 2025What Really Matters in Matrix-Whitening Optimizers?cited by 16
  20. 2025Pairwise Calibrated Rewards for Pluralistic Alignmentcited by 14
  21. 2025Simulating Three-dimensional Turbulence with Physics-informed Neural Networkscited by 14
  22. 2026Sharp Capacity Scaling of Spectral Optimizers in Learning Associative Memorycited by 14
  23. 2025CLIMB: Data Foundations for Large Scale Multimodal Clinical Foundation Modelscited by 13
  24. 2025Towards Quantifying the Hessian Structure of Neural Networkscited by 13
  25. 2025Outlier-Safe Pre-Training for Robust 4-Bit Quantization of Large Language Modelscited by 13
  26. 2025SGD with Adaptive Preconditioning: Unified Analysis and Momentum Accelerationcited by 12
  27. 2026Mano: Restriking Manifold Optimization for LLM Trainingcited by 12
  28. 2026On the Width Scaling of Neural Optimizers Under Matrix Operator Norms I: Row/Column Normalization and Hyperparameter Transfercited by 12
  29. 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correctioncited by 12
  30. 2025Effective Quantization of Muon Optimizer Statescited by 11
  31. 2025Preconditioned Norms: A Unified Framework for Steepest Descent, Quasi-Newton and Adaptive Methodscited by 11
  32. 2026FISMO: Fisher-Structured Momentum-Orthogonalized Optimizercited by 11
  33. 2026Enhancing LLM Training via Spectral Clippingcited by 10
  34. 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
  35. 2025Reparameterized LLM Training via Orthogonal Equivalence Transformationcited by 9
  36. 2025Scaling with Collapse: Efficient and Predictable Training of LLM Familiescited by 9
  37. 2025FOCUS: First Order Concentrated Updating Schemecited by 8
  38. 2025Physics of Skill Learningcited by 8

50 most cited of 192 All 192 (JSON)