在数学推理中开发过程奖励模型的经验教训
The Lessons of Developing Process Reward Models in Mathematical Reasoning
AI总结:
本文针对数学推理中过程奖励模型(PRMs)的数据标注与评估难题,揭示MC估计和BoN策略的缺陷,提出共识过滤机制与综合评估框架,并发布性能领先的开源PRM。
摘要:
过程奖励模型(Process Reward Models, PRMs)作为一种有前景的方法,用于大型语言模型(Large Language Models, LLMs)数学推理中的过程监督,其目标是识别并缓解推理过程中的中间错误。然而,开发有效的PRMs面临重大挑战,尤其是在数据标注和评估方法方面。本文通过大量实验表明,与LLM-as-a-judge和人工标注方法相比,常用的基于蒙特卡洛(Monte Carlo, MC)估计的PRMs数据合成通常性能更差且泛化能力更弱。MC估计依赖补全模型来评估当前步骤的正确性,导致步骤验证不准确。此外,我们识别出传统Best-of-N(BoN)评估策略中针对PRMs的潜在偏差:(1)不可靠的策略模型会生成答案正确但过程有缺陷的响应,导致BoN的评估标准与PRMs过程验证的目标不一致。(2)PRMs对此类响应的容忍导致BoN分数虚高。(3)现有PRMs有相当比例的最低分数集中在最终答案步骤上,揭示了BoN优化后的PRMs已从过程评估转向基于结果的评估。为应对这些挑战,我们开发了一种共识过滤机制,将MC估计与LLM-as-a-judge有效整合,并倡导一种更全面的评估框架,结合响应级和步骤级指标。基于这些机制,我们在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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。