Learnable Multipliers: Freeing the Scale of Language Model Matrix Layers
这篇论文提出了可学习乘数(LRM)的概念,通过引入可学习乘数来学习模型矩阵层的最佳尺度,从而提高语言模型预训练的性能。
更新于 2026-01-13。作者:Maksim Velikanov、Ilyas Chahed、Jingwei Zuo、Dhia Eddine Rhaiem、Younes Belkada、Hakim Hacid。
中文摘要
将权重衰减(WD)应用于矩阵层是大型语言模型预训练中的标准做法。先前的研究表明,随机梯度噪声会导致权重矩阵W产生类似布朗运动的扩张,其增长被权重衰减所抵消,从而形成一种权重范数||W||的WD-噪声平衡。在本研究中,我们将平衡范数视为训练过程中的有害副作用,并通过引入可学习的乘数来学习最佳尺度来解决它。首先,我们将一个可学习的标量乘数附加到W上,并证实WD-噪声平衡范数是次优的:学习的尺度适应数据并提高性能。然后,我们论证单个行和列范数同样受到约束,并通过引入可学习的每行和每列乘数来释放它们的尺度。我们的方法可以被视为muP乘数的可学习、更具表达力的泛化。它优于一个精心调整的muP基线,减少了乘数调整的计算开销,并提出了实际的问题,如前向传递的对称性和学习乘数的宽度缩放。最后,我们使用Adam和Muon优化器验证了可学习乘数,在下游评估中显示出与从Adam切换到Muon相匹配的改进。
英文摘要
Applying weight decay (WD) to matrix layers is standard practice in large-language-model pretraining. Prior work suggests that stochastic gradient noise induces a Brownian-like expansion of the weight matrices W, whose growth is counteracted by WD, leading to a WD-noise equilibrium with a certain weight norm ||W||. In this work, we view the equilibrium norm as a harmful artifact of the training procedure, and address it by introducing learnable multipliers to learn the optimal scale. First, we attach a learnable scalar multiplier to W and confirm that the WD-noise equilibrium norm is suboptimal: the learned scale adapts to data and improves performance. We then argue that individual row and column norms are similarly constrained, and free their scale by introducing learnable per-row and per-column multipliers. Our method can be viewed as a learnable, more expressive generalization of muP multipliers. It outperforms a well-tuned muP baseline, reduces the computational overhead of multiplier tuning, and surfaces practical questions such as forward-pass symmetries and the width-scaling of the learned multipliers. Finally, we validate learnable multipliers with both Adam and Muon optimizers, where it shows improvement in downstream evaluations matching the improvement of the switching from Adam to Muon.
解读
一句话总结
这篇论文提出了可学习乘数(LRM)的概念,通过引入可学习乘数来学习模型矩阵层的最佳尺度,从而提高语言模型预训练的性能。
问题1:这篇论文想要解决什么具体问题?
- 问题背景:在大型语言模型预训练中,矩阵层通常应用权重衰减(WD)来稳定训练过程。然而,这可能导致模型权重在噪声-WD平衡中,限制了其学习适合特定训练数据的尺度。
- 现有方案不足:传统的权重衰减方法限制了模型权重的尺度,无法自适应地学习最佳尺度。
- 研究目标:通过引入可学习乘数,使模型能够自适应地学习最佳尺度,从而提高模型预训练的性能。
问题2:论文的核心创新点是什么?
- 技术创新:提出可学习乘数(LRM)的概念,通过学习乘数来调整模型矩阵层的尺度。
- 方法改进:通过在模型中引入可学习乘数,使模型能够自适应地学习最佳尺度,从而提高模型预训练的性能。
- 优势:与现有方法相比,可学习乘数可以显著提高模型预训练的性能,并且减少了乘数调整的计算开销。
问题3:实验结果如何验证了方法的有效性?
- 关键实验:论文进行了多个实验,包括投影层实验和MLP块实验,以验证可学习乘数的效果。
- 性能提升:实验结果表明,引入可学习乘数可以显著提高模型预训练的性能。
- 对比结果:与基线方法相比,可学习乘数在下游评估中显示出改进,这与从Adam到Muon的切换带来的改进相匹配。
问题4:这个研究的实际应用价值是什么?
- 应用场景:可学习乘数可以应用于各种语言模型预训练任务。
- 实施建议:在实际部署中,建议使用可学习乘数来提高模型预训练的性能。
- 局限与展望:尽管可学习乘数在提高模型预训练性能方面取得了显著成果,但仍存在一些局限性,例如乘数初始化和模型架构对称性问题。未来研究可以探索这些问题的解决方案。