2025-05-29 · 进阶 · 机器学习

Pitfalls of Rule- and Model-based Verifiers -- A Case Study on Mathematical Reasoning

本文研究了基于规则和模型的方法在数学推理强化学习验证器中的局限性,揭示了其在准确性和鲁棒性方面的挑战。

更新于 2025-05-29。作者:Yuzhen Huang、Weihao Zeng、Xingshan Zeng、Qi Zhu、Junxian He。

中文摘要

可信的验证者是强化学习带验证奖励(RLVR)成功的关键,而RLVR是DeepSeek-R1等大型推理模型背后的核心方法。在数学推理等复杂领域,以往的研究中广泛采用了基于规则的验证者来训练强大的推理模型。然而,这些验证者的可靠性和它们对RL训练过程的影响仍然了解甚少。在本工作中,我们将数学推理作为案例研究,对静态评估和RL训练场景中的各种验证者进行了全面分析。首先,我们发现当前的开源基于规则的验证者往往无法识别出在多个常用数学数据集中以不同格式呈现的等效答案,导致不可忽视的假阴性率。这种限制不利于RL训练性能,并且随着策略模型的增强而变得更加明显。随后,我们研究了基于模型的验证者作为解决这些限制的潜在方案。虽然静态评估表明基于模型的验证者实现了显著更高的验证准确率,但进一步的分析和RL训练结果暗示它们高度易受攻击,即它们将某些响应中的特定模式错误地分类为正确(即假阳性)。这种漏洞在策略模型优化过程中被利用,导致奖励被人为地夸大。我们的发现突显了基于规则和基于模型的验证者固有的独特风险,旨在为开发更稳健的强化学习奖励系统提供有价值的见解。

英文摘要

Trustworthy verifiers are essential for the success of reinforcement learning with verifiable reward (RLVR), which is the core methodology behind various large reasoning models such as DeepSeek-R1. In complex domains like mathematical reasoning, rule-based verifiers have been widely adopted in previous works to train strong reasoning models. However, the reliability of these verifiers and their impact on the RL training process remain poorly understood. In this work, we take mathematical reasoning as a case study and conduct a comprehensive analysis of various verifiers in both static evaluation and RL training scenarios. First, we find that current open-source rule-based verifiers often fail to recognize equivalent answers presented in different formats across multiple commonly used mathematical datasets, resulting in non-negligible false negative rates. This limitation adversely affects RL training performance and becomes more pronounced as the policy model gets stronger. Subsequently, we investigate model-based verifiers as a potential solution to address these limitations. While the static evaluation shows that model-based verifiers achieve significantly higher verification accuracy, further analysis and RL training results imply that they are highly susceptible to hacking, where they misclassify certain patterns in responses as correct (i.e., false positives). This vulnerability is exploited during policy model optimization, leading to artificially inflated rewards. Our findings underscore the unique risks inherent to both rule-based and model-based verifiers, aiming to offer valuable insights to develop more robust reward systems in reinforcement learning.

解读

一句话总结

本文研究了基于规则和模型的方法在数学推理强化学习验证器中的局限性,揭示了其在准确性和鲁棒性方面的挑战。

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

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

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

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

来源

机器可读索引:llms.txt