DTDD:用于可靠在线策略监督的分歧触发动态蒸馏
DTDD: Divergence-Triggered Dynamic Distillation for Reliable On-Policy Supervision
AI总结:
本文提出DTDD自适应在线策略蒸馏框架,通过片段级分歧触发教师接管,在多场景实验中验证其能降低梯度范数、提升准确率,且片段平均触发与行为克隆更有效。
摘要:
在线策略蒸馏(OPD)为学生模型的 rollout 提供了密集的 token 级监督,但当学生与教师出现分歧时,这种监督会变得不可靠,分歧产生的原因包括初始策略差距较大、长程推理中的复合错误以及工具使用中的错误。我们提出了分歧触发动态蒸馏(DTDD),这是一种自适应 OPD 框架,它利用片段级的学生-教师分歧在训练期间触发教师接管。当推理过程中分歧触发干预时,学生的前缀会继续接收标准 OPD 监督;教师会生成一个恢复后缀,学生通过行为克隆学习该后缀,使用教师生成 token 的交叉熵损失。我们在三种场景中评估 DTDD:长程推理、从基础初始化蒸馏(无离线监督微调(SFT))以及多轮智能体。我们还比较了不同的触发设计和教师干预率。DTDD 将预热后的峰值梯度范数降低了 8.6 倍;从基础初始化开始,与 OPD 相比,它在少 2.6 倍的优化器更新次数下达到了 21.3% 的保留数学准确率,而两种方法最终都接近 22%。它在带有 LoRA 的 ALFWorld 和智能体代码上的最佳观测性能分别提高了 4.8 和 4.1 个百分点。 ablation 实验表明,片段平均触发优于 token 峰值触发;行为克隆也比测试的 OPD 替代方法更适合训练教师生成的恢复。在 23 个实验分支中,当教师显著优于 OPD 训练的学生、教师能够从学生访问的状态中恢复、学生能够学习这些恢复且教师干预既不过度也不不足时,接管通常会有帮助。
英文摘要:
On-policy distillation (OPD) provides dense token-level supervision on student rollouts, but this supervision can become unreliable when the student and teacher diverge, either because of a large initial policy gap or compounding errors in long-horizon reasoning and tool use. We introduce Divergence-Triggered Dynamic Distillation (DTDD), an adaptive OPD framework that uses segment-level student-teacher divergence to trigger teacher takeover during training. When divergence triggers an intervention during reasoning, the student prefix continues to receive standard OPD supervision. The teacher then generates a recovery suffix, which the student learns through behavior cloning, using cross-entropy on the teacher-generated tokens. We evaluate DTDD in three regimes: long-horizon reasoning, distillation from a base initialization without offline supervised fine-tuning (SFT), and multi-turn agents. We also compare alternative trigger designs and teacher-intervention rates. DTDD reduces the post-warmup peak gradient norm by $8.6\times$ and, from a base initialization, reaches $21.3\%$ held-out math accuracy in $2.6\times$ fewer optimizer updates than OPD; both methods finish near $22\%$. It improves best-observed performance by $4.8$ and $4.1$ percentage points on ALFWorld with LoRA and agentic code, respectively. Ablations show that segment-averaged triggers outperform token-spike triggers. Behavior cloning is also more effective than the tested OPD surrogate for training teacher-generated recoveries. Across 23 experimental arms, takeover tends to help when the teacher substantially outperforms the OPD-trained student, provided that the teacher can recover from student-visited states, the student can learn those recoveries, and teacher intervention is neither excessive nor insufficient.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。