kevinpro/R-PRM-7B-DPO

Model

R-PRM: Reasoning-Driven Process Reward Modeling

3

6 commits

1 linked in READMEs

updated Mar 28, 2025

See the code

README

R-PRM: Reasoning-Driven Process Reward Modeling

πŸ“ƒ Paper | πŸ“ Blog | βš™οΈ Code | πŸ€– Model | πŸ€— Dataset | πŸ“­ Contact

Overview

Welcome to the repository of R-PRM, our cutting-edge framework designed to revolutionize process-level evaluation in mathematical reasoning for large language models (LLMs).

  • πŸš€ We introduce Reasoning-Driven Process Reward Modeling (R-PRM), a novel approach that enhances LLMs' ability to evaluate mathematical reasoning step-by-step. By leveraging stronger LLMs to generate seed data, optimizing preferences without additional annotations, and scaling inference-time computation, R-PRM delivers comprehensive, transparent, and robust assessments of reasoning processes.
  • πŸ“ˆ Our framework significantly boosts evaluation accuracy and generalization, outperforming strong baselines by wide margins on ProcessBench and PRMBench. When guiding policy models, R-PRM consistently improves reasoning performance across diverse datasets, achieving state-of-the-art (SOTA) results.
  • 🌐 Overall, R-PRM offers a scalable and data-efficient solution to the challenge of scarce process-level annotations, enabling a more generalizable enhancement of reasoning evaluation capabilities without extensive human labeling.

Figure 1: R-PRM Framework Illustration

πŸ† Experiment Results

πŸ§ͺ Data Efficiency

R-PRM demonstrates exceptional data efficiency under varying training scales:

  • With just 12.8k training samples, R-PRM reaches F1 = 52.6, already surpassing most open-source PRMs.
  • R-PRM achieves +3.6 F1 over Qwen2.5-Math-7B-PRM800K when trained on just 64k samples (vs. Qwen's 265k), and extends this lead to +8.7 F1 when both are trained on comparable data volumes.
  • Notably, despite using only ~15% of the data, R-PRM’s performance is already comparable to Qwen2.5-Math-PRM, which was trained on a much larger 1.8M LLM-filtered dataset.

Figure2: DataScaline

πŸ“Š ProcessBench

Our reasoning-driven framework improves over Qwen2.5-Math-7B-PRM800K by +8.7 F1 (SFT) and +13.9 F1 (DPO), demonstrating its powerful evaluation capability.

ModelGSM8KMATHOLYMPIADOMNIMATHAvg. F1
Math-Shepherd-7B47.929.524.823.831.5
Skywork-PRM-7B70.853.622.921.042.1
Qwen2.5-Math-7B-PRM800K68.262.650.744.356.5
⭐ R-PRM-7B-SFT77.2 (+9.0)71.6 (+9.0)59.6 (+8.9)52.3 (+8.0)65.2 (+8.7)
⭐ R-PRM-7B-DPO80.7 (+12.5)76.9 (+14.3)63.8 (+13.1)60.1 (+15.8)70.4 (+13.9)
Qwen2.5-Math-PRM-7B82.477.667.566.373.5
GPT-4o79.263.651.453.561.9
o1-mini93.288.987.282.487.9

🧠 PRMBench

R-PRM achieves +8.5 F1 (DPO) over Qwen2.5-Math-7B-PRM800K πŸ“Œ Excels in soundness, sensitivity, and multi-dimensional error analysis. PRMBench Performance

πŸ§ͺ Best-of-N Strategy

When selecting the best among N reasoning paths, R-PRM improves accuracy by +8.6 points over the Pass@1 baseline, achieving the best results among all PRMs across six math datasets.

Setting / ModelAIME24AMC23MATHOlympiadCollegeMinervaAvg.
pass@1 (baseline)11.247.873.038.038.637.241.0
maj@820.057.579.647.041.542.748.0
pass@8 (upper bound)33.382.588.858.547.557.761.4
Math-Shepherd-7B16.742.576.042.037.039.342.3
Skywork-PRM-7B16.755.081.244.040.544.547.0
Qwen2.5-Math-7B-PRM800K13.357.580.044.543.543.047.7
Qwen2.5-Math-PRM-7B16.755.082.048.043.543.048.0
⭐ R-PRM-7B-DPO20.062.582.248.041.044.149.6

πŸ” Guide Search Strategy

By guiding reasoning step-by-step, R-PRM surpasses Pass@1 by +8.4 points, outperforming both majority voting and previous PRM-guided methods.

Setting / ModelAIME24AMC23MATHOlympiadCollegeMinervaAvg.
pass@111.247.873.038.038.637.241.0
major@820.057.579.647.041.542.748.0
pass@8 (upper bound)33.382.588.858.547.557.761.4
Math-Shepherd-7B13.352.574.638.536.541.242.8
Skywork-PRM-7B10.057.577.841.539.043.444.9
Qwen2.5-Math-7B-PRM800K23.345.078.242.035.538.643.8
Qwen2.5-Math-PRM-7B16.760.081.043.539.040.446.8
⭐ R-PRM-7B-DPO16.770.080.046.539.543.449.4

πŸš€ Inference-Time Scaling

Evaluation performance improves consistently as more reasoning trajectories are sampled at inference. β†’ From 62.8 F1 (2 samples) to 67.6 F1 (4 samples) on ProcessBench. This showcases R-PRM’s ability to deliver robust, ensemble-style judgment through multi-path reasoning.

Figure3: ProcessBench Scaling

Citation

If you find this repository helpful, feel free to cite our paper:

@misc{she2025rprmreasoningdrivenprocessreward,
      title={R-PRM: Reasoning-Driven Process Reward Modeling}, 
      author={Shuaijie She and Junxiao Liu and Yifeng Liu and Jiajun Chen and Xin Huang and Shujian Huang},
      year={2025},
      eprint={2503.21295},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2503.21295}, 
}
conversational
qwen2
reinforcement-learning
reward-model
safetensors
text-generation

Contributors

kevinpro

6 commits

kevinpro/R-PRM-7B-DPO

Model

R-PRM: Reasoning-Driven Process Reward Modeling

3

6 commits

1 linked in READMEs

updated Mar 28, 2025

See the code

README

R-PRM: Reasoning-Driven Process Reward Modeling

πŸ“ƒ Paper | πŸ“ Blog | βš™οΈ Code | πŸ€– Model | πŸ€— Dataset | πŸ“­ Contact

Overview

Welcome to the repository of R-PRM, our cutting-edge framework designed to revolutionize process-level evaluation in mathematical reasoning for large language models (LLMs).

  • πŸš€ We introduce Reasoning-Driven Process Reward Modeling (R-PRM), a novel approach that enhances LLMs' ability to evaluate mathematical reasoning step-by-step. By leveraging stronger LLMs to generate seed data, optimizing preferences without additional annotations, and scaling inference-time computation, R-PRM delivers comprehensive, transparent, and robust assessments of reasoning processes.
  • πŸ“ˆ Our framework significantly boosts evaluation accuracy and generalization, outperforming strong baselines by wide margins on ProcessBench and PRMBench. When guiding policy models, R-PRM consistently improves reasoning performance across diverse datasets, achieving state-of-the-art (SOTA) results.
  • 🌐 Overall, R-PRM offers a scalable and data-efficient solution to the challenge of scarce process-level annotations, enabling a more generalizable enhancement of reasoning evaluation capabilities without extensive human labeling.

Figure 1: R-PRM Framework Illustration

πŸ† Experiment Results

πŸ§ͺ Data Efficiency

R-PRM demonstrates exceptional data efficiency under varying training scales:

  • With just 12.8k training samples, R-PRM reaches F1 = 52.6, already surpassing most open-source PRMs.
  • R-PRM achieves +3.6 F1 over Qwen2.5-Math-7B-PRM800K when trained on just 64k samples (vs. Qwen's 265k), and extends this lead to +8.7 F1 when both are trained on comparable data volumes.
  • Notably, despite using only ~15% of the data, R-PRM’s performance is already comparable to Qwen2.5-Math-PRM, which was trained on a much larger 1.8M LLM-filtered dataset.

Figure2: DataScaline

πŸ“Š ProcessBench

Our reasoning-driven framework improves over Qwen2.5-Math-7B-PRM800K by +8.7 F1 (SFT) and +13.9 F1 (DPO), demonstrating its powerful evaluation capability.

ModelGSM8KMATHOLYMPIADOMNIMATHAvg. F1
Math-Shepherd-7B47.929.524.823.831.5
Skywork-PRM-7B70.853.622.921.042.1
Qwen2.5-Math-7B-PRM800K68.262.650.744.356.5
⭐ R-PRM-7B-SFT77.2 (+9.0)71.6 (+9.0)59.6 (+8.9)52.3 (+8.0)65.2 (+8.7)
⭐ R-PRM-7B-DPO80.7 (+12.5)76.9 (+14.3)63.8 (+13.1)60.1 (+15.8)70.4 (+13.9)
Qwen2.5-Math-PRM-7B82.477.667.566.373.5
GPT-4o79.263.651.453.561.9
o1-mini93.288.987.282.487.9

🧠 PRMBench

R-PRM achieves +8.5 F1 (DPO) over Qwen2.5-Math-7B-PRM800K πŸ“Œ Excels in soundness, sensitivity, and multi-dimensional error analysis. PRMBench Performance

πŸ§ͺ Best-of-N Strategy

When selecting the best among N reasoning paths, R-PRM improves accuracy by +8.6 points over the Pass@1 baseline, achieving the best results among all PRMs across six math datasets.

Setting / ModelAIME24AMC23MATHOlympiadCollegeMinervaAvg.
pass@1 (baseline)11.247.873.038.038.637.241.0
maj@820.057.579.647.041.542.748.0
pass@8 (upper bound)33.382.588.858.547.557.761.4
Math-Shepherd-7B16.742.576.042.037.039.342.3
Skywork-PRM-7B16.755.081.244.040.544.547.0
Qwen2.5-Math-7B-PRM800K13.357.580.044.543.543.047.7
Qwen2.5-Math-PRM-7B16.755.082.048.043.543.048.0
⭐ R-PRM-7B-DPO20.062.582.248.041.044.149.6

πŸ” Guide Search Strategy

By guiding reasoning step-by-step, R-PRM surpasses Pass@1 by +8.4 points, outperforming both majority voting and previous PRM-guided methods.

Setting / ModelAIME24AMC23MATHOlympiadCollegeMinervaAvg.
pass@111.247.873.038.038.637.241.0
major@820.057.579.647.041.542.748.0
pass@8 (upper bound)33.382.588.858.547.557.761.4
Math-Shepherd-7B13.352.574.638.536.541.242.8
Skywork-PRM-7B10.057.577.841.539.043.444.9
Qwen2.5-Math-7B-PRM800K23.345.078.242.035.538.643.8
Qwen2.5-Math-PRM-7B16.760.081.043.539.040.446.8
⭐ R-PRM-7B-DPO16.770.080.046.539.543.449.4

πŸš€ Inference-Time Scaling

Evaluation performance improves consistently as more reasoning trajectories are sampled at inference. β†’ From 62.8 F1 (2 samples) to 67.6 F1 (4 samples) on ProcessBench. This showcases R-PRM’s ability to deliver robust, ensemble-style judgment through multi-path reasoning.

Figure3: ProcessBench Scaling

Citation

If you find this repository helpful, feel free to cite our paper:

@misc{she2025rprmreasoningdrivenprocessreward,
      title={R-PRM: Reasoning-Driven Process Reward Modeling}, 
      author={Shuaijie She and Junxiao Liu and Yifeng Liu and Jiajun Chen and Xin Huang and Shujian Huang},
      year={2025},
      eprint={2503.21295},
      archivePrefix={arXiv},
      primaryClass={cs.CL},
      url={https://arxiv.org/abs/2503.21295}, 
}
conversational
qwen2
reinforcement-learning
reward-model
safetensors
text-generation

Contributors

kevinpro

6 commits