arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2605.08741cs.CL
收藏

通过Harness训练:面向复杂推理的在线策略Harness自蒸馏

Training with Harnesses: On-Policy Harness Self-Distillation for Complex Reasoning

Peking University(北京大学)

Zhengyang Zhao, Lu Ma, Wentao Zhang

AI总结:

本文提出OPHSD方法,通过将增强的模型作为教师进行自蒸馏,提升模型在复杂推理任务中的泛化能力和独立表现。

摘要:

在推理时间使用Harness显著提升了大型语言模型在复杂推理任务上的性能。然而,底层模型的内在能力未因添加这些外部流程而改变。为此,我们引入了在线策略Harness自蒸馏(OPHSD),利用增强的当前模型作为教师进行自蒸馏,从而为模型提供额外的监督信号。OPHSD将任务特定的Harness能力内化到学生模型中,使其在多样化的推理任务中表现出鲁棒的泛化能力和强大的独立性能。在文本分类和数学推理任务中,OPHSD在多个基准上优于强基线(例如,在HMMT25上比OPSD高10.83%)。我们的分析进一步表明,在推理时重新连接Harness不会带来额外好处,甚至可能降低性能,表明复杂的Harness不一定需要永久存在;它们可以作为临时训练支架,其好处永久反馈到基础模型中。我们的代码和训练数据可在https://github.com/zzy1127/OPHSD-On-Policy-Harness-Self-Distillation获取。

英文摘要:

Inference-time harnesses substantially improve large language models on complex reasoning tasks. However, the intrinsic capabilities of the underlying model remain unchanged by the addition of these external workflows. To bridge this gap, we introduce \emph{On-Policy Harness Self-Distillation} (OPHSD), which employs the harness-augmented current model as a teacher for self-distillation, thereby introducing extra supervisory signals from the harness beyond training data. OPHSD internalizes task-specific harness capabilities into the student model, yielding robust generalizability and strong standalone performance across diverse reasoning tasks. Evaluated across draft--verify harness for text classification and plan--solve for mathematical reasoning tasks, OPHSD consistently outperforms strong baselines (e.g., +10.83\% over OPSD on HMMT25). Our analysis further indicates that reattaching the harness during inference yields no additional benefits and can even degrade performance, suggesting that complex harnesses need not always be permanent fixtures; instead, they can serve as temporary training scaffolds whose benefits are permanently fed back into the base model. Our code and training data are available at https://github.com/zzy1127/OPHSD-On-Policy-Harness-Self-Distillation.

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

↑