arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.22236cs.LGcs.AIcs.CL
收藏

无训练的在线策略蒸馏

Training-Free On-Policy Distillation

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Tsinghua University(清华大学)

Bangji Yang, Jiajun Fan, Zhaoyu Zhu, Hongbo Ma, Ge Liu

AI总结:

本研究提出无训练在线策略蒸馏方法,仅通过前向传播聚合专家模型能力,在 AIME25 和 Olmo~3 7B 等基准上实现了优于单专家的性能,大幅降低了蒸馏的计算成本。

摘要:

在线策略蒸馏以每个专家模型的 rollout(轨迹)、教师前向传播和梯度步骤为代价,将多个专家模型整合为一个学生模型。我们证明这种整合无需训练:仅通过前向传播,就能将单独调优的专家模型的能力聚合为一个模型,其平均准确率高于任一单独专家。当专家共享基础模型时,蒸馏存在精确的逐层解决方案:融合模型的每个线性层必须在该专家接收输入时,复现该专家的输出,这是一个最小二乘问题,其解仅需这些输入的二阶矩,数百个 rollout 的一次前向传播即可提供这些矩。我们将此方法称为无训练在线策略蒸馏(\u003cmethod\u003e)。rollout 的内容比求解器更重要:在数学专家的 rollout 中,重复循环截断的答案数量很少,但占其 token 的很大比例,移除这些答案后,在 AIME25 上,融合模型的任务算术水平提升至与专家相当的精度。在 Olmo~3 7B 模型上,每个专家仅需数 GPU 小时的前向计算,就能得到一个通用模型,在七个数学和代码基准测试中,保留了各专家的大部分增益。

英文摘要:

On-policy distillation consolidates specialist models into one student at the price of rollouts, teacher passes and gradient steps for every teacher. We show that the consolidation does not need training: with forward passes only, the capabilities of separately tuned specialists can be aggregated into one model that is, on average, more accurate than either specialist alone. When specialists share a base model, distillation has an exact layer-wise solution: each linear layer of the fused model must reproduce every specialist's output on the inputs that specialist receives while reading its own answers, a least-squares problem whose solution needs only the second moments of those inputs. One forward pass over a few hundred rollouts provides them. We call this training-free on-policy distillation. What the rollouts contain matters more than the solver: answers truncated in repetition loops are few among a mathematics specialist's rollouts but carry a large share of their tokens, and removing them lifts the fused model on AIME25 from task arithmetic's level to the specialist's at matched precision. On Olmo-3-7B, a few GPU-hours of forward computation per specialist yield a generalist that keeps most of each specialist's gain on each of seven mathematics and code benchmarks.

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

↑