Convergence Rate Analysis of the AdamW-Style Shampoo: Unifying One-sided and Two-Sided Preconditioning
Huan Li, Yiming Dong, Zhouchen Lin
TL;DR
This work develops a unified convergence analysis for AdamW-style Shampoo that handles both one-sided and two-sided matrix preconditioning in nonconvex optimization. By leveraging Schatten-$p$ Hölder inequalities and a matrix Cauchy–Schwarz bound, the authors derive an explicit nonasymptotic rate: $\frac{1}{K}\sum_{k=1}^K \mathbb{E}[\|\nabla f(\mathbf{X}_k)\|_*] \leq \mathcal{O}\left(\frac{\sqrt{m+n}\,C}{K^{1/4}}\right)$, with $C$ depending on gradient noise and smoothness, and show this aligns with SGD bounds under the ideal relationship between the Frobenius and nuclear norms. The analysis unifies two distinct preconditioning regimes, provides concrete parameter regimes (including $\hat{\varepsilon}$, $\varepsilon$, momentum, and decoupled weight decay) to guarantee convergence, and discusses practical implications for large-scale neural networks. The results offer theoretical grounding for Shampoo-style optimizers in nonconvex settings and connect their performance to matrix dimension through the nuclear-norm measure.
Abstract
This paper studies the AdamW-style Shampoo optimizer, an effective implementation of classical Shampoo that notably won the external tuning track of the AlgoPerf neural network training algorithm competition. Our analysis unifies one-sided and two-sided preconditioning and establishes the convergence rate $\frac{1}{K}\sum_{k=1}^K E\left[\|\nabla f(X_k)\|_*\right]\leq O(\frac{\sqrt{m+n}C}{K^{1/4}})$ measured by nuclear norm, where $K$ represents the iteration number, $(m,n)$ denotes the size of matrix parameters, and $C$ matches the constant in the optimal convergence rate of SGD. Theoretically, we have $\|\nabla f(X)\|_F\leq \|\nabla f(X)\|_*\leq \sqrt{m+n}\|\nabla f(X)\|_F$, supporting that our convergence rate can be considered to be analogous to the optimal $\frac{1}{K}\sum_{k=1}^KE\left[\|\nabla f(X_k)\|_F\right]\leq O(\frac{C}{K^{1/4}})$ convergence rate of SGD in the ideal case of $\|\nabla f(X)\|_*= Θ(\sqrt{m+n})\|\nabla f(X)\|_F$.
