Process Reward Model (PRM)
A process reward model (PRM) scores every intermediate step of a model's reasoning, not only the final answer. Covers PRM800K, training, and search.
A process reward model (PRM) is a reward model that scores each intermediate step of a solution, usually as the probability that the step is correct, instead of scoring only the final answer. An outcome reward model (ORM) judges a whole solution by its result, so it can reward a right answer reached through wrong steps and gives no signal about where a wrong solution went off track. PRMs rank and guide the candidate solutions of large language models (LLMs) and reasoning models at inference time, and they supply step-level rewards for reinforcement learning. DeepMind researchers compared the two kinds of supervision on grade-school math in 2022: outcome-based feedback reached a similar final-answer error rate with less labeling, but process-based feedback was needed to cut reasoning errors in solutions with correct answers from 14.0% to 3.4%.
Let's Verify Step by Step#
OpenAI's 2023 paper Let's Verify Step by Step made PRMs widely known. Human labelers marked about 800,000 steps from 75,000 solutions to 12,000 problems in the MATH competition dataset as positive, negative, or neutral, and OpenAI released the labels as PRM800K. Selecting the best of 1,860 solutions sampled from a GPT-4-based generator, the PRM solved 78.2% of a representative subset of the MATH test set, against 72.4% for an ORM and 69.6% for majority voting. The labelers were shown solutions the current PRM rated highly but that reached a wrong answer, a form of active learning that made labeling about 2.6 times more data-efficient.
How a PRM Is Trained#
A PRM is usually an LLM fine-tuned to predict, at the end of each step, whether that step is correct, trained with a cross-entropy loss function against step labels. Human data labeling at this level of detail is expensive, so Math-Shepherd, published in December 2023, built them automatically: from each step, it sampled several completions and labeled the step by whether those completions reached the known correct answer. Using that PRM to reward each step during PPO training raised Mistral-7B's GSM8K accuracy from 77.9% to 84.1% and its MATH accuracy from 28.6% to 33.0%. Automatic labels are noisy, though: a 2025 study by Alibaba's Qwen team found that such Monte Carlo estimates trained weaker PRMs than human labels or labels from an LLM acting as judge, and the team released ProcessBench, a benchmark of how well a PRM finds the first wrong step.
Using PRM Scores#
At inference, a PRM turns step scores into a choice. Best-of-N sampling generates several full solutions and keeps the one with the best aggregated score, where Let's Verify Step by Step multiplied the step probabilities and the minimum step score performed about the same:
import torch
# PRM outputs for three sampled solutions: probability that each step is correct
solutions = {
"A": torch.tensor([0.97, 0.93, 0.95, 0.94]),
"B": torch.tensor([0.99, 0.24, 0.96, 0.98]), # flawed second step, confident ending
"C": torch.tensor([0.91, 0.88, 0.90]),
}
for name, steps in solutions.items():
print(f"{name}: last step {steps[-1]:.2f}, product {steps.prod():.3f}, min {steps.min():.2f}")
# Best-of-N reranking: pick the solution with the highest product of step scores
best = max(solutions, key=lambda name: solutions[name].prod())
print(f"Selected solution: {best}")Solution B has the most confident final step at 0.98, but its second step scores 0.24, so its product falls to 0.224 and its minimum to 0.24, and the PRM selects solution A with a product of 0.806. Ranking by the final step alone would have picked B. Ultralytics YOLO training likewise scores every intermediate step of a run instead of only its end: with the default val=True, the trainer validates after each epoch, scores the weights by a fitness value equal to mAP50-95 for detection, and saves the best-scoring epoch as best.pt beside the final last.pt.
A PRM can also guide search before any solution is finished. Beam search keeps only the highest-scoring partial solutions at each step, Monte Carlo tree search (MCTS) uses the same scores to decide which branches to expand, and a study of test-time compute scaling by Google DeepMind and UC Berkeley found that picking the PRM search method per problem difficulty matched best-of-N sampling with up to four times less test-time compute:
Limits and Related Terms#
The DeepSeek-R1 team tried PRMs and dropped them for three reasons: a fine-grained step is hard to define in general reasoning, judging whether an intermediate step is correct is hard to automate and costly to label by hand, and a learned PRM invites reward hacking during large-scale training. DeepSeek-R1 instead learned through Group Relative Policy Optimization (GRPO) from rule-based checks of the final answer, the approach known as reinforcement learning with verifiable rewards (RLVR). The reward models in reinforcement learning from human feedback (RLHF) score whole responses from human preference comparisons, which makes them outcome reward models for open-ended text. A PRM checks steps as a chain of thought is written, and chain-of-verification (CoVe) has a model check its own finished answer by asking and answering verification questions.










