先验证再蒸馏:用于在线策略蒸馏的提示级教师门控

·

研究论文 · 2026/09/08

在线蒸馏(OPD)通过从冻结教师模型对学生自身轨迹提供密集的令牌级监督来加速后训练。然而,标准OPD对所有提示统一应用这种监督,未检查教师对每个提示的可靠性。由于反向KL是模式寻找的,一个自信但错误的教师可能引发强烈且误导性的更新。分布代理(如熵或师生似然一致性)衡量不确定性或一致性,但不直接验证结果正确性。我们提出教师门控在线蒸馏(TGOPD),其原则是在允许密集监督之前,应在提示级别验证教师可靠性。TGOPD通过一组由验证器评分的教师探针估计可靠性,并将每个提示路由到密集OPD(当可靠性检查通过时)或验证器引导的GRPO(否则)。在数学、代码和指令遵循的4B和35B学生模型中,TGOPD在所有六个单领域设置中优于标准OPD,并在多领域训练中在两个规模下获得更高的七个基准平均值。通过利用原本空闲的教师容量进行可靠性估计,TGOPD还减少了异步OPD中教师侧的计算浪费,在测量的4B单领域运行中,教师节点GPU利用率从9.8%提高到78.9%。

该论文针对在线蒸馏中教师监督的可靠性问题提出了一种新颖的提示级门控机制,通过验证器评分来动态路由训练策略,显著提升了多领域性能并优化了计算资源利用,对高效大模型后训练具有重要参考价值。

On-policy distillation (OPD) accelerates post-training by providing dense token-level supervision from a frozen teacher on the student's own rollouts. Vanilla OPD applies this supervision uniformly across prompts, without checking whether the teacher is reliable for each prompt. Because reverse KL is mode-seeking, a confidently wrong teacher can induce a strong yet misleading update. Distributional proxies, such as entropy or teacher-student likelihood agreement, measure uncertainty or agreement but do not directly verify outcome correctness. We introduce Teacher-Gated On-Policy Distillation (TGOPD), built on the principle that teacher reliability should be verified at the prompt level before dense supervision is admitted. TGOPD estimates reliability from a small set of verifier-scored teacher probes and routes each prompt exclusively to dense OPD when the reliability check passes or to verifier-grounded GRPO otherwise. Across 4B and 35B students in mathematics, code, and instruction following, TGOPD outperforms Vanilla OPD in all six single-domain settings and achieves higher seven-benchmark averages at both scales under multi-domain training. By using otherwise-idle teacher capacity for reliability estimation, TGOPD also reduces teacher-side compute waste in asynchronous OPD, increasing teacher-node GPU utilization from 9.8% to 78.9% in the measured 4B single-domain run.

阅读原文

参与讨论