arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2312.08935cs.AIcs.CLcs.LG
收藏

Math-Shepherd:无需人工标注逐步验证并强化LLM

Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotations

Peking University(北京大学);The University of Hong Kong(香港大学);Tsinghua University(清华大学);DeepSeek-AI;The Ohio State University(俄亥俄州立大学)

Peiyi Wang, Lei Li, Zhihong Shao, R. X. Xu, Damai Dai, Yifei Li, Deli Chen, Y. Wu, Zhifang Sui

AI总结:

提出Math-Shepherd过程奖励模型,通过自动构建的逐步监督数据训练,用于验证和强化LLM,显著提升Mistral-7B在GSM8K和MATH上的准确率。

摘要:

本文提出了一种创新的面向过程的数学过程奖励模型,称为Math-Shepherd,该模型为数学问题解答的每个步骤分配奖励分数。Math-Shepherd的训练通过自动构建的逐步监督数据实现,打破了现有工作严重依赖人工标注的瓶颈。我们探索了Math-Shepherd在两种场景中的有效性:1)验证:Math-Shepherd用于对大型语言模型(LLM)生成的多个输出进行重排序;2)强化学习:Math-Shepherd通过逐步近端策略优化(PPO)来强化LLM。借助Math-Shepherd,一系列开源LLM展现出卓越性能。例如,使用Math-Shepherd的逐步PPO显著提升了Mistral-7B的准确率(在GSM8K上从77.9%提升至84.1%,在MATH上从28.6%提升至33.0%)。通过Math-Shepherd的验证,GSM8K和MATH上的准确率可分别进一步提升至89.1%和43.5%。我们相信,自动过程监督对LLM的未来发展具有重大潜力。

英文摘要:

In this paper, we present an innovative process-oriented math process reward model called \textbf{Math-Shepherd}, which assigns a reward score to each step of math problem solutions. The training of Math-Shepherd is achieved using automatically constructed process-wise supervision data, breaking the bottleneck of heavy reliance on manual annotation in existing work. We explore the effectiveness of Math-Shepherd in two scenarios: 1) \textit{Verification}: Math-Shepherd is utilized for reranking multiple outputs generated by Large Language Models (LLMs); 2) \textit{Reinforcement Learning}: Math-Shepherd is employed to reinforce LLMs with step-by-step Proximal Policy Optimization (PPO). With Math-Shepherd, a series of open-source LLMs demonstrates exceptional performance. For instance, the step-by-step PPO with Math-Shepherd significantly improves the accuracy of Mistral-7B (77.9\%$\to$84.1\% on GSM8K and 28.6\%$\to$33.0\% on MATH). The accuracy can be further enhanced to 89.1\% and 43.5\% on GSM8K and MATH with the verification of Math-Shepherd, respectively. We believe that automatic process supervision holds significant potential for the future evolution of LLMs.

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

↑