arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.31563cs.LGcs.AIstat.ML
收藏

何时跟随教师:基于优势的在线策略蒸馏

When to Follow the Teacher: Advantage-Based On-Policy Distillation

University of Pennsylvania(宾夕法尼亚大学);University of Southern California(南加州大学)

Mahdi Sabbaghi, George Pappas, Hamed Hassani, Adel Javanmard

AI总结:

该研究提出AOPD方法,通过优势加权教师动作优化在线策略蒸馏,在数学、编码等任务中较基线取得性能提升。

摘要:

在线策略蒸馏(OPD)通过直接从学生采样的轨迹进行训练,通常优于监督微调(SFT)等离线方法。但标准OPD假设教师指导始终有益,训练学生在轨迹的每个状态都跟随教师。我们区分教师偏好与实际帮助学生成功的内容,提出基于优势的在线策略蒸馏(AOPD),该方法根据教师动作在学生策略下的反事实优势对其加权:提升学生预期结果的教师动作被强化,否则被降权。直接计算这些优势需在每一步尝试替代教师动作并从各动作重新运行rollout,而我们证明AOPD目标仅用标准学生rollout及其终端奖励即可估计。我们的估计器对学生采样动作使用教师重要性权重,提供无偏的优势加权监督,无需额外rollout或奖励评估,使AOPD能将教师监督聚焦于帮助当前学生的动作,同时保留标准OPD的rollout效率。在数学、编码和Medqa上的实验显示,在外部教师和自蒸馏设置中,AOPD较蒸馏和强化学习(RL)基线取得提升。

英文摘要:

Online Policy Distillation (OPD) often outperforms offline methods such as Supervised Fine-Tuning (SFT) by training on trajectories sampled directly from the student. However, standard OPD trains the student to follow the teacher at every state of the trajectory, assuming that teacher guidance is always beneficial. We instead distinguish between what the teacher prefers and what actually helps the current student succeed. We introduce Advantage-Based On-Policy Distillation (AOPD), which weights teacher actions by their counterfactual advantage under the student. Teacher actions that improve the student's expected outcome are reinforced, while those that do not are downweighted. Directly computing these advantages requires trying alternative teacher actions at each step and running new rollouts from each. Instead, we show that the AOPD objective can be estimated using only standard student rollouts and their terminal rewards. Our estimator uses teacher importance weights on the student-sampled actions to provide unbiased advantage-weighted supervision, without any additional rollouts or reward evaluations. This allows AOPD to focus teacher supervision on actions that help the current student while preserving the rollout efficiency of standard OPD. Experiments on math, coding, and Medqa show gains over distillation and RL baselines in both external-teacher and self-distillation settings.

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

↑