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

Parrot:一种同时增强程序思维链与自然语言思维链以提升推理能力的训练流水线

Parrot: A Training Pipeline Enhances Both Program CoT and Natural Language CoT for Reasoning

College of Computer Science and Artificial Intelligence, Fudan University(计算机科学与人工智能学院,复旦大学);ByteDance Research(字节跳动研究院);Shanghai Innovation Institute(上海创新研究院);Shanghai Key Laboratory of Intelligent Information Processing(上海智能信息处理重点实验室)

Senjie Jin, Lu Chen, Zhiheng Xi, Yuhui Wang, Sirui Song, Yuhao Zhou, Xinbo Zhang, Peng Sun, Hong Lu, Tao Gui, Qi Zhang, Xuanjing Huang

AI总结:

针对大语言模型数学推理中两类思维链单向增强的局限,提出Parrot训练流水线,通过三子任务整合、混合训练与辅助奖励实现双向增强,在MathQA上较RL基线大幅提升N-CoT性能。

摘要:

自然语言思维链(N-CoT)和程序思维链(P-CoT)已成为大语言模型(LLM)求解数学推理问题的两大主流范式。当前研究通常致力于实现单向增强:P-CoT增强N-CoT或N-CoT增强P-CoT。本文旨在充分释放两种范式的优势以实现双向增强,最终达成性能同步提升。我们对两种范式的错误类型进行了详细分析,在此基础上提出了Parrot——一种面向数学问题的新型训练流水线:1)三个针对性设计的子任务整合了序列化的P-CoT与N-CoT生成;2)子任务混合训练策略,以提升自然语言语义迁移能力;3)设计了转换后的N-CoT辅助奖励,以缓解P-CoT优化中的奖励稀疏问题。大量实验表明,Parrot显著提升了N-CoT和P-CoT的性能,尤其是N-CoT。使用Parrot监督微调(SFT),LLaMA2和CodeLLaMA的N-CoT性能在MathQA数据集上,相较于资源消耗巨大的强化学习(RL)基线分别提升了+21.87和+21.48。

英文摘要:

Natural language chain-of-thought (N-CoT) and Program chain-of-thought (P-CoT) have emerged as two primary paradigms for large language models (LLMs) to solve mathematical reasoning problems. Current research typically endeavors to achieve unidirectional enhancement: P-CoT enhanced N-CoT or N-CoT enhanced P-CoT. In this paper, we seek to fully unleash the two paradigms' strengths for mutual enhancement and ultimately achieve simultaneous improvements. We conduct a detailed analysis of the error types across two paradigms, based on which we propose Parrot, a novel training pipeline for mathematical problems: 1) Three target-designed subtasks integrate sequential P-CoT and N-CoT generation. 2) A subtask hybrid training strategy to facilitate natural language semantic transferability. 3) The converted N-CoT auxiliary reward is designed to alleviate the sparse rewards in P-CoT optimization. Extensive experiments demonstrate that Parrot significantly enhances both the performance of N-CoT and P-CoT, especially on N-CoT. Using Parrot SFT, the N-CoT performance of LLaMA2 and CodeLLaMA achieve gains of +21.87 and +21.48 on MathQA over the RL baseline, which is resource-intensive.

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

↑