arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2510.17802cs.LGcs.AImath.OC
收藏

无偏梯度低秩投影

Unbiased Gradient Low-Rank Projection

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);National University of Singapore(新加坡国立大学)

Rui Pan, Yang Luo, Yuxing Liu, Yang You, Tong Zhang

AI总结:

针对 GaLore 等低秩梯度投影存在偏差和收敛保证不足的问题,本文提出结合逐层采样与 Muon 的无偏方法 GUM,在保持低内存的同时实现理论收敛保证,并在 LLM 训练中优于 GaLore 及全参数训练。

摘要:

内存高效优化对于训练日益庞大的语言模型(LLM)至关重要。一种流行策略是梯度低秩投影,仅存储投影后的优化器状态,GaLore 是其代表性示例。然而,许多此类方法的一个显著缺点是缺乏收敛保证,因为各种低秩投影方法相对于原始优化算法引入了固有偏差,从而导致与全参数训练相比存在性能差距。为解决这一问题,本文研究了用于消除低秩投影机制偏差的逐层采样技术。具体而言,该范式的一个实例化产生了一种新颖且无偏的低秩优化方法,它建立在 GaLore 机制和 Muon 算法之上,名为 GaLore Unbiased with Muon(GUM)。我们在理论上证明,该方法在保持低秩技术内存效率的同时,具备与基础 Muon 算法相匹配的收敛保证。在 LLM 微调和预训练上的实证实验也表明,其相比 GaLore 取得了显著提升,甚至表现优于全参数训练。进一步研究显示,该技术的提升来自层内知识分布更加均匀,从而使模型参数空间得到更高效利用,并带来更好的记忆能力。

英文摘要:

Memory-efficient optimization is critical for training increasingly large language models (LLMs). A popular strategy involves gradient low-rank projection, storing only the projected optimizer states, with GaLore being a representative example. However, a significant drawback of many such methods is their lack of convergence guarantees, as various low-rank projection approaches introduce inherent biases relative to the original optimization algorithms, which contribute to performance gaps compared to full-parameter training. Aiming to tackle this problem, this paper investigates the layerwise sampling technique for debiasing low-rank projection mechanisms. In particular, an instantiation of the paradigm gives rise to a novel and unbiased low-rank optimization method built upon GaLore's mechanism and the Muon algorithm, named GaLore Unbiased with Muon (GUM). We theoretically prove our method matches the convergence guarantees of the base Muon algorithm while preserving the memory efficiency of low-rank techniques. Empirical experiments on LLM fine-tuning and pretraining also demonstrate non-trivial improvements over GaLore and even better performance than full-parameter training. Further investigation shows that the improvement of this technique comes from a more uniform distribution of knowledge inside layers, leading to more efficient utilization of the model parameter space and better memorization.

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

↑