Abstract: Recent advancements in Large Language Models (LLMs) have shown that it is promising to utilize Process Reward Models (PRMs) as verifiers to enhance the performance of LLMs. However, current PRMs face three key challenges: (1) limited process supervision and generalization capabilities, (2) dependence on scalar value prediction without leveraging the generative abilities of LLMs, and (3) inability to scale the test-time compute of PRMs. In this work, we introduce GenPRM, a generative process reward model that performs explicit Chain-of-Thought (CoT) reasoning with code verification before providing judgment for each reasoning step. To obtain high-quality process supervision labels and rationale data, we propose Relative Progress Estimation (RPE) and a rationale synthesis framework that incorporates code verification. Experimental results on ProcessBench and several mathematical reasoning tasks show that GenPRM significantly outperforms prior PRMs with only 23K training data from MATH dataset. Through test-time scaling, a 1.5B GenPRM outperforms GPT-4o, and a 7B GenPRM surpasses Qwen2.5-Math-PRM-72B on ProcessBench. Additionally, GenPRM demonstrates strong abilities to serve as a critic model for policy model refinement. This work establishes a new paradigm for process supervision that bridges the gap between PRMs and critic models in LLMs.
Introduction
In the quest to make Large Language Models (LLMs) more reliable, Process Reward Models (PRMs) have emerged as a critical tool for step-by-step evaluation of reasoning paths. However, traditional PRMs are often limited by a "discriminative bottleneck," where they function as simple classifiers outputting a scalar value. This approach ignores the LLM's inherent strength in natural language generation and reasoning. Furthermore, scalar predictions are difficult to scale at test time; if a model provides an incorrect score, there is no mechanism for it to "think harder" to correct itself.
GenPRM addresses these flaws by reimagining the PRM as a generative reasoner. Instead of a single scalar, GenPRM generates an analysis block (Chain-of-Thought) and a verification block (Python code) to scrutinize each reasoning step before delivering a final judgment.
Methodology
The GenPRM framework introduces several innovations to improve process supervision and enable test-time scaling:
1. Generative Reasoning & Code Verification
GenPRM is trained to critique reasoning steps explicitly. For each step, it generates a <analyze> block to perform CoT reasoning and a <verify> block containing Python code. By executing this code, the model can verify the logic of mathematical steps against a ground truth or logical consistency, significantly boosting robustness.
2. Relative Progress Estimation (RPE)
To overcome the scarcity of high-quality step-level labels, the authors propose RPE. Unlike standard Monte Carlo estimation, which only checks if a step could lead to a correct answer, RPE measures if a step makes it easier to reach the answer compared to the previous state. This effectively filters out "lucky" guesses and neutral steps that do not contribute to the solution's progress.
3. Test-Time Scaling (TTS)
Because GenPRM is generative, it allows for test-time compute scaling. By sampling multiple reasoning paths (e.g., $N=8$) for a single step and using majority voting or aggregation, the model can reach a more accurate verdict than a single-pass scalar model.
Experimental Results
GenPRM demonstrates remarkable efficiency and performance across several benchmarks, including ProcessBench and competition math datasets (AMC23, AIME24).
- Superior Performance at Scale: The GenPRM-7B model achieved an F1 score of 80.5 on ProcessBench, outperforming the much larger Qwen2.5-Math-PRM-72B (78.3). Even a tiny 1.5B GenPRM, when scaled at test time, achieved an F1 score of 63.4, surpassing GPT-4o (61.9).
- Data Efficiency: While many baseline PRMs require hundreds of thousands of labeled steps, GenPRM reached state-of-the-art results using only 23K high-quality synthesized training samples.
- Critic Capabilities: Beyond verification, GenPRM excels as a critic model. When used to iteratively refine solutions, it provided a 3.4x improvement in accuracy over standard self-refine baselines.
Conclusion
GenPRM establishes a new paradigm for process supervision by bridging the gap between reward models and critics. By leveraging generative reasoning and code verification, it enables verifiers to benefit from increased compute at test time, allowing smaller models to outperform significantly larger discriminative counterparts. Future work will focus on expanding this generative supervision to general reasoning and coding tasks beyond the mathematical domain.
Summary updated