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

PHF: 用于在线自蒸馏的特权隐藏流

PHF: Privileged Hidden Flow for On-Policy Self-Distillation

The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州));Nanjing University of Aeronautics and Astronautics(南京航空航天大学);The 63rd Research Institute, National University of Defense Technology, Nanjing(国防科技大学第六十三研究所,南京)

Yuhan Li, Mingxu Zhang, Dazhong Shen, Ying Sun

AI总结:

提出特权隐藏流(PHF),通过对齐教师和学生的隐藏状态轨迹(而非逐点匹配),在在线自蒸馏中提升推理性能,在Qwen3模型上获得约+1.5至+2.2点的提升。

摘要:

在线自蒸馏(OPSD)通过匹配一个也能看到已验证参考解决方案的特权教师,在其自身策略采样的轨迹上训练推理模型。现有的OPSD目标仅监督输出分布,因此特权上下文通过令牌级散度影响训练,而不直接监督产生该分布的内部计算。我们提出特权隐藏流(PHF),它额外蒸馏特权教师的隐藏状态如何沿相同轨迹移动。PHF不是强制每个学生隐藏向量与同一令牌位置的教师向量匹配,而是在选定的生成位置上对齐令牌到令牌的转换方向和轨迹几何。全层方案还包括从这些相同转换计算的相邻层关系,无需逐点隐藏状态模仿。在相同的100步训练计划下,PHF在我们复现的OPSD基线上,对Qwen3-1.7B、4B和8B模型将Average@12聚合指标分别提升了约+2.2、+1.5和+1.7点。传输目标对共享轨迹偏移完全不变;其局部几何项对转换方向的正交变换也不变。消融实验将固定的PHF方案与逐点隐藏状态匹配、单通道转换损失和层子集选择区分开来,支持PHF作为OPSD的紧凑隐藏流扩展。

英文摘要:

On-policy self-distillation (OPSD) trains a reasoning model on rollouts sampled from its own policy by matching a privileged teacher that also sees verified reference solutions. Existing OPSD objectives supervise only the output distribution, so privileged context affects training through a token-level divergence without directly supervising the internal computation that produced that distribution. We propose Privileged Hidden Flow (PHF), which additionally distills how a privileged teacher's hidden states move along the same rollout. Rather than forcing each student hidden vector to match the teacher vector at the same token position, PHF aligns token-to-token transition directions and trajectory geometry over selected generated positions. The all-layer recipe also includes an adjacent-layer relation computed from these same transitions, without pointwise hidden-state imitation. Under the same 100-step training schedule, PHF improves the Average@12 aggregate over our reproduced OPSD baseline on Qwen3-1.7B, 4B, and 8B, with observed gains of about +2.2, +1.5, and +1.7 points. The transport objective is exactly invariant to shared trajectory offsets; its local geometry term is also invariant to orthogonal transformations of transition directions. Ablations distinguish the fixed PHF recipe from pointwise hidden-state matching, single-channel transition losses, and layer-subset choices, supporting PHF as a compact hidden-flow extension to OPSD.

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

↑