kevinpro/R-PRM-7B-DPO
R-PRM: Reasoning-Driven Process Reward Modeling
<p align="center"> <a href="https://arxiv.org/abs/2503.21295"> ๐ Paper</a> | <a href="https://shesj-note.notion.site/R-PRM-Reasoning-Driven-Process-Reward-Modeling-9543fb238b0d48338dd44c60999ffd9b"> ๐ Blog</a> | <a href="https://github.com/NJUNLP/R-PRM"> โ๏ธ Code</a> | <a href="https://huggingface.co/kevinpro/R-PRM-7B-DPO"> ๐ค Model</a> | <a href="https://huggingface.co/datasets/kevinpro/R-PRM"> ๐ค Dataset</a> | <a href="https://ricardokevins.github.io/"> ๐ญ Contact</a> </p>
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.
๐ 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.
๐ 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.
๐ง PRMBench
R-PRM achieves +8.5 F1 (DPO) over Qwen2.5-Math-7B-PRM800K ๐ Excels in soundness, sensitivity, and multi-dimensional error analysis.
๐งช 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.
๐ 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.
๐ 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.
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},
}