克服LLM推理中在线自蒸馏的扩展限制

·

研究论文 · 2026/10/01

在策略自蒸馏(OPSD)训练学生模型在其自身采样轨迹上匹配特权教师分布。标准OPSD将这种监督应用于未经验证的学生轨迹,同时以特权上下文(通常是参考解决方案)为条件。我们在因子分析中分离了这些角色,发现脚手架正确性对下游准确率的影响比上下文正确性更强。未经验证的脚手架会因教师能使用学生无法获得的信息而产生模仿差距。这种差距随模型规模缩小,但OPSD仍主要监督未经验证的轨迹。相比之下,即使教师以学生自身不成功的轨迹为条件,已验证的脚手架仍然有效。基于此发现,我们提出OASIS,它保留OPSD目标,但主要监督按标签验证的在策略轨迹,并用未经验证的模型生成尝试替代书面解决方案作为教师上下文。因此,OASIS仅需最终答案标签。在Qwen3-1.7B、4B和8B上,针对AIME 2024、AIME 2025和HMMT 2025,OASIS平均比基础模型提升3.2-3.8分,而OPSD的增益从1.7B的3.05分降至8B的0.14分。在8B上,OASIS比OPSD提升3.05分,表明已验证的在策略脚手架随着模型规模扩大保持了自蒸馏的有效性。

该研究揭示了OPSD的缩放限制,并提出OASIS方法,在多个模型规模上显著提升推理性能,对LLM推理的自蒸馏训练有重要改进意义。

On-policy self-distillation (OPSD) trains a student to match a privileged teacher distribution along its own sampled trajectory. Standard OPSD applies this supervision to unverified student rollouts while conditioning the teacher on privileged context, typically a reference solution. We separate these roles in a factorial analysis and find that scaffold correctness has a stronger effect on downstream accuracy than context correctness. Unverified scaffolds create an imitation gap because the teacher can use information unavailable to the student. This gap shrinks with model scale, yet OPSD continues to supervise mostly unverified trajectories. In contrast, verified scaffolds remain effective even when the teacher is conditioned on the student's own unsuccessful rollout. Based on this finding, we introduce OASIS, which retains the OPSD objective but supervises mostly verified by label on-policy trajectories and replaces written solutions with unverified model-generated attempts as the teacher context. OASIS therefore requires only final-answer labels. Across Qwen3-1.7B, 4B, and 8B on AIME 2024, AIME 2025, and HMMT 2025, OASIS improves over the base model by 3.2--3.8 points on average, while OPSD's gain falls from 3.05 points at 1.7B to 0.14 at 8B. At 8B, OASIS improves over OPSD by 3.05 points, showing that verified on-policy scaffolds preserve the effectiveness of self-distillation as models scale.

阅读原文

参与讨论