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

通过自动化 PRM 引导的 GFlowNets 实现准确且多样的 LLM 数学推理

Accurate and Diverse LLM Mathematical Reasoning via Automated PRM-Guided GFlowNets

Technology Innovation Institute(技术创新研究所);Mohamed Bin Zayed University of Artificial Intelligence(莫罕默德·本·扎耶德人工智能大学)

Adam Younsi, Ahmed Attia, Abdalgader Abubaker, Mohamed El Amine Seddik, Hakim Hacid, Salem Lahlou

AI总结:

本文提出利用自动化训练的PRM引导步骤级GFlowNets,在无需人工标注下评估中间推理步骤,使LLM在数学推理中同时提升准确性与多样性,并在多个基准上取得显著提升。

摘要:

在数学等复杂领域,大型语言模型(LLMs)要同时实现准确性和多样性的推理仍然具有挑战性。关键瓶颈在于如何评估中间推理步骤以指导生成,而无需昂贵的人工标注。为了解决这个问题,我们首先引入了一种新颖的 Process Reward Model(过程奖励模型,PRM),该模型使用蒙特卡洛树搜索结合基于相似度的数据增强技术进行自动训练,有效地捕捉了步骤级别的推理质量。利用该 PRM,我们随后调整 Generative Flow Networks(生成式流网络,GFlowNets)在推理步骤级别运行。与专注于最大化单一奖励的传统强化学习不同,GFlowNets 自然地采样与其奖励(由我们的 PRM 衡量)成正比的多样、高质量解决方案。实证评估表明,在具有挑战性的数学基准上,准确性和解决方案多样性均有显著提升(例如,Llama3.2-3B 在 MATH Level 5 上绝对准确率提升 +2.59%),并能有效泛化至未见数据集(SAT MATH 上绝对提升 +9.4%)。此外,我们将 PRM 与现有开源奖励模型进行基准比较,证明其与推理质量具有更优的对齐性,并为下游生成提供更一致的指导。我们的工作展示了 PRM 引导的步骤级 GFlowNets 在开发更鲁棒和通用的 LLM 数学推理方面的潜力。

英文摘要:

Achieving both accuracy and diverse reasoning remains challenging for Large Language Models (LLMs) in complex domains like mathematics. A key bottleneck is evaluating intermediate reasoning steps to guide generation without costly human annotations. To address this, we first introduce a novel Process Reward Model (PRM) trained automatically using Monte Carlo Tree Search coupled with a similarity-based data augmentation technique, effectively capturing step-level reasoning quality. Leveraging this PRM, we then adapt Generative Flow Networks (GFlowNets) to operate at the reasoning step level. Unlike traditional reinforcement learning focused on maximizing a single reward, GFlowNets naturally sample diverse, high-quality solutions proportional to their rewards, as measured by our PRM. Empirical evaluation shows strong improvements in both accuracy and solution diversity on challenging mathematical benchmarks (e.g., +2.59% absolute accuracy on MATH Level 5 for Llama3.2-3B), with effective generalization to unseen datasets (+9.4\% absolute on SAT MATH). Furthermore, we benchmark our PRM against existing open-source reward models, demonstrating superior alignment with reasoning quality and more consistent guidance for downstream generation. Our work demonstrates the potential of PRM-guided, step-level GFlowNets for developing more robust and versatile mathematical reasoning in LLMs.

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

↑