arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2606.21994cs.LG
收藏

前缀引导的在线策略蒸馏:从轨迹中挖掘黄金轨迹

Prefix-Guided On-Policy Distillation: Mining Golden Trajectories from Rollouts

TeleAI;Shanghai Jiao Tong University(上海交通大学)

Qingfei Zhao, Huan Song, Shuyu Tian, Jiawei Shao, Xuelong Li

AI总结:

针对在线策略蒸馏在长程数学推理中效率低、噪声大的问题,提出前缀引导的在线策略蒸馏,通过前缀长度估计轨迹价值,仅对高重叠候选继续生成长轨迹,在多个基准上提升准确率并减少训练时间。

摘要:

在线策略蒸馏(OPD)通过对学生采样的轨迹施加密集的教师监督来改进推理模型。然而,将OPD扩展到长程数学推理暴露了一个可靠性和效率问题:标准的OPD为每个采样候选分配相同的长轨迹预算,尽管某些轨迹可能很快与教师弱对齐并提供较少的有效监督。先前的分析表明,成功的OPD依赖于局部教师-学生兼容性,这可以通过学生访问前缀上的top-k重叠来衡量。当这种重叠较低时,继续生成或训练长后缀可能浪费计算并引入噪声学习信号。为了解决这个问题,我们引入了前缀引导的在线策略蒸馏(PG-OPD),一个简单的轨迹分配框架,它使用固定长度的前缀在昂贵的生成长轨迹之前估计轨迹价值。PG-OPD首先将每个采样候选解码到相同的前缀长度,在该前缀的早期探测窗口内计算教师-学生top-k重叠,并选择性地将高重叠候选继续生成长固定长度。低重叠候选在固定前缀处停止,避免不必要的后缀生成。在AMC、AIME和HMMT基准上的不同教师-学生组合中,PG-OPD将平均准确率提高了最多4.80个百分点,同时将训练时间减少了最多2.46倍。这些结果表明,前缀级别的兼容性为将OPD计算导向那些仍可从教师学习的轨迹提供了实用信号。

英文摘要:

On-policy distillation (OPD) improves reasoning models by applying dense teacher supervision on student-sampled trajectories. However, scaling OPD to long-horizon reasoning exposes a reliability and efficiency problem: standard OPD assigns every candidate the same long rollout budget, even though some trajectories may quickly become weakly aligned with the teacher and provide less useful supervision. Prior analyses suggest that teacher--student compatibility is important for OPD success, motivating early-prefix top-k overlap as a proxy for continuation value. Continuing low-overlap trajectories to the full rollout length may cause them to drift further from the teacher as generation proceeds, increasing computational cost while providing limited distillation benefit. To address this, we introduce Prefix-Guided On-Policy Distillation (PG-OPD), a rollout-allocation framework that estimates continuation value from fixed-length prefixes. PG-OPD computes teacher-student top-k overlap in an early probe window and allocates long rollouts only to high-overlap candidates, while stopping the rest at the prefix length. Across teacher--student combinations on AMC, AIME, and HMMT benchmarks, PG-OPD achieves up to a 4.80-point accuracy gain and up to a 2.46x wall-clock speedup across configurations. These results demonstrate that using early-prefix compatibility to guide candidate pruning can improve both training efficiency and reasoning performance.

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

↑