Understanding and improving Shampoo and SOAP via Kullback-Leibler Minimization
Wu Lin, Scott C. Lowe, Felix Dangel, Runa Eschenhagen, Zikun Xu, Roger B. Grosse
摘要
Shampoo and its efficient variant, SOAP, employ structured second-moment estimations and have shown strong performance for training neural networks (NNs). In practice, however, Shampoo typically requires step-size grafting with Adam to be competitive, and SOAP mitigates this by applying Adam in Shampoo's eigenbasis -- at the cost of additional memory overhead from Adam in both methods. Prior analyses have largely relied on the Frobenius norm to motivate these estimation schemes. We instead recast their estimation procedures as covariance estimation under Kullback-Leibler (KL) divergence minimization, revealing a previously overlooked theoretical limitation and motivating principled redesigns. Building on this perspective, we develop and , practical schemes that match or exceed the performance of Shampoo and SOAP in NN pre-training while achieving SOAP-level per-iteration runtime. Notably, KL-Shampoo does not rely on Adam to attain competitive performance, eliminating the memory overhead introduced by Adam. Across our experiments, KL-Shampoo consistently outperforms SOAP, Shampoo, and even KL-SOAP, establishing the KL-based approach as a promising foundation for designing structured methods in NN optimization. An implementation of KL-Shampoo/KL-SOAP is available at https://github.com/yorkerlin/KL-Methods
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 6 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- FOAM: Frequency and Operator-Error Based Adaptive Damping Method for Reducing Staleness-Oriented Error for Shampoo 引用了 Combining Axes Preconditioners through Kronecker Approximation for Deep Learning
- FOAM: Frequency and Operator-Error Based Adaptive Damping Method for Reducing Staleness-Oriented Error for Shampoo 引用了 Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner
- DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root Solvers 引用了 Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner 引用了 Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner 引用了 ASGO: Adaptive Structured Gradient Optimization
- ASGO: Adaptive Structured Gradient Optimization 引用了 Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner
- Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective 引用了 Simplifying Momentum-based Positive-definite Submanifold Optimization with Applications to Deep Learning
- ASGO: Adaptive Structured Gradient Optimization 引用了 Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order Perspective
- Exploiting weight-space symmetries for approximating curvature 引用了 Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its Preconditioner
引用它的顶会 Paper6
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its PreconditionerRuna Eschenhagen, Aaron Defazio, Tsung-Hsien Lee, Richard E. Turner 等NeurIPS 2025 · 24 次引用
- Adam Reduces a Unique Form of Sharpness: Theoretical Insights Near the Minimizer ManifoldXinghan Li, Haodong Wen, Kaifeng LyuNeurIPS 2025 · 6 次引用
- DASH: Faster Shampoo via Batched Block Preconditioning and Efficient Inverse-Root SolversIonut-Vlad Modoranu, Philip Zmushko, Erik Schultheis, Mher Safaryan 等ICML 2026 · 1 次引用
- FOAM: Frequency and Operator-Error Based Adaptive Damping Method for Reducing Staleness-Oriented Error for ShampooKyunghun Nam, Sumyeong AhnICML 2026
- Exploiting weight-space symmetries for approximating curvatureArtem Artemev, Rui Xia, Benjamin M. Boyd, Youjing Yu 等ICML 2026
它引用的 Paper9
- ASGO: Adaptive Structured Gradient OptimizationKang An, Yuxing Liu, Rui Pan, Yi Ren 等NeurIPS 2025 · 58 次引用
- Purifying Shampoo: Investigating Shampoo's Heuristics by Decomposing its PreconditionerRuna Eschenhagen, Aaron Defazio, Tsung-Hsien Lee, Richard E. Turner 等NeurIPS 2025 · 24 次引用
- Can We Remove the Square-Root in Adaptive Gradient Methods? A Second-Order PerspectiveWu Lin, Felix Dangel, Runa Eschenhagen, Juhan Bae 等ICML 2024 · 23 次引用
- Combining Axes Preconditioners through Kronecker Approximation for Deep LearningSai Surya Duvvuri, Devvrit, Rohan Anil, Cho-Jui Hsieh 等ICLR 2024 · 16 次引用
- Simplifying Momentum-based Positive-definite Submanifold Optimization with Applications to Deep LearningWu Lin, Valentin Duruisseaux, Melvin Leok, Frank Nielsen 等ICML 2023 · 13 次引用
相关 Paper
- SOAP: Improving and Stabilizing Shampoo using Adam for Language ModelingNikhil Vyas, Depen Morwani, Rosie Zhao, Itai Shapira 等ICLR 2025
- A New Perspective on Shampoo's PreconditionerDepen Morwani, Itai Shapira, Nikhil Vyas, Eran Malach 等ICLR 2025
- Memory-Efficient 4-bit Preconditioned Stochastic OptimizationJingyang Li, Kuangyu Ding, Kim-Chuan Toh, Pan ZhouICCV 2025 · 1 次引用
- Sketchy: Memory-efficient Adaptive Regularization with Frequent DirectionsVladimir Feinberg, Xinyi Chen, Y. Jennifer Sun, Rohan Anil 等NeurIPS 2023 · 21 次引用
- Convergence Rate Analysis of the AdamW-Style Shampoo: Unifying One-Sided and Two-Sided PreconditioningHuan Li, Yiming Dong, Zhouchen LinICML 2026
