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

通过自适应前缀对齐实现长链推理蒸馏

Long-Chain Reasoning Distillation via Adaptive Prefix Alignment

School of Computer Science and Engineering, Northeastern University, China(东北大学计算机科学与工程学院);Department of Computer Science and Technology, Institute for AI, Tsinghua University, China(清华大学计算机科学与技术系);Alibaba Group, China(阿里巴巴集团)

Zhenghao Liu, Zhuoyang Wu, Xinze Li, Yukun Yan, Shuo Wang, Zulong Chen, Yu Gu, Ge Yu, Maosong Sun

AI总结:

通过自适应前缀对齐方法提升学生模型的推理能力,有效蒸馏教师生成的长推理轨迹。

摘要:

大型语言模型(LLMs)在解决复杂数学问题方面展现了显著的推理能力。最近的研究表明,通过蒸馏长推理轨迹可以有效提升小规模学生模型的推理性能。然而,教师生成的推理轨迹往往过于冗长且结构复杂,使学生模型难以学习。这种不匹配导致提供的监督信号与学生模型的学习能力之间存在差距。为了解决这一挑战,我们提出了Prefix-ALIGNment蒸馏(P-ALIGN),一个通过自适应前缀对齐充分利用教师CoTs进行蒸馏的框架。具体而言,P-ALIGN通过判断剩余后缀是否简洁且足以引导学生模型,自适应地截断教师生成的推理轨迹。然后,P-ALIGN利用教师生成的前缀来监督学生模型,促进有效的前缀对齐。在多个数学推理基准上的实验表明,P-ALIGN在所有基线之上提升了超过3%。进一步分析表明,P-ALIGN构建的前缀提供了更有效的监督信号,同时避免了冗余和不确定推理成分的负面影响。所有代码均可在https://github.com/NEUIR/P-ALIGN获取。

英文摘要:

Large Language Models (LLMs) have demonstrated remarkable reasoning capabilities, particularly in solving complex mathematical problems. Recent studies show that distilling long reasoning trajectories can effectively enhance the reasoning performance of small-scale student models. However, teacher-generated reasoning trajectories are often excessively long and structurally complex, making them difficult for student models to learn. This mismatch leads to a gap between the provided supervision signal and the learning capacity of the student model. To address this challenge, we propose Prefix-ALIGNment distillation (P-ALIGN), a framework that fully exploits teacher CoTs for distillation through adaptive prefix alignment. Specifically, P-ALIGN adaptively truncates teacher-generated reasoning trajectories by determining whether the remaining suffix is concise and sufficient to guide the student model. Then, P-ALIGN leverages the teacher-generated prefix to supervise the student model, encouraging effective prefix alignment. Experiments on multiple mathematical reasoning benchmarks demonstrate that P-ALIGN outperforms all baselines by over 3%. Further analysis indicates that the prefixes constructed by P-ALIGN provide more effective supervision signals, while avoiding the negative impact of redundant and uncertain reasoning components. All code is available at https://github.com/NEUIR/P-ALIGN.

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

↑