arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2505.21799math.OCcs.LGstat.ML
收藏

PolarGrad:从统一预条件化视角出发的一类矩阵-梯度优化器

PolarGrad: A Class of Matrix-Gradient Optimizers from a Unifying Preconditioning Perspective

University of Pennsylvania(宾夕法尼亚大学);Wharton(沃顿商学院)

Tim Tsz-Kit Lau, Qi Long, Weijie Su

AI总结:

PolarGrad是一种基于矩阵梯度极分解的新型预条件优化方法,通过统一视角分析矩阵感知预条件方法,提升语言模型预训练和矩阵优化性能。

摘要:

深度学习模型和训练数据规模的持续增长凸显了高效优化方法的重要性。虽然Adam和AdamW等预条件梯度方法是训练神经网络和大语言模型的事实优化器,但利用梯度矩阵结构的结构感知预条件优化器如Shampoo和Muon已展现出更快收敛的证据。本文介绍了一种统一框架,用于分析

英文摘要:

The ever-growing scale of deep learning models and training data underscores the critical importance of efficient optimization methods. While preconditioned gradient methods such as Adam and AdamW are the de facto optimizers for training neural networks and large language models, structure-aware preconditioned optimizers like Shampoo and Muon, which utilize the matrix structure of gradients, have demonstrated promising evidence of faster convergence. In this paper, we introduce a unifying framework for analyzing "matrix-aware" preconditioned methods, which not only sheds light on the effectiveness of Muon and related optimizers but also leads to a class of new structure-aware preconditioned methods. A key contribution of this framework is its precise distinction between preconditioning strategies that treat neural network weights as vectors (addressing curvature anisotropy) versus those that consider their matrix structure (addressing gradient anisotropy). This perspective provides new insights into several empirical phenomena in language model pre-training, including Adam's training instabilities, Muon's accelerated convergence, and the necessity of learning rate warmup for Adam. Building upon this framework, we introduce PolarGrad, a new class of preconditioned optimization methods based on the polar decomposition of matrix-valued gradients. As a special instance, PolarGrad includes Muon with updates scaled by the nuclear norm of the gradients. We provide numerical implementations of these methods, leveraging efficient numerical polar decomposition algorithms for enhanced convergence. Our extensive evaluations across diverse matrix optimization problems and language model pre-training tasks demonstrate that PolarGrad outperforms both Adam and Muon.

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

↑