arxiv.org·2026/10/21
针对困难题上所有采样都失败、on-policy信号消失的问题,作者提出 projected distillation:投影器把学生的错误 rollout 做最小编辑成正确目标,随学生更新在线刷新,训练用 diff-local DPO 加 self-SFT 只在被改 token 上对比。理论在 patch-MDP 下证明编辑量 m 带来漂移 ηmH:最小编辑对应 DAgger 式线性遗憾,全替换对应 behavior cloning 式二次遗憾。在 Qwen3-8B、OLMo-2-7B 及数学/代码/科学/工具基准上,以 specialization–retention 前沿面积(AUPF)计,作者报告它在 9 个单元中 8 个超 GRPO 与 OPD、7 个超 SPOT 与 SODA;将最小修正换成与 student 无关的 gold 解答时保留率从 0.916 降至 0.744,在线刷新、对比损失和 self-SFT 均必要。局限是投影仅做最小 token 编辑、依赖验证器和单轮任务,均匀 token 敏感假设偏强。
为什么重要 解决 pass@k=0 硬题无训练信号问题,为小模型后训练提供不掉点的蒸馏路径适合 小模型后训练、数据闭环、持续学习工程师
On-policy 学习是后训练的核心:在模型自身生成内容上训练可以限制分布漂移,并有助于保留已有能力。然而,在困难问题上,当所有尝试都失败时,on-policy RL 不提供基于奖励的学习信号。On-policy 蒸馏由教师提供 next-token 监督,但在困难问题上,如果 rollout 在早期出错,后续监督将以已包含错误的 prefix 为条件。正确的行为可以转而来自 gold 或教师解,但此类 off-policy 目标可能与模型生成内容大相径庭,并且如我们所示,可能侵蚀已有能力。
因此,我们将 on-policyness 视为一个连续谱,并提出 projected distillation,它对学生失败的尝试进行最小编辑,将其转化为正确目标。该方法使用对比更新使修正优于失败尝试,并随着学生的演化刷新这些修正,从而即使所有学生尝试都失败,也能实现接近 on-policy 的学习。
理论上,我们证明学生的学习遗憾随编辑量增大:在最小修正下随 horizon 线性增长,如 DAgger;在全答案替换下呈二次增长,如 behavior cloning。在实证上,跨两个学生(Qwen3-8B 和 OLMo-2-7B)以及数学、代码、科学和工具使用五个领域,projected distillation 给出了 specialization-retention frontier 下最高的面积(在 9 个单元中对 GRPO 和 OPD 有 8 个最优,对 SPOT 和 SODA 有 7 个最优)。我们的消融实验强调了在线修正、对比损失和 on-policyness 的重要性:将目标越移越偏离策略会持续恶化专业化-保留权衡,当最小修正被与学生无关的 gold 解替换时,保留率从 0.916 降至 0.744。
On-policy learning is central to post-training: training on a model's own generations limits distribution shift and helps preserve existing capabilities.
On hard problems, however, on-policy RL provides no reward-based learning signal when all attempts fail.
On-policy distillation provides next-token supervision from a teacher, but on hard problems, if a rollout goes wrong early, subsequent supervision is conditioned on prefixes that already contain the mistake.
Correct behavior can instead come from a gold or teacher solution, but such off-policy targets can differ substantially from the model's generations and, as we show, may erode existing capabilities.
We therefore treat on-policyness as a continuum and propose projected distillation, which minimally edits the student's failed attempts into correct targets.
The method uses contrastive updates to favor corrections over failed attempts and refreshes these corrections as the student evolves, enabling near-on-policy learning even when all student attempts fail.
Theoretically, we prove that the student's learning regret grows with the edit size: it scales linearly with the horizon under minimal correction, as in DAgger, and quadratically under full-answer replacement, as in behavior cloning.
Empirically, across two students (Qwen3-8B and OLMo-2-7B) and five domains spanning math, code, science, and tool use, projected distillation gives the highest area under the specialization-retention frontier (best on 8 of 9 cells against GRPO and OPD, and 7 of 9 against SPOT and SODA).
Our ablations highlight the importance of online corrections, the contrastive loss, and on-policyness: moving targets farther off-policy steadily worsens the specialization-retention trade-off, with retention falling from 0.916 to 0.744 when minimal corrections are replaced by student-agnostic gold solutions.
vs GRPO+OPD
Retention
归一化基线比
BWT
唯一非显著负值
Forgetting
vs SPOT 0.509
注释 ·
注释 · 三臂正确性等价,仅编辑幅度不同;gold 不保留学生原文出自 §4.2 Fig.4
EVIDENCE / METHODS
流程
投影器对学生错误做最小编辑,仅对 diff span 施加 DPO 对比
学生对硬题采样 k=16 次(T=0.8),分为错误 y− 与正确 yc
黑盒投影器接收题目+错误尝试,输出使其通过验证器的最小改动 y+
对齐 y− 与 y+,标记编辑区间 E−(删除)和 E+(新增)
仅在 E+/E− 上计算 DPO 对比,参考模型为冻结初始 πref
对学生自己做对的 yc 施加标准 SFT 损失
更新后的学生进入下一轮,重新采样并重新投影
注释 · 每轮重新采样并重新投影,目标随学生演化出自 §3 Fig.2
原版排版与图表 · 手机无法内嵌时可在浏览器打开。PDF 插件内选文不能传给网页助手。