arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.06316cs.LGcs.AI
收藏

Pro-KLShampoo:利用正交化恢复白化过程的投影KL-Shampoo

Pro-KLShampoo: Projected KL-Shampoo with Whitening Recovered by Orthogonalization

Department of Electrical & Computer Engineering, Northwestern University(电气与计算机工程系,西北大学);Department of Industrial Engineering & Management Sciences, Northwestern University(工业工程与管理科学系,西北大学)

Ruotong Sun, Ermin Wei

AI总结:

本文提出Pro-KLShampoo,通过正交化恢复白化过程,改进了KL-Shampoo的Kronecker预置器结构,实验证明其在预训练任务中表现更优。

摘要:

利用梯度矩阵结构的优化器在现代大语言模型预训练中至关重要,主要有两个方向:显式克罗内克因子预置器(最近的KL-Shampoo通过KL散度最小化估计预置器)和梯度动量的正交化(如Muon)。本文观察到KL-Shampoo的克罗内克预置器的特征值谱呈现“尖峰-平坦”形状,通过限制其中一个克罗内克因子到参数化的家族中,应用正交化,恢复了完整KL-Shampoo预置器的代数形式。在四个预训练规模上,Pro-KLShampoo在验证损失、峰值每GPU内存和达到每个损失水平的时间上均优于KL-Shampoo。

英文摘要:

Optimizers that exploit the matrix structure of gradients are central to modern LLM pre-training, with two distinct frontiers: explicit Kronecker-factored preconditioning -- most recently KL-Shampoo, which estimates the preconditioner via KL divergence minimization -- and orthogonalization of the gradient momentum, exemplified by Muon and analyzed as steepest descent under the spectral norm. The two routes are typically developed in isolation. We make a structural observation about KL-Shampoo's Kronecker preconditioners: their eigenvalue spectra exhibit a \emph{spike-and-flat} shape -- a few dominant eigenvalues followed by an approximately uniform tail -- across layers and training stages, holding exactly under a rank-$ρ$ signal-plus-noise gradient model. We exploit this structure by restricting one of KL-Shampoo's Kronecker factors to a parametric family aligned with the spike-and-flat shape: full spectral structure on a tracked $r$-dimensional subspace, single shared eigenvalue across the remaining $n-r$ directions. On these directions, we apply orthogonalization. An identity shows that this orthogonalization recovers the algebraic form of full KL-Shampoo's preconditioner. On four pre-training scales (GPT-2 124M / 350M, LLaMA 134M / 450M), Pro-KLShampoo consistently outperforms KL-Shampoo at every subspace rank we test in validation loss, peak per-GPU memory, and wallclock time to reach each loss level.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑