arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2610.25842cs.AI
收藏

并非所有展开都需要蒸馏:正确性过滤的在线策略自蒸馏

Not Every Rollout Needs Distillation: Correctness-Filtered On-Policy Self-Distillation

Meta

Harrison Zhao, Lei Huang, Zhiyuan Zhao, Fei Liu, Wen Shi, Zijian Jin

AI总结:

该研究针对在线策略自蒸馏的冗余问题,提出正确性过滤的C-OPSD方法,仅蒸馏错误响应,在Qwen3系列模型的多个数学竞赛数据集上,实现性能相当的同时降低了约68%的计算量与40%的训练时间。

摘要:

在线策略自蒸馏(OPSD)用同一基础模型的参考条件版本监督学生生成的轨迹。我们探究是否每条轨迹都提供了值得其蒸馏成本的独特监督。对初始化状态下的Qwen3-1.7B进行梯度测量发现,正确与错误响应的个体梯度幅度相似,但错误响应的相干梯度占比约为前者的三倍,其估计的总体均值方向也大致重叠。在小组规模下拟合的信号-噪声模型无需重新拟合即可追踪更大小组规模下的对齐情况。受这些测量结果启发,我们引入正确性过滤的OPSD(C-OPSD),该方法针对每个问题生成一个响应,仅对部分错误响应进行蒸馏。在蒸馏前移除未选中的行,可避免其教师/学生前向传播及学生反向传播工作。在AIME24、AIME25和HMMT25数据集上,针对Qwen3-1.7B、4B和8B模型,C-OPSD取得了与完整OPSD相当的性能。在微批量大小为4的实测实现中,执行的行减少了约68%,且将保留的行打包为完整微批量后,训练时间减少约40%,同时展开生成保持不变。这些测量结果与训练结果共同将结果条件监督冗余与更具计算效率的蒸馏关联起来。

英文摘要:

On-policy self-distillation (OPSD) supervises student-generated trajectories with a reference-conditioned version of the same base model. We ask whether every trajectory supplies distinct supervision that warrants its distillation cost. Gradient measurements on Qwen3-1.7B at initialization reveal that correct and incorrect responses have similar individual gradient magnitudes, but incorrect responses have approximately three times the coherent gradient share. Their estimated population-mean directions also largely overlap. A signal--noise model fitted at a small group size tracks alignment at larger group sizes without refitting. Motivated by these measurements, we introduce correctness-filtered OPSD (C-OPSD), which generates one response per problem and distills only a subset of incorrect responses. Removing unselected rows before both distillation forwards avoids their teacher/student forward and student backward work. Across Qwen3-1.7B, 4B, and 8B on AIME24, AIME25, and HMMT25, C-OPSD achieves on-par performance with full OPSD. In a measured micro-batch-size-four implementation, executed rows decrease by approximately 68%, and with retained rows packed into full micro-batches, training takes about 40% less time while rollout generation remains unchanged. Together, the measurements and training results connect outcome-conditioned supervision redundancy to more compute-efficient distillation.

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

↑