AdamW风格Shampoo的收敛率分析:统一单侧与双侧预处理
Convergence Rate Analysis of the AdamW-style Shampoo: Unifying One-Sided and Two-Sided Preconditioning
AI总结:
本文研究AdamW风格Shampoo优化器,统一单侧与双侧预处理,并建立了以核范数度量的收敛率,该收敛率在理想情况下与SGD的最优收敛率类似。
摘要:
本文研究AdamW风格Shampoo优化器,它是经典Shampoo的一种有效实现,并在AlgoPerf神经网络训练算法竞赛的外部调优赛道中获胜。我们的分析统一了单侧和双侧预处理,并建立了以核范数度量的收敛率 $\frac{1}{K}\sum_{k=1}^K E\left[\|\nabla f(X_k)\|_*\right]\leq O(\frac{\sqrt{m+n}C}{K^{1/4}})$,其中 $K$ 表示迭代次数,$(m,n)$ 表示矩阵参数的尺寸,$C$ 与SGD最优收敛率中的常数一致。理论上,我们有 $\|\nabla f(X)\|_F\leq \|\nabla f(X)\|_*\leq \sqrt{m+n}\|\nabla f(X)\|_F$,这支持了我们的收敛率在 $\|\nabla f(X)\|_*= Θ(\sqrt{m+n})\|\nabla f(X)\|_F$ 且 $m$ 和 $n$ 平衡的理想情况下,可以被视为类似于SGD的最优收敛率 $\frac{1}{K}\sum_{k=1}^KE\left[\|\nabla f(X_k)\|_F\right]\leq O(\frac{C}{K^{1/4}})$。
英文摘要:
This paper studies AdamW-style Shampoo, an effective variant of the classical Shampoo that won the external tuning track of the AlgoPerf neural network training competition. Our analysis unifies one-sided and two-sided preconditioning. When the exponents of the two preconditioners sum to $1/2$, we establish the convergence rate $\frac{1}{K}\sum_{k=1}^KE\left[||\nabla f(X_k)||_*\right]\leq O(\frac{\sqrt{m+n}C}{K^{1/4}})$, where $K$ represents the number of iterations, $(m,n)$ denotes the dimensions of the matrix-valued parameters, and $C$ matches the constant appearing in the optimal convergence rate of SGD. Theoretically, the nuclear norm and Frobenius norm satisfy $||\nabla f(X)||_F\leq ||\nabla f(X)||_*\leq \sqrt{\min\{m,n\}}||\nabla f(X)||_F$, which suggests that our convergence rate is 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 where $||\nabla f(X)||_*= Θ(\sqrt{\min\{m,n\}})||\nabla f(X)||_F$ and $m$ and $n$ are of comparable magnitude. Then, we extend our analysis to settings where the preconditioning exponents do not sum to 1/2, and establish convergence with an explicit but more involved rate.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。