Free Process Rewards without Process Labels
本文提出了一种通过训练ORM来获得隐式PRM的方法,无需额外标注中间步骤,从而降低了PRM训练的数据收集和训练成本,同时提高了性能。
更新于 2024-12-04。作者:Lifan Yuan、Wendi Li、Huayu Chen、Ganqu Cui、Ning Ding、Kaiyan Zhang、Bowen Zhou、Zhiyuan Liu、Hao Peng。
中文摘要
与评估整个响应的对应结果奖励模型(ORMs)不同,过程奖励模型(PRM)是逐步对推理轨迹进行评分,提供更密集和更细致的奖励。然而,训练PRM需要在每个中间步骤进行标注,这对手动和自动数据收集都提出了重大挑战。本文旨在解决这一挑战。从理论和实证两方面,我们表明,只需在成本较低的响应级标签上训练ORM,就可以无额外成本地获得隐式PRM。唯一的假设是将结果奖励参数化为策略模型和参考模型的对数似然比,这可以优化,而不论损失目标的具体选择。在实验中,我们使用各种目标实例化我们的隐式PRM,并在MATH上评估其性能。我们发现,我们的隐式PRM在训练数据仅为基准MCTS模型\'a la Math-Shepherd的1/38的情况下,表现更优。通过多数投票,其性能还可以进一步提高。我们进一步发现,扩大指令和响应的范围有助于我们的隐式PRM,后者带来了更大的收益。特别是,我们发现,当我们用交叉熵(CE)损失实例化隐式PRM时,它更有效率,即使在只用每个指令的一个响应进行训练的情况下,也能持续改进生成模型,这种设置由于数据稀缺和不平衡而面临挑战。此外,指令应与下游任务相关,而响应的多样性并不会带来收益。令人惊讶的是,在额外的Math-Shepherd步骤标签上训练并未进一步改善仅基于结果数据训练的隐式PRM。我们希望我们的工作能够鼓励重新思考PRM的训练方法,并有助于使训练PRM更加容易获得。
英文摘要
Different from its counterpart outcome reward models (ORMs), which evaluate the entire responses, a process reward model (PRM) scores a reasoning trajectory step by step, providing denser and more fine grained rewards. However, training a PRM requires labels annotated at every intermediate step, presenting significant challenges for both manual and automatic data collection. This paper aims to address this challenge. Both theoretically and empirically, we show that an implicit PRM can be obtained at no additional cost, by simply training an ORM on the cheaper response-level labels. The only assumption is to parameterize the outcome reward as the log-likelihood ratios of the policy and reference models, which can be optimized regardless of the specific choice of loss objectives. In experiments, we instantiate our implicit PRMs with various objectives and evaluate their performance on MATH. We show that our implicit PRM outperforms a strong MCTS-based baseline \'a la Math-Shepherd using less than 1/38 of the training data. Its performance can be further improved with majority voting. We further find that scaling up instructions and responses benefits our implicit PRM, and the latter brings a larger gain. Particularly, we find that our implicit PRM, when instantiated with the cross-entropy (CE) loss, is more data-efficient and can keep improving generation models even when trained with only one response per instruction, the setup that suffers from extreme data scarcity and imbalance. Further, instructions should be relevant to downstream tasks while the diversity of responses does not bring gains. Surprisingly, training on extra Math-Shepherd step labels brings no further improvements to our implicit PRM trained on only outcome data. We hope that our work will encourage a rethinking of PRM training approaches and contribute to making training PRMs more accessible.
解读
一句话总结
本文提出了一种通过训练ORM来获得隐式PRM的方法,无需额外标注中间步骤,从而降低了PRM训练的数据收集和训练成本,同时提高了性能。
问题1:这篇论文想要解决什么具体问题?
• 问题背景:PRM(过程奖励模型)在提供细粒度奖励方面优于ORM(结果奖励模型),但PRM的训练需要标注每个中间步骤,这既费时又费力。 • 现有方案不足:自动标注方法如MCTS代价高昂,且标注过程可能存在噪声。 • 研究目标:提出一种无需额外标注中间步骤的方法,以降低PRM训练的成本,并提高性能。
问题2:论文的核心创新点是什么?
• 技术创新:通过将结果奖励参数化为策略和参考模型的对数似然比,隐式地学习PRM,无需额外训练。 • 方法改进:提出了一种新的PRM训练方法,通过ORM训练实现,无需标注中间步骤。 • 优势:与MCTS等方法相比,该方法降低了数据收集和训练成本,同时提高了性能。
问题3:实验结果如何验证了方法的有效性?
• 关键实验:在MATH数据集上,使用不同目标训练的隐式PRM优于基线方法。 • 性能提升:隐式PRM的性能优于强基线Math-Shepherd,且在更少的训练数据下表现出色。 • 对比结果:隐式PRM在准确性和开发开销之间取得了更好的权衡。
问题4:这个研究的实际应用价值是什么?
• 应用场景:该方法可以应用于需要复杂推理的任务,如数学问题解决。 • 实施建议:在数据稀缺和不平衡的情况下,使用交叉熵损失可以提高性能。 • 局限与展望:尽管隐式PRM表现出色,但仍需进一步研究以提高其泛化能力。
来源
机器可读索引:llms.txt