2025-01-14 · 专家 · 机器学习 · 自然语言处理

The Lessons of Developing Process Reward Models in Mathematical Reasoning

本文通过实验表明,基于蒙特卡洛估计的数据合成方法在数学推理过程中PRM(过程奖励模型)的训练中性能较差,并提出了结合LLM-as-a-judge的共识过滤机制来提高PRM的性能和数据效率。

更新于 2025-01-14。作者:Zhenru Zhang、Chujie Zheng、Yangzhen Wu、Beichen Zhang、Runji Lin、Bowen Yu、Dayiheng Liu、Jingren Zhou、Junyang Lin。

中文摘要

过程奖励模型(PRMs)在大型语言模型(LLMs)的数学推理过程监督中展现出一种有前景的方法,旨在识别和减轻推理过程中的中间错误。然而,有效PRMs的开发面临着重大挑战,尤其是在数据标注和评估方法上。在这篇论文中,通过大量实验,我们证明了常用的基于蒙特卡洛(MC)估计的数据合成方法在PRMs中通常比LLM作为裁判和人工标注方法的表现和泛化能力要差。MC估计依赖于完成模型来评估当前步骤的正确性,导致步骤验证不准确。此外,我们识别了传统最佳N(BoN)评估策略在PRMs中存在的潜在偏差:(1)不可靠的政策模型生成含有正确答案但过程有缺陷的响应,导致BoN的评估标准与PRM的过程验证目标不一致。(2)PRMs对这种响应的容忍导致BoN分数膨胀。(3)现有的PRMs中,最低分数集中在一开始的答案步骤上,揭示了BoN优化PRM中从过程评估转向结果评估的转变。为了解决这些挑战,我们开发了一种共识过滤机制,有效地将MC估计与LLM作为裁判结合,并提倡一个更全面的评估框架,该框架结合了响应级和步骤级指标。基于这些机制,我们在BoN评估和逐步错误识别任务中显著提高了模型性能和数据效率。最后,我们发布了一个新的最先进的PRM,其性能优于现有的开源替代品,并为未来构建过程监督模型的研究提供了实用的指导。

英文摘要

Process Reward Models (PRMs) emerge as a promising approach for process supervision in mathematical reasoning of Large Language Models (LLMs), which aim to identify and mitigate intermediate errors in the reasoning processes. However, the development of effective PRMs faces significant challenges, particularly in data annotation and evaluation methodologies. In this paper, through extensive experiments, we demonstrate that commonly used Monte Carlo (MC) estimation-based data synthesis for PRMs typically yields inferior performance and generalization compared to LLM-as-a-judge and human annotation methods. MC estimation relies on completion models to evaluate current-step correctness, leading to inaccurate step verification. Furthermore, we identify potential biases in conventional Best-of-N (BoN) evaluation strategies for PRMs: (1) The unreliable policy models generate responses with correct answers but flawed processes, leading to a misalignment between the evaluation criteria of BoN and the PRM objectives of process verification. (2) The tolerance of PRMs of such responses leads to inflated BoN scores. (3) Existing PRMs have a significant proportion of minimum scores concentrated on the final answer steps, revealing the shift from process to outcome-based assessment in BoN Optimized PRMs. To address these challenges, we develop a consensus filtering mechanism that effectively integrates MC estimation with LLM-as-a-judge and advocates a more comprehensive evaluation framework that combines response-level and step-level metrics. Based on the mechanisms, we significantly improve both model performance and data efficiency in the BoN evaluation and the step-wise error identification task. Finally, we release a new state-of-the-art PRM that outperforms existing open-source alternatives and provides practical guidelines for future research in building process supervision models.

解读

一句话总结

本文通过实验表明,基于蒙特卡洛估计的数据合成方法在数学推理过程中PRM(过程奖励模型)的训练中性能较差,并提出了结合LLM-as-a-judge的共识过滤机制来提高PRM的性能和数据效率。

问题1:这篇论文想要解决什么具体问题?

• 问题背景:数学推理中的LLM(大型语言模型)容易出错,导致推理过程不可靠。 • 现有方案不足:PRM的开发面临数据标注和评估方法的挑战,特别是基于蒙特卡洛估计的数据合成方法和BoN(最佳N个)评估策略。 • 研究目标:开发更有效的PRM,提高数据效率,并避免评估偏差。

问题2:论文的核心创新点是什么?

• 技术创新:提出了一种结合蒙特卡洛估计和LLM-as-a-judge的共识过滤机制。 • 方法改进:开发了一种更全面的评估框架,结合响应级和步骤级指标。 • 优势:提高了PRM的性能和数据效率,避免了评估偏差。

问题3:实验结果如何验证了方法的有效性?

• 关键实验:在多个基准测试中比较了不同数据合成方法和评估策略的性能。 • 性能提升:结合LLM-as-a-judge的共识过滤机制在BoN评估中提高了性能。 • 对比结果:与现有PRM相比,本文提出的PRM在BoN和PROCESSBENCH评估中均表现出更优的性能。

问题4:这个研究的实际应用价值是什么?

• 应用场景:提高数学推理中LLM的推理过程的可信度和可靠性。 • 实施建议:采用本文提出的共识过滤机制和全面评估框架。 • 局限与展望:未来可以进一步探索更高效的数据合成方法和评估策略,以提高PRM的性能和泛化能力。

来源