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

多教师在线策略蒸馏的Fisher几何视角

A Fisher-Geometric View of Multi-Teacher On-Policy Distillation

Zhejiang University(浙江大学);Meituan LongCat(美团龙猫);Nanjing University(南京大学);Shanghai Jiao Tong University(上海交通大学)

Liu Kaiyuan, Zhuang Ziyuan, Ma Haoxuan, Gu Yannian, Song Mingfei, Weng Rongxiang, Ye Jieping

AI总结:

本文从Fisher几何视角揭示多教师在线策略蒸馏与模型合并的二阶等价性,提出RGBM两阶段整合流程,在开源套件上仅阶段1合并即优于多教师蒸馏,RGBM进一步提升且无需额外联合训练。

摘要:

将专用基础模型整合为统一的通用模型是后训练的核心目标,常用两种方法:模型合并速度快但被视为启发式方法,多教师在线策略蒸馏匹配分布但需要大量rollout计算且存在跨任务梯度冲突。本文证明二者是同一目标在不同阶下的体现:在同源专用模型的共享 basin 内,多教师在线策略蒸馏目标在二阶下恰好是Fisher合并目标,其极小化器即Fisher合并(一种经典模型合并方法,由专用模型的闭式组合给出),因此合并在二阶下作为蒸馏的闭式阶段是最优的。基于此识别,本文提出残差控制分支合并(RGBM),一种两阶段整合流程:具体而言,全参数Fisher合并在基础模型上难以实现,因此阶段1将合并限制在任务向量子空间;扩展合并的切空间分析,本文发现混合任务向量的系数也混合了隐式奖励,这使得对未标记提示的残差程序可求解这些系数,该程序最小化每个领域的最坏残差并报告其能量归一化值作为领域残差谱。阶段2让该谱控制可添加的内容:RGBM使归一化残差低的领域失活,仅为残差谱间隙以上的领域训练独立分支,并通过校准收缩写回被允许的更新。在两个开源整合套件上,仅阶段1合并就匹配或优于完全训练的多教师蒸馏,RGBM无需额外联合训练步骤即可进一步提升,而包括从合并继续联合蒸馏在内的所有无门控写回均低于该效果。

英文摘要:

Consolidating specialized foundation models into a unified generalist is a central goal of post-training. Two approaches are in common use: model merging, which is fast but treated as a heuristic, and multi-teacher on-policy distillation, which matches distributions but demands heavy rollout compute and suffers from cross-task gradient conflict. We show that the two are one objective seen at different orders. Within a shared basin of homologous specialists, the multi-teacher on-policy distillation objective is, to second order, exactly the Fisher-merging objective. Its minimizer is therefore the Fisher merge, a classic model-merging method given by a closed-form combination of the specialists, so merging is optimal, to second order, as a closed-form stage of distillation. Building on this identification, we propose Residual-Governed Branch-and-Merge(RGBM), a two-phase consolidation procedure. Concretely, a full-parameter Fisher merge is intractable on foundation models, so Phase~1 restricts the merge to the task-vector subspace. Extending tangent-space analyses of merging, we show that the same coefficients that mix task vectors also mix implicit rewards, which lets a residual program on unlabelled prompts solve for them. The program minimizes the worst per-domain residual and reports its energy-normalized values as the domain residual spectrum. Phase~2 lets this spectrum govern what may be added: RGBM passivates domains with low normalized residuals, trains isolated branches only for domains above the spectral gap, and writes back the admitted updates with calibrated shrinkage. On two open-source consolidation suites, the Phase~1 merge alone matches or outperforms fully trained multi-teacher distillation, and RGBM improves on it further with zero extra joint-training steps, whereas every un-gated write-back, including continued joint distillation from the merge, falls below it.

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

↑