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

奖励图推理过程使LLMs成为更通用的推理器

Rewarding Graph Reasoning Process makes LLMs more Generalized Reasoners

The Hong Kong University of Science and Technology (Guangzhou)(香港科学与技术大学(广州))

Miao Peng, Nuo Chen, Zongrui Suo, Jia Li

AI总结:

本文提出首个专为图推理设计的过程奖励模型GraphPRM,并构建了最大规模的带逐步标签的图推理数据集GraphSILO,显著提升了LLM在图推理及数学等跨领域的推理能力。

摘要:

尽管大型语言模型(LLMs)取得了显著进展,但在LLMs中开发高级推理能力仍然是一个关键挑战。过程奖励模型通过提供逐步反馈在增强推理方面展现出了极大的潜力,特别是在数学推理的背景下。然而,它们在更广泛推理领域的应用仍然研究不足,这主要是由于手动创建步骤级监督的高昂成本。在这项工作中,我们探索了PRMs在图推理问题中的潜力——这一领域需要复杂的多步推理,并提供了使用成熟的图算法自动生成步骤级数据的机会。我们引入了GraphSILO,这是最大的带有细粒度逐步标签的图推理问题数据集,该数据集使用自动化的任务导向轨迹和蒙特卡洛树搜索(MCTS)构建,以生成带有逐步标签的详细推理步骤。基于该数据集,我们训练了GraphPRM,这是首个专为图推理问题设计的PRM,并在两种关键设置下评估了其有效性:推理时扩展和通过直接偏好优化(DPO)进行的强化学习。实验结果表明,GraphPRM在13个图推理任务上显著提升了LLM的性能,为Qwen2.5-7B带来了9%的性能提升,并展示了对新图推理数据集以及数学问题求解等新推理领域的可迁移性。值得注意的是,GraphPRM在GSM8K和Math500上提升了LLM的性能,突显了基于图的推理奖励的跨领域适用性。我们的发现强调了PRMs在推进跨不同领域推理方面的潜力,为开发更通用、更有效的LLMs铺平了道路。

英文摘要:

Despite significant advancements in Large Language Models (LLMs), developing advanced reasoning capabilities in LLMs remains a key challenge. Process Reward Models (PRMs) have demonstrated exceptional promise in enhancing reasoning by providing step-wise feedback, particularly in the context of mathematical reasoning. However, their application to broader reasoning domains remains understudied, largely due to the high costs associated with manually creating step-level supervision. In this work, we explore the potential of PRMs in graph reasoning problems - a domain that demands sophisticated multi-step reasoning and offers opportunities for automated step-level data generation using established graph algorithms. We introduce GraphSILO, the largest dataset for graph reasoning problems with fine-grained step-wise labels, built using automated Task-oriented Trajectories and Monte Carlo Tree Search (MCTS) to generate detailed reasoning steps with step-wise labels. Building upon this dataset, we train GraphPRM, the first PRM designed for graph reasoning problems, and evaluate its effectiveness in two key settings: inference-time scaling and reinforcement learning via Direct Preference Optimization (DPO). Experimental results show that GraphPRM significantly improves LLM performance across 13 graph reasoning tasks, delivering a 9% gain for Qwen2.5-7B and demonstrating transferability to new graph reasoning datasets and new reasoning domains like mathematical problem-solving. Notably, GraphPRM enhances LLM performance on GSM8K and Math500, underscoring the cross-domain applicability of graph-based reasoning rewards. Our findings highlight the potential of PRMs in advancing reasoning across diverse domains, paving the way for more versatile and effective LLMs.

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

↑