mlsanityData to 14 Oct 2026

4-bit Shampoo for Memory-Efficient Network Training

arXiv 2405.18144 ↗First posted 28 May 2024cs.LG cs.AIcited by 18

Not on the map. Why?

Abstract (arXiv)

Second-order optimizers, maintaining a matrix termed a preconditioner, are superior to first-order optimizers in both theory and practice. The states forming the preconditioner and its inverse root restrict the maximum size of models trained by second-order optimizers. To address this, compressing 32-bit optimizer states to lower bitwidths has shown promise in reducing memory usage. However, current approaches only pertain to first-order optimizers. In this paper, we propose the first 4-bit second-order optimizers, exemplified by 4-bit Shampoo, maintaining performance similar to that of 32-bit ones. We show that quantizing the eigenvector matrix of the preconditioner in 4-bit Shampoo is remarkably better than quantizing the preconditioner itself both theoretically and experimentally. By rectifying the orthogonality of the quantized eigenvector matrix, we enhance the approximation of the preconditioner's eigenvector matrix, which also benefits the computation of its inverse 4-th root. Besides, we find that linear square quantization slightly outperforms dynamic tree quantization when quantizing second-order optimizer states. Evaluation on various networks for image classification and natural language modeling demonstrates that our 4-bit Shampoo achieves comparable performance to its 32-bit counterpart while being more memory-efficient.

Key facts. Cited by 18 papers in the map (data through 14 Oct 2026). Builds on 24 of its 42 references that are in the map. First posted on arXiv 28 May 2024.

Builds on

24 of 42 references.

References · 24

  1. 2017Attention Is All You Needcited by 60,361
  2. 2015Deep Residual Learning for Image Recognitioncited by 52,096
  3. 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
  4. 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
  5. 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
  6. 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
  7. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  8. 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
  9. 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
  10. 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
  11. 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
  12. 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
12 more
  1. 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
  2. 2018Shampoo: Preconditioned Stochastic Tensor Optimizationcited by 426
  3. 20218-bit Optimizers via Block-wise Quantizationcited by 403
  4. 2023Sophia: A Scalable Stochastic Second-order Optimizer for Language Model Pre-trainingcited by 265
  5. 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 202
  6. 2024The Road Less Scheduledcited by 163
  7. 2021Vision Transformer for Small-Size Datasetscited by 122
  8. 20158-Bit Approximations for Parallelism in Deep Learningcited by 56
  9. 2021M-FAC: Efficient Matrix-Free Approximations of Second-Order Informationcited by 54
  10. 2023Memory Efficient Optimizers with 4-bit Statescited by 54
  11. 2020Disentangling Adaptive Gradient Methods from Learning Ratescited by 42
  12. 2023Sketchy: Memory-efficient Adaptive Regularization with Frequent Directionscited by 17

Built on by

Cited by year (2026 to 14 Oct)

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

18 papers.

Sort:

  1. 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 192
  2. 2025Dion: Distributed Orthonormalized Updatescited by 68
  3. 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 30
  4. 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 23
  5. 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
  6. 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunitiescited by 11
  7. 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modelingcited by 7
  8. 2026Understanding Quantization of Optimizer States in LLM Pre-training: Dynamics of State Staleness and Effectiveness of State Resetscited by 6
  9. 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarkingcited by 5
  10. 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 5
  11. 2024Memory-Efficient 4-bit Preconditioned Stochastic Optimizationcited by 2
  12. 2026DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root Solverscited by 2
6 more
  1. 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotationcited by 2
  2. 2026Budget-aware Auto Optimizer Configuratorcited by 1
  3. 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimizationcited by 1
  4. 2025DHO2: Accelerating Distributed Hybrid Order Optimization via Model Parallelism and ADMMcited by 0
  5. 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketchingcited by 0
  6. 2026Minimax Optimality of Shampoo for Nonstationary Stochastic Optimizationcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2026Rounding in Preconditioner Space: Redesigning 4-bit AdamW Optimizer-State Quantization
  2. 2026Low-Dimensional High-Leverage Subspace Optimization: Beyond Full-Parameter Coupled Training for Neural Network Quantization
  3. 2025Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamics
  4. 2022Few-Bit Backward: Quantized Gradients of Activation Functions for Memory Footprint Reduction
  5. 2025HOT: Hadamard-based Optimized Training
  6. 2023Training Transformers with 4-bit Integers
  7. 2026Quantization-Aware Pre-Training with Constrained Empirical Weight Distribution
  8. 2024SDP4Bit: Toward 4-bit Communication Quantization in Sharded Data Parallelism for LLM Training