arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.37719cs.LGcs.CL
收藏

权重更新的价值:训练各阶段的杠杆效应

What a Weight Update Buys: Leverage Across Training Stages

Shikhar Shiromani

AI总结:

该研究提出杠杆指标,分析了Olmo-3等模型预训练、SFT、RL、DPO等阶段的杠杆差异,揭示预训练累积噪声、训练精度影响杠杆的规律,推导验证DARE重用定律,通过控制实验确保结果可靠。

摘要:

训练后微调会将语言模型的权重移动其范数的约千分之一,却会显著改变其行为;预训练则会移动权重的三分之一,仅带来缓慢的漂移。我们引入杠杆(Leverage),这是衡量单位权重更新价值的精确指标:它是一次更新的Fisher二次型,计算方式为每个方向执行一次前向传播,再除以相同检查点下相同大小随机方向的同一形式。杠杆对已发布的Olmo-3、Tülu-3、Zephyr和OLMo-2检查点的排序跨越四个数量级:散文文本的预训练窗口处于随机水平,监督微调(SFT)比其高5倍,RL-Zero和RLVR为400-1500,直接偏好优化(DPO)为400-23000。借助该工具,我们发现预训练会累积成噪声:3万至100万步的窗口对散文文本的影响与其大小的随机方向无异,这符合SGD的噪声二次模型的预测。我们还发现训练精度会改变更新的表现:不使用fp32主副本训练bf16参数会冻结36-99%的坐标,使杠杆降低多达7倍,并在更新幅度与对角Fisher之间建立fp32训练未呈现的对齐关系。我们推导并验证了重用定律:符号翻转零假设预测了随机丢弃重缩放(DARE)在保留率p下的相对损伤为(1-p)/(pρ_sign),在DARE成功的所有情况下,该值与测量值的误差在2倍以内。两项控制措施确保这些读数可靠:每个使用fp32主权重的受控SFT和DPO轨迹在移动时都会失去杠杆,且从其锚点使用已发布配方重新运行已发布的DPO阶段两次,其位移与已发布值的偏差在1%以内,杠杆偏差在4%以内;而普通配方的杠杆则低5-6倍;遗漏一个组件会将该水平追溯到长度归一化损失及其128的批量大小共同作用。

英文摘要:

Post-training moves a language model's weights by about a thousandth of their norm and changes its behavior sharply; pretraining moves them by a third and buys a slow drift. We introduce leverage, an exact measure of what a unit of weight change buys: the Fisher quadratic form of an update, computed with one forward-mode pass per direction, divided by the same form for random directions of the same size at the same checkpoint. Leverage orders released Olmo-3, Tülu-3, Zephyr, and OLMo-2 checkpoints over four orders of magnitude: pretraining windows sit at the random level on prose, SFT five times above it, RL-Zero and RLVR at 400-1,500, and DPO at 400-23,000. With this instrument we find that pretraining accumulates into noise: windows of 30k to 1M steps are no more consequential on prose than random directions of their size, as a noisy quadratic model of SGD predicts. We find that training precision changes what an update looks like: training bf16 parameters without an fp32 master copy freezes 36-99% of coordinates, lowers leverage up to sevenfold, and creates an alignment between update magnitudes and the diagonal Fisher that fp32 training does not show. We derive and verify a law for reuse: the sign-flip null predicts the relative damage of random drop-and-rescale (DARE) at keep rate $p$ as $(1-p)/(p\,ρ_{\mathrm{sign}})$, within a factor of two of measurement wherever DARE succeeds. Two controls make these readings reliable: every controlled SFT and DPO trajectory with fp32 master weights loses leverage as it moves, and two re-runs of a released DPO stage from its anchor with its published recipe land within 1% of the released displacement and 4% of its leverage, where a plain recipe reads five to six times lower; leaving one component out traces the level to the length-normalized loss and its batch size of 128 together.

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

↑