mlsanityData to 14 Oct 2026

SWAN: SGD with Normalization and Whitening Enables Stateless LLM Training

arXiv 2412.13148 ↗First posted 17 Dec 2024cs.LG cs.AIcited by 20

Not on the map. Why?

Abstract (arXiv)

Adaptive optimizers such as Adam (Kingma & Ba, 2015) have been central to the success of large language models. However, they often require to maintain optimizer states throughout training, which can result in memory requirements several times greater than the model footprint. This overhead imposes constraints on scalability and computational efficiency. Stochastic Gradient Descent (SGD), in contrast, is a stateless optimizer, as it does not track state variables during training. Consequently, it achieves optimal memory efficiency. However, its capability in LLM training is limited (Zhao et al., 2024b). In this work, we show that pre-processing SGD in a stateless manner can achieve the same performance as the Adam optimizer for LLM training, while drastically reducing the memory cost. Specifically, we propose to pre-process the instantaneous stochastic gradients using normalization and whitening. We show that normalization stabilizes gradient distributions, and whitening counteracts the local curvature of the loss landscape. This results in SWAN (SGD with Whitening And Normalization), a stochastic optimizer that eliminates the need to store any optimizer states. Empirically, SWAN has the same memory footprint as SGD, achieving ≈ 50% reduction on total end-to-end memory compared to Adam. In language modeling tasks, SWAN demonstrates comparable or even better performance than Adam: when pre-training the LLaMA model with 350M and 1.3B parameters, SWAN achieves a 2x speedup by reaching the same evaluation perplexity using half as many tokens.

Key facts. Cited by 20 papers in the map (data through 14 Oct 2026). Builds on 60 of its 76 references that are in the map. First posted on arXiv 17 Dec 2024.

Builds on

60 of 76 references.

References · 60

  1. 2020Language Models are Few-Shot Learnerscited by 32,419
  2. 2024The Llama 3 Herd of Modelscited by 14,715
  3. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  4. 2021LoRA: Low-Rank Adaptation of Large Language Modelscited by 14,380
  5. 2023LLaMA: Open and Efficient Foundation Language Modelscited by 14,132
  6. 2016Layer Normalizationcited by 5,669
  7. 2022OPT: Open Pre-trained Transformer Language Modelscited by 3,512
  8. 2023Qwen Technical Reportcited by 3,344
  9. 2019Root Mean Square Layer Normalizationcited by 1,480
  10. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  11. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
  12. 2019Large Batch Optimization for Deep Learning: Training BERT in 76 minutescited by 674
38 more
  1. 2024DeepSeek LLM: Scaling Open-Source Language Models with Longtermismcited by 642
  2. 2018signSGD: Compressed Optimisation for Non-Convex Problemscited by 571
  3. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  4. 2023Symbolic Discovery of Optimization Algorithmscited by 434
  5. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
  6. 2022Reducing Activation Recomputation in Large Transformer Modelscited by 302
  7. 2017Three Factors Influencing Minima in SGDcited by 273
  8. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
  9. 2023ReLoRA: High-Rank Training Through Low-Rank Updatescited by 204
  10. 2024Old Optimizer, New Norm: An Anthologycited by 193
  11. 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 192
  12. 2018Fast Approximate Natural Gradient Descent in a Kronecker-factored Eigenbasiscited by 146
  13. 2020Momentum Improves Normalized SGDcited by 139
  14. 2024Adam-mini: Use Fewer Learning Rates To Gain Morecited by 137
  15. 2023Full Parameter Fine-tuning for Large Language Models with Limited Resourcescited by 134
  16. 2024Why Transformers Need Adam: A Hessian Perspectivecited by 124
  17. 2023Noise Is Not the Main Factor Behind the Gap Between SGD and Adam on Transformers, but Sign Descent Might Becited by 114
  18. 2024Flora: Low-Rank Adapters Are Secretly Gradient Compressorscited by 108
  19. 2019Iterative Normalization: Beyond Standardization towards Efficient Whiteningcited by 92
  20. 2018Decorrelated Batch Normalizationcited by 83
  21. 2022Robustness to Unbounded Smoothness of Generalized SignSGDcited by 81
  22. 2024Heavy-Tailed Class Imbalance and Why Adam Outperforms Gradient Descent on Language Modelscited by 80
  23. 2023A Distributed Data-Parallel PyTorch Implementation of the Distributed Shampoo Optimizer for Training Neural Networks At-Scalecited by 77
  24. 2017Towards Faster Training of Global Covariance Pooling Networks by Iterative Matrix Square Root Normalizationcited by 65
  25. 2023A Theory on Adam Instability in Large-Scale Machine Learningcited by 56
  26. 2024The AdEMAMix Optimizer: Better, Faster, Oldercited by 54
  27. 2024APOLLO: SGD-like Memory, AdamW-level Performancecited by 54
  28. 2023JoMA: Demystifying Multilayer Transformers via JOint Dynamics of MLP and Attentioncited by 52
  29. 2015Preconditioned Stochastic Gradient Descentcited by 50
  30. 2023Kronecker-Factored Approximate Curvature for Modern Neural Network Architecturescited by 49
  31. 2024Fira: Can We Achieve Full-rank Training of LLMs Under Low-rank Constraint?cited by 43
  32. 2023No Train No Gain: Revisiting Efficient Training Algorithms For Transformer-based Language Modelscited by 41
  33. 2024Deconstructing What Makes a Good Optimizer for Language Modelscited by 41
  34. 2024Q-GaLore: Quantized GaLore with INT4 Projection and Layer-Adaptive Low-Rank Gradientscited by 38
  35. 2022Exploring Low Rank Training of Deep Neural Networkscited by 30
  36. 2018A general system of differential equations to model first order adaptive algorithmscited by 28
  37. 2022Orthogonalising gradients to speed up neural network optimisationcited by 27
  38. 2024Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspectivecited by 25

50 most cited of 60 All 60 (JSON)

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 5; 2026: 15.

20 papers.

Sort:

By area:

  1. 2025Memory-Efficient LLM Pretraining via Minimalist Optimizer Designcited by 13
  2. 2026Mano: Restriking Manifold Optimization for LLM Trainingcited by 12
  3. 2026Powering Up Zeroth-Order Training via Subspace Gradient Orthogonalizationcited by 12
  4. 2026On the Width Scaling of Neural Optimizers Under Matrix Operator Norms I: Row/Column Normalization and Hyperparameter Transfercited by 12
  5. 2025Gradient Multi-Normalization for Stateless and Scalable LLM Trainingcited by 9
  6. 2025Reparameterized LLM Training via Orthogonal Equivalence Transformationcited by 9
  7. 2025FedMuon: Federated Learning with Bias-corrected LMO-based Optimizationcited by 8
  8. 2026Good Arguments Against the People Pleasers: How Reasoning Mitigates (Yet Masks) LLM Sycophancycited by 8
  9. 2026Stabilizing Native Low-Rank LLM Pretrainingcited by 6
  10. 2026Taming Momentum: Rethinking Optimizer States Through Low-Rank Approximationcited by 2
  11. 2025GWT: Scalable Optimizer State Compression for Large Language Model Trainingcited by 1
  12. 2026Subspace Control: Turning Constrained Model Steering into Controllable Spectral Optimizationcited by 1
8 more
  1. 2026SAGE: Sign-Adaptive Gradient for Memory-Efficient LLM Optimizationcited by 1
  2. 2026Demystifying Manifold Constraints in LLM Pre-trainingcited by 1
  3. 2026Budget-aware Auto Optimizer Configuratorcited by 1
  4. 2026Muse: Representation Geometry of Muon Beyond Normalized Momentumcited by 1
  5. 2026PowerStep: Memory-Efficient Adaptive Optimization via ℓp-Norm Steepest Descentcited by 0
  6. 2026Blog: Survey of Optimizerscited by 0
  7. 2026Normalize-Then-Precondition: A Hierarchical Approach to Marginal Scale and Interaction Geometry for LLM Trainingcited by 0
  8. 2026The Row Normalization Puzzle in Muoncited by 0