SOAP: Improving and Stabilizing Shampoo using Adam
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
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,305
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2021RoFormer: Enhanced Transformer with Rotary Position Embeddingcited by 4,703
- 2016Gaussian Error Linear Units (GELUs)cited by 3,502
- 2024Gemini 1.5: Unlocking multimodal understanding across millions of tokens of contextcited by 3,224
- 2021Scaling Vision Transformerscited by 999
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
- 2023Scaling Vision Transformers to 22 Billion Parameterscited by 694
- 2024OLMo: Accelerating the Science of Language Modelscited by 613
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
- 2023Symbolic Discovery of Optimization Algorithmscited by 434
25 more
- 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
- 20218-bit Optimizers via Block-wise Quantizationcited by 403
- 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
- 2023Small-scale proxies for large-scale Transformer training instabilitiescited by 183
- 2024The Road Less Scheduledcited by 163
- 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 146
- 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
- 2019Which Algorithmic Choices Matter at Which Batch Sizes? Insights From a Noisy Quadratic Modelcited by 117
- 2024Resolving Discrepancies in Compute-Optimal Scaling of Language Modelscited by 88
- 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 77
- 2024A New Perspective on Shampoo's Preconditionercited by 59
- 2015Preconditioned Stochastic Gradient Descentcited by 50
- 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
- 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
- 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
- 2018Large-Scale Distributed Second-Order Optimization Using Kronecker-Factored Approximate Curvature for Deep Convolutional Neural Networkscited by 37
- 2023AdaLomo: Low-memory Optimization with Adaptive Learning Ratecited by 31
- 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25
- 2021Tensor Normal Training for Deep Learning Modelscited by 24
- 20244-bit Shampoo for Memory-Efficient Network Trainingcited by 18
- 2024Curvature-Informed SGD via General Purpose Lie-Group Preconditionerscited by 16
- 2020A Trace-restricted Kronecker-Factored Approximation to Natural Gradientcited by 11
- 2024Stochastic Hessian Fittings with Lie Groupscited by 4
- 2022Randomized K-FACs: Speeding up K-FAC with Randomized Numerical Linear Algebracited by 3
- 2022Brand New K-FACs: Speeding up K-FAC with Online Decomposition Updatescited by 2
Built on by
Citing papers per year: 2024: 7; 2025: 63; 2026: 122.
192 papers.
Sort:
By area:
- 2025Muon is Scalable for LLM Trainingcited by 428
- 2025NorMuon: Making Muon more efficient and scalablecited by 84
- 2025Practical Efficiency of Muon for Pretrainingcited by 80
- 2024MARS: Unleashing the Power of Variance Reduction for Training Large Modelscited by 64
- 2025ASGO: Adaptive Structured Gradient Optimizationcited by 57
- 2025Gradient Alignment in Physics-informed Neural Networks: A Second-Order Optimization Perspectivecited by 56
- 2025Deep Learning is Not So Mysterious or Differentcited by 56
- 2024Cautious Optimizers: Improving Training with One Line of Codecited by 47
- 2025Power Lines: Scaling Laws for Weight Decay and Batch Size in LLM Pre-trainingcited by 43
- 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Datacited by 41
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noisecited by 41
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 41
38 more
- 2025Isotropic Curvature Model for Understanding Deep Learning Optimization: Is Gradient Orthogonalization Optimal?cited by 37
- 2026Convergence of Muon with Newton-Schulzcited by 36
- 2025Structured Preconditioners in Adaptive Optimization: A Unified Analysiscited by 33
- 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 30
- 2025The Sharpness Disparity Principle in Transformers for Accelerating Language Model Pre-Trainingcited by 30
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 23
- 2025AdaGrad Meets Muon: Adaptive Stepsizes for Orthogonal Updatescited by 23
- 2025Hyperparameter Transfer Enables Consistent Gains of Matrix-Preconditioned Optimizers Across Scalescited by 21
- 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
- 2024Moonshine: Speech Recognition for Live Transcription and Voice Commandscited by 19
- 2025SUMO: Subspace-Aware Moment-Orthogonalization for Accelerating Memory-Efficient LLM Trainingcited by 19
- 2025A Stable Whitening Optimizer for Efficient Neural Network Trainingcited by 18
- 2026The Newton-Muon Optimizercited by 18
- 2025The Potential of Second-Order Optimization for LLMs: A Study with Full Gauss-Newtoncited by 17
- 2026Mousse: Rectifying the Geometry of Muon with Curvature-Aware Preconditioningcited by 17
- 2026MuonEq: Balancing Before Orthogonalization with Lightweight Equilibrationcited by 17
- 2026Muon2: Boosting Muon via Adaptive Second-Moment Preconditioningcited by 17
- 2025NeoBERT: A Next-Generation BERTcited by 16
- 2025What Really Matters in Matrix-Whitening Optimizers?cited by 16
- 2025Pairwise Calibrated Rewards for Pluralistic Alignmentcited by 14
- 2025Simulating Three-dimensional Turbulence with Physics-informed Neural Networkscited by 14
- 2026Sharp Capacity Scaling of Spectral Optimizers in Learning Associative Memorycited by 14
- 2025CLIMB: Data Foundations for Large Scale Multimodal Clinical Foundation Modelscited by 13
- 2025Towards Quantifying the Hessian Structure of Neural Networkscited by 13
- 2025Outlier-Safe Pre-Training for Robust 4-Bit Quantization of Large Language Modelscited by 13
- 2025SGD with Adaptive Preconditioning: Unified Analysis and Momentum Accelerationcited by 12
- 2026Mano: Restriking Manifold Optimization for LLM Trainingcited by 12
- 2026On the Width Scaling of Neural Optimizers Under Matrix Operator Norms I: Row/Column Normalization and Hyperparameter Transfercited by 12
- 2026HTMuon: Improving Muon via Heavy-Tailed Spectral Correctioncited by 12
- 2025Effective Quantization of Muon Optimizer Statescited by 11
- 2025Preconditioned Norms: A Unified Framework for Steepest Descent, Quasi-Newton and Adaptive Methodscited by 11
- 2026FISMO: Fisher-Structured Momentum-Orthogonalized Optimizercited by 11
- 2026Enhancing LLM Training via Spectral Clippingcited by 10
- 2025Leveraging Coordinate Momentum in SignSGD and Muon: Memory-Optimized Zero-Ordercited by 9
- 2025Reparameterized LLM Training via Orthogonal Equivalence Transformationcited by 9
- 2025Scaling with Collapse: Efficient and Predictable Training of LLM Familiescited by 9
- 2025FOCUS: First Order Concentrated Updating Schemecited by 8
- 2025Physics of Skill Learningcited by 8
50 most cited of 192 All 192 (JSON)
- 2026How Inner Optimizers Shape Replica Scaling13 Oct 2026
- 2026Which Geometry on Which Layer? Measured Sign-Spectral Assignment in Mixed-Optimizer Training12 Oct 2026
- 2026Towards Easier-to-Tune Training Algorithms: New Results from AlgoPerf9 Oct 2026
- 2026Spectral Weight Decay: Inducing Low-Rank Structure in Neural Network Weights8 Oct 2026
- 2026Does Muon Need Fine-Grained Spectral Shaping?5 Oct 2026
- 2026An overview of machine learning-enhanced iterative methods for systems of linear and nonlinear equations5 Oct 2026
- 2026A Solvable Model of Adaptive Learning Rate Rescaling: Acceleration, Stability & Scaling5 Oct 2026
- 2026MercerFlow: Flow Matching in a Kernel-Induced Latent Space for Probabilistic Forecasting5 Oct 2026
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketching3 Oct 2026
- 2026ExpertMuon-Compass: Alignment-Guided Step Sizes for Mixture-of-Experts Training2 Oct 2026
- 2026Exact information accounting for SGD methods30 Sep 2026
- 2026Does Gradient Conflict Predict the Understanding--Generation Trade-off? A Controlled Audit of Conflict-Metric Validity in Unified Multimodal Models29 Sep 2026
38 more
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Terminal Shrinkage Averaging Reveals a Schedule-Estimator Interaction in LLM Pretraining21 Sep 2026
- 2026Latent-MoE: Domain-Aware Mixture-of-Experts for PDEs with Multi-Regime Physics7 Sep 2026
- 2026Physics-Informed Neural Network Surrogate for Oxygen Vacancy Dynamics in epitaxial SrTiO3 on Si memristors via Dynamic Spectral Optimization2 Sep 2026
- 2026Post-Training Science for Supervised Fine-Tuning1 Sep 2026
- 2026SS-ESOAP: Self-Scaled Adaptive Preconditioning for Physics-Informed Learning29 Aug 2026
- 2026A Physical Response-and-Memory Model for Muon Optimization24 Aug 2026
- 2026Loss Landscape Features That Make Adam Stall: Definitions, Estimators, and the Preconditioned Hessian View23 Aug 2026
- 2026Blockwise Stabilized Adaptive Cubic Regularization with Subsolvers via Recurrence22 Aug 2026
- 2026Activation-Keyed Momentum: An Anisotropic Momentum Update via the Delta Rule19 Aug 2026
- 2026Spectral Gradient Orthogonalization Improves Differentially Private Training at Scale18 Aug 2026
- 2026Abra: Scaling Diffusion Image Training18 Aug 2026
- 2026Second-Order Muon Done Right: A Principled Marriage of Spectral Geometry and Curvature10 Aug 2026
- 2026Tools to Explain Neural Networks for Power System Dynamics8 Aug 2026
- 2026AOS: Adaptive Optimizer Switching via Training-State Signals for Faster Convergence and Better Generalization3 Aug 2026
- 2026Scale Weight Decay and Train Better26 Jul 2026
- 2026Label-Free Finite-Volume-Residual Training of Attention Graph Neural Networks for Coupled Thermo-Fluid Fields22 Jul 2026
- 2026PoLoRA: A Preconditioned Orthogonalized LoRA Optimizer20 Jul 2026
- 2026Muse: Representation Geometry of Muon Beyond Normalized Momentum16 Jul 2026
- 2026Learning Forced Multibody Dynamics on Lie Groups14 Jul 2026
- 2026SOAP, Muon, and Beyond: Pushing LLM Pretraining Scales13 Jul 2026
- 2026Edge Cluster Expansion with Radial Rotary Attention for Interatomic Potentials12 Jul 2026
- 2026Causal Optimizer Interaction Calculus: Hidden Geometric Relaxation and Identifiable Interventions8 Jul 2026
- 2026Optimization Geometrodynamics: Variational Reduction and Interaction Curvature7 Jul 2026
- 2026Beyond Adam: SOAP and Muon for Faster, Label-Efficient Training of Machine Learning Interatomic Potentials2 Jul 2026
- 2026Gradient Smoothing: Coupling Layer-wise Updates for Improved Optimization29 Jun 2026
- 2026One-Step Gradient Delay is Not a Barrier for Large-Scale Asynchronous Pipeline Parallel LLM Pretraining29 Jun 2026
- 2026Bridging Ab Initio Symmetries and Global Nuclear Masses with Interpretable Neural Networks26 Jun 2026
- 2026DMuon: Efficient Distributed Muon Training with Near-Adam Overhead25 Jun 2026
- 2026Tensorion: A Tensor-Aware Generalization of the Muon Optimizer24 Jun 2026
- 2026Improving Neural Network Training by Decoupling the Magnitude and Direction of Weight Vectors24 Jun 2026
- 2026Training for the Model You Return: Improving Optimization for Iterate-Averaged Language Models23 Jun 2026
- 2026Compute Efficiency and Serial Runtime Tradeoffs for Stochastic Momentum Methods17 Jun 2026
- 2026Zeta: Dual Whitening for Matrix Optimization via Coordinate-Adaptive Preconditioning12 Jun 2026
- 2026Adjoint Method versus Physics-Informed Neural Networks in PDE-Constrained Inverse Problems10 Jun 2026
- 2026On the training of physics-informed neural operators for solving parametric partial differential equations4 Jun 2026
- 2026Why Muon Outperforms Adam: A Curvature Perspective3 Jun 2026
- 2026OPTScientist: Multi-Agent Discovery of Typed Optimizer Programs for Transformer Pretraining2 Jun 2026
50 newest of 192 All 192 (JSON)
- 2025Muon is Scalable for LLM Trainingcited by 428
- 2026Improving Neural Network Training by Decoupling the Magnitude and Direction of Weight Vectorscited by 3
- 2026Post-Training Science for Supervised Fine-Tuningcited by 1
- 2026Latent-MoE: Domain-Aware Mixture-of-Experts for PDEs with Multi-Regime Physicscited by 0
- 2026ExpertMuon-Compass: Alignment-Guided Step Sizes for Mixture-of-Experts Trainingcited by 0
- 2026ExpertMuon-Compass: Alignment-Guided Step Sizes for Mixture-of-Experts Training2 Oct 2026
- 2026Latent-MoE: Domain-Aware Mixture-of-Experts for PDEs with Multi-Regime Physics7 Sep 2026
- 2026Post-Training Science for Supervised Fine-Tuning1 Sep 2026
- 2026Improving Neural Network Training by Decoupling the Magnitude and Direction of Weight Vectors24 Jun 2026
- 2025Muon is Scalable for LLM Training24 Feb 2025
- 2025Pairwise Calibrated Rewards for Pluralistic Alignmentcited by 14
- 2025Pairwise Calibrated Rewards for Pluralistic Alignment17 May 2025
- 2025NorMuon: Making Muon more efficient and scalablecited by 84
- 2025Practical Efficiency of Muon for Pretrainingcited by 80
- 2024MARS: Unleashing the Power of Variance Reduction for Training Large Modelscited by 64
- 2025ASGO: Adaptive Structured Gradient Optimizationcited by 57
- 2025Gradient Alignment in Physics-informed Neural Networks: A Second-Order Optimization Perspectivecited by 56
- 2025Deep Learning is Not So Mysterious or Differentcited by 56
- 2024Cautious Optimizers: Improving Training with One Line of Codecited by 47
- 2025Power Lines: Scaling Laws for Weight Decay and Batch Size in LLM Pre-trainingcited by 43
- 2025Implicit Bias of Spectral Descent and Muon on Multiclass Separable Datacited by 41
- 2025Lions and Muons: Optimization via Stochastic Frank-Wolfe under Heavy-Tailed Noisecited by 41
- 2025Small Batch Size Training for Language Models: When Vanilla SGD Works, and Why Gradient Accumulation Is Wastefulcited by 41
- 2025Isotropic Curvature Model for Understanding Deep Learning Optimization: Is Gradient Orthogonalization Optimal?cited by 37
12 most cited of 178 All 178 (JSON)
- 2026How Inner Optimizers Shape Replica Scaling13 Oct 2026
- 2026Which Geometry on Which Layer? Measured Sign-Spectral Assignment in Mixed-Optimizer Training12 Oct 2026
- 2026Towards Easier-to-Tune Training Algorithms: New Results from AlgoPerf9 Oct 2026
- 2026Spectral Weight Decay: Inducing Low-Rank Structure in Neural Network Weights8 Oct 2026
- 2026Does Muon Need Fine-Grained Spectral Shaping?5 Oct 2026
- 2026An overview of machine learning-enhanced iterative methods for systems of linear and nonlinear equations5 Oct 2026
- 2026A Solvable Model of Adaptive Learning Rate Rescaling: Acceleration, Stability & Scaling5 Oct 2026
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketching3 Oct 2026
- 2026Exact information accounting for SGD methods30 Sep 2026
- 2026Does Gradient Conflict Predict the Understanding--Generation Trade-off? A Controlled Audit of Conflict-Metric Validity in Unified Multimodal Models29 Sep 2026
- 2026Relative Generalization Invariance of LLM Pretraining26 Sep 2026
- 2026Terminal Shrinkage Averaging Reveals a Schedule-Estimator Interaction in LLM Pretraining21 Sep 2026
12 newest of 178 All 178 (JSON)