CacheMuon:利用时间预条件近似极分解因子
CacheMuon: Using Temporal Preconditioning To Approximate Polar Factor
AI总结:
提出CacheMuon,通过缓存历史优化步的极分解因子来减少Muon优化器中牛顿-舒尔茨迭代的计算开销,在保持训练质量的同时降低正交化计算量。
摘要:
Muon是一种优化器,它利用动量矩阵的极分解因子计算更新,并在多种训练设置中展现出强大的实证性能。Muon的一个关键组件是用于计算该极分解因子的牛顿-舒尔茨迭代。尽管这避免了精确奇异值分解的计算成本,但由于每一步优化都要执行,实际中仍然昂贵。同时,动量矩阵在训练过程中平滑变化,表明对应的极分解因子存在强时间相关性。在本文中,我们利用这一结构,提出CacheMuon,一种时间预条件方法,它重用先前优化步的信息来近似当前步的极分解因子。这减少了跨迭代的冗余正交化计算。我们将CacheMuon分析为一种非精确Muon更新,其误差由新鲜求解器误差和缓存陈旧度控制。实验上,CacheMuon提供了可控的质量-效率边界:保守阈值在语言模型和视觉训练中与新鲜Muon紧密匹配,同时减少正交化FLOPs,而更激进的阈值在牺牲适度验证质量下降的情况下带来更大的算术节省。
英文摘要:
Muon is an optimizer that computes updates using the polar factor of the momentum matrix and has shown strong empirical performance across a range of training settings. A key component of Muon is the Newton-Schulz iteration used to compute this polar factor. Although this avoids the cost of an exact singular value decomposition, it remains expensive in practice because it is applied at every optimization step. At the same time, the momentum matrix changes smoothly over training, suggesting strong temporal correlation in the corresponding polar factors. In this paper, we exploit this structure and propose CacheMuon, a temporal preconditioning method that reuses information from previous optimization steps to approximate the polar factor at the current step. This reduces redundant orthogonalization computation across iterations. We analyze CacheMuon as an inexact Muon update, with error controlled by fresh-solver error and cache staleness. Empirically, CacheMuon provides a controllable quality-efficiency frontier: conservative thresholds closely match fresh Muon on language-model and vision training while reducing orthogonalization FLOPs, whereas more aggressive thresholds yield larger arithmetic savings at the cost of modest validation-quality degradation.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。