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

推理路径优化:学习从多样化路径中推理与探索

Reasoning Paths Optimization: Learning to Reason and Explore From Diverse Paths

DAMO Academy, Alibaba Group(阿里巴巴集团达摩院);Singapore University of Technology and Design(新加坡科技设计大学);Nanyang Technological University(南洋理工大学)

Yew Ken Chia, Guizhen Chen, Weiwen Xu, Luu Anh Tuan, Soujanya Poria, Lidong Bing

AI总结:

针对大模型多步推理易出错的问题,提出专用训练框架 RPO,通过鼓励有利分支并惩罚不利分支来学习从多样化路径中推理与探索,无需大规模人工标注,在 GSM8K 和 MMLU (STEM) 上显著提升推理性能。

摘要:

诸如 OpenAI o1 等先进模型通过逐步推理展现出令人印象深刻的问题解决能力。然而,它们在更复杂的问题上仍可能出错,从而产生破坏其推理路径的错误。我们将此归因于广阔的解空间,其中每一步都有偏离并产生错误的风险。为了增强语言模型的推理能力,我们引入了一种名为 Reasoning Paths Optimization (RPO) 的专用训练框架,该框架能够学习从多样化路径中进行推理和探索。我们的方法在每个推理步骤中鼓励有利的分支,同时惩罚不利的分支,从而增强模型的整体问题解决性能。Reasoning Paths Optimization 不依赖大规模人工标注的理由或闭源模型的输出,使其具备可扩展性和数据高效性。我们专注于多步推理任务,例如数学应用题和基于科学的考试问题。实验表明,我们的框架显著提升了大型语言模型的推理性能,在 GSM8K 和 MMLU (STEM) 上分别取得了高达 3.1% 和 4.3% 的提升。我们的数据和代码可在 https://reasoning-paths.github.io 找到。

英文摘要:

Advanced models such as OpenAI o1 exhibit impressive problem-solving capabilities through step-by-step reasoning. However, they may still falter on more complex problems, making errors that disrupt their reasoning paths. We attribute this to the expansive solution space, where each step has the risk of diverging into mistakes. To enhance language model reasoning, we introduce a specialized training framework called Reasoning Paths Optimization (RPO), which enables learning to reason and explore from diverse paths. Our approach encourages favorable branches at each reasoning step while penalizing unfavorable ones, enhancing the model's overall problem-solving performance. Reasoning Paths Optimization does not rely on large-scale human-annotated rationales or outputs from closed-source models, making it scalable and data-efficient. We focus on multi-step reasoning tasks, such as math word problems and science-based exam questions. The experiments demonstrate that our framework significantly enhances the reasoning performance of large language models, with up to 3.1% and 4.3% improvement on GSM8K and MMLU (STEM) respectively. Our data and code can be found at https://reasoning-paths.github.io.

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

↑