4-bit Shampoo for Memory-Efficient Network Training
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
- 2017Attention Is All You Needcited by 60,361
- 2015Deep Residual Learning for Image Recognitioncited by 52,096
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 30,186
- 2014Very Deep Convolutional Networks for Large-Scale Image Recognitioncited by 15,364
- 2019Exploring the Limits of Transfer Learning with a Unified Text-to-Text Transformercited by 14,599
- 2023Llama 2: Open Foundation and Fine-Tuned Chat Modelscited by 13,028
- 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
- 2014ImageNet Large Scale Visual Recognition Challengecited by 8,498
- 2023QLoRA: Efficient Finetuning of Quantized LLMscited by 3,418
- 2020Conformer: Convolution-augmented Transformer for Speech Recognitioncited by 1,863
- 2018Adafactor: Adaptive Learning Rates with Sublinear Memory Costcited by 905
- 2015Optimizing Neural Networks with Kronecker-factored Approximate Curvaturecited by 796
12 more
- 2024GaLore: Memory-Efficient LLM Training by Gradient Low-Rank Projectioncited by 463
- 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
- 2020ADAHESSIAN: An Adaptive Second Order Optimizer for Machine Learningcited by 202
- 2024The Road Less Scheduledcited by 163
- 2021Vision Transformer for Small-Size Datasetscited by 122
- 20158-Bit Approximations for Parallelism in Deep Learningcited by 56
- 2021M-FAC: Efficient Matrix-Free Approximations of Second-Order Informationcited by 54
- 2023Memory Efficient Optimizers with 4-bit Statescited by 54
- 2020Disentangling Adaptive Gradient Methods from Learning Ratescited by 42
- 2023Sketchy: Memory-efficient Adaptive Regularization with Frequent Directionscited by 17
Built on by
Citing papers per year: 2024: 3; 2025: 8; 2026: 7.
18 papers.
Sort:
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 192
- 2025Dion: Distributed Orthonormalized Updatescited by 68
- 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 30
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 23
- 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunitiescited by 11
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modelingcited by 7
- 2026Understanding Quantization of Optimizer States in LLM Pre-training: Dynamics of State Staleness and Effectiveness of State Resetscited by 6
- 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarkingcited by 5
- 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 5
- 2024Memory-Efficient 4-bit Preconditioned Stochastic Optimizationcited by 2
- 2026DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root Solverscited by 2
6 more
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotationcited by 2
- 2026Budget-aware Auto Optimizer Configuratorcited by 1
- 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimizationcited by 1
- 2025DHO2: Accelerating Distributed Hybrid Order Optimization via Model Parallelism and ADMMcited by 0
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketchingcited by 0
- 2026Minimax Optimality of Shampoo for Nonstationary Stochastic Optimizationcited by 0
- 2026Minimax Optimality of Shampoo for Nonstationary Stochastic Optimization12 Oct 2026
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketching3 Oct 2026
- 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimization12 May 2026
- 2026Budget-aware Auto Optimizer Configurator6 May 2026
- 2026Understanding Quantization of Optimizer States in LLM Pre-training: Dynamics of State Staleness and Effectiveness of State Resets17 Mar 2026
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotation3 Feb 2026
- 2026DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root Solvers2 Feb 2026
- 2025Conda: Column-Normalized Adam for Training Large Language Models Faster29 Sep 2025
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modeling11 Jul 2025
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner4 Jun 2025
- 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarking28 May 2025
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunities2 May 2025
6 more
- 2025DHO2: Accelerating Distributed Hybrid Order Optimization via Model Parallelism and ADMM2 May 2025
- 2025Dion: Distributed Orthonormalized Updates7 Apr 2025
- 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMs24 Feb 2025
- 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Training17 Dec 2024
- 2024Memory-Efficient 4-bit Preconditioned Stochastic Optimization14 Dec 2024
- 2024SOAP: Improving and Stabilizing Shampoo using Adam17 Sep 2024
- 2024SOAP: Improving and Stabilizing Shampoo using Adamcited by 192
- 2025Dion: Distributed Orthonormalized Updatescited by 68
- 2025COSMOS: A Hybrid Adaptive Optimizer for Memory-Efficient Training of LLMscited by 30
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditionercited by 23
- 2024SWAN: SGD with Normalization and Whitening Enables Stateless LLM Trainingcited by 20
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunitiescited by 11
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modelingcited by 7
- 2026Understanding Quantization of Optimizer States in LLM Pre-training: Dynamics of State Staleness and Effectiveness of State Resetscited by 6
- 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarkingcited by 5
- 2025Conda: Column-Normalized Adam for Training Large Language Models Fastercited by 5
- 2024Memory-Efficient 4-bit Preconditioned Stochastic Optimizationcited by 2
- 2026DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root Solverscited by 2
12 most cited of 18 All 18 (JSON)
- 2026Minimax Optimality of Shampoo for Nonstationary Stochastic Optimization12 Oct 2026
- 2026Clean: Second-order LLM Training at Linear Memory Cost via Nystr"om Sketching3 Oct 2026
- 2026MuonQ: Enhancing Low-Bit Muon Quantization via Directional Fidelity Optimization12 May 2026
- 2026Budget-aware Auto Optimizer Configurator6 May 2026
- 2026Understanding Quantization of Optimizer States in LLM Pre-training: Dynamics of State Staleness and Effectiveness of State Resets17 Mar 2026
- 2026Mitigating Staleness in Asynchronous Pipeline Parallelism via Basis Rotation3 Feb 2026
- 2026DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root Solvers2 Feb 2026
- 2025Conda: Column-Normalized Adam for Training Large Language Models Faster29 Sep 2025
- 2025AbbIE: Autoregressive Block-Based Iterative Encoder for Efficient Sequence Modeling11 Jul 2025
- 2025Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner4 Jun 2025
- 2025Scalable Parameter and Memory Efficient Pretraining for LLM: Recent Algorithmic Advances and Benchmarking28 May 2025
- 2025Low-Precision Training of Large Language Models: Methods, Challenges, and Opportunities2 May 2025
12 newest of 18 All 18 (JSON)
Similar, not cited
Close in wording, no citation either way
- 2026Rounding in Preconditioner Space: Redesigning 4-bit AdamW Optimizer-State Quantization
- 2026Low-Dimensional High-Leverage Subspace Optimization: Beyond Full-Parameter Coupled Training for Neural Network Quantization
- 2025Pushing the Limits of Low-Bit Optimizers: A Focus on EMA Dynamics
- 2022Few-Bit Backward: Quantized Gradients of Activation Functions for Memory Footprint Reduction
- 2025HOT: Hadamard-based Optimized Training
- 2023Training Transformers with 4-bit Integers
- 2026Quantization-Aware Pre-Training with Constrained Empirical Weight Distribution
- 2024SDP4Bit: Toward 4-bit Communication Quantization in Sharded Data Parallelism for LLM Training