When large language models tackle complex multi-step reasoning (such as formal mathematics, algorithm synthesis, or multi-hop logic), evaluating only the final answer creates a severe credit assignment bottleneck. An outcome-based verifier can confirm whether a final numerical result is correct, but it cannot determine whether the underlying derivation was logically sound or reached the right answer through compounding hallucinations and lucky cancellations.
Process Reward Models (PRMs) resolve this limitation by shifting the supervision boundary from the complete response to individual reasoning steps. By scoring each intermediate deduction along a chain of thought, PRMs provide granular feedback for reinforcement learning and serve as value heuristics for test-time search algorithms such as Best-of-N selection, beam search, and Monte Carlo Tree Search (MCTS).
Outcome Supervision (ORM):
[Prompt] ──> [Step 1] ──> [Step 2] ──> [Step 3 (Error)] ──> [Step 4] ──> [Final Answer] ──> [Reward: 0 or 1]
(Sparse signal)
Process Supervision (PRM):
[Prompt] ──> [Step 1] ──> [Step 2] ──> [Step 3 (Error)] ──> [Step 4] ──> [Final Answer]
│ │ │ │ │
[r = 0.98] [r = 0.95] [r = 0.04] [r = 0.01] [r = 0.00]
(First point of failure identified)The Limitations of Outcome Reward Models
In standard post-training pipelines, Outcome Reward Models (ORMs) take a prompt and a complete generated response and output a single scalar score:
While ORMs are straightforward to train using automated unit tests or final answer keys, they suffer from three structural flaws when applied to multi-step reasoning:
- Credit Assignment Ambiguity: When a model produces a 30-step mathematical proof that fails at the 28th step, an ORM assigns a negative reward to the entire sequence. The optimizer penalizes correct intermediate steps ( through ) identically to the erroneous step ().
- False Positives (Sneaky Errors): Models frequently produce invalid mathematical deductions that coincidentally arrive at the correct final token (such as dividing by zero or dropping negative signs symmetrically). An ORM rewards these flawed reasoning traces with positive feedback, directly training the model to hallucinate plausible-looking justifications.
- Sparse Verification in Search: During inference-time tree search or beam decoding, an ORM cannot evaluate partial solutions. Search algorithms must execute full rollouts to the end of the sequence before obtaining a reward signal, causing massive computational waste on doomed search paths.
The Mechanics of Process Reward Models
A Process Reward Model evaluates the transition between intermediate reasoning states. Given a problem context and a sequence of reasoning steps , the PRM computes a step-level score:
This score represents the probability that the current partial sequence can be successfully completed into a mathematically valid, correct final solution.

Step Delimitation and Token-Level Modeling
In practice, reasoning traces are structured into discrete steps using explicit delimiter tokens, such as double newlines (\n\n), step indices (Step 1:, Step 2:), or dedicated special tokens (<step>, </step>).
The PRM is typically instantiated as a causal transformer whose classification head is applied to the delimiter token at the end of each step:
- The entire chain up to step is passed through the transformer backbone in a single forward pass.
- The hidden representation corresponding to the delimiter token of step is projected via a linear layer to a logit.
- A sigmoid activation produces the scalar reward .
Because causal attention masks prevent future tokens from influencing past hidden states, a single forward pass over a full reasoning sequence of steps simultaneously extracts all intermediate scores .
The PRM800K Benchmark
The empirical foundation for process supervision was established by OpenAI in Let's Verify Step by Step (Lightman et al., 2023). The researchers trained PRMs on PRM800K, a dataset containing 800,000 step-level human feedback annotations across 75,000 solutions to MATH benchmark problems.
Annotators classified each step into one of three categories:
- Positive (+1): The step is correct and makes valid progress toward the solution.
- Negative (-1): The step contains an error or logical fallacy.
- Neutral (0): The step is computationally correct but unhelpful (such as an unnecessary restatement).
When used to guide Best-of- candidate selection on the MATH benchmark, the process-supervised reward model achieved 78.2% accuracy at , significantly outperforming the outcome-supervised baseline (72.4% accuracy). Furthermore, process supervision showed higher data efficiency, requiring substantially fewer labeled examples to reach parity with ORMs.
Automated Process Supervision: Math-Shepherd and Beyond
While human-annotated datasets like PRM800K proved the efficacy of step-level scoring, collecting manual annotations at scale is economically prohibitive. To bypass human labeling, researchers developed automated Monte Carlo annotation pipelines.
Math-Shepherd: Rollout-Based Step Verification
Introduced in Math-Shepherd (Wang et al., 2023), automated process supervision infers the correctness of an intermediate step by measuring how easily a base policy can complete the derivation correctly from that state.
Given problem x and partial steps (s_1, ..., s_t):
Intermediate State (s_1, ..., s_t)
├── Rollout 1: [Completion ...] ──> Correct (1)
├── Rollout 2: [Completion ...] ──> Incorrect (0)
├── Rollout 3: [Completion ...] ──> Correct (1)
└── Rollout 4: [Completion ...] ──> Correct (1)
Estimated Step Quality: q(s_t) = 3 / 4 = 0.75The algorithm proceeds as follows:
- Sampling Intermediate Prefixes: For each problem , a generator produces reasoning paths.
- Monte Carlo Rollouts: For each step , the environment samples independent completions to terminal states using temperature sampling.
- Outcome Scoring: The final answers of the rollouts are checked automatically against the ground-truth answer key via symbolic computation (such as SymPy).
- Step Value Estimation: The empirical ground-truth label for step is assigned as the empirical success rate:
Math-Shepherd demonstrated that PRMs trained on purely automated Monte Carlo rollouts match or exceed the verification performance of models trained on expensive human labels, scaling step-level datasets to millions of verified problems.
Inference-Time Search Strategies with PRMs
At test time, Process Reward Models transform standard autoregressive decoding into structured state-space search. Rather than generating a single sequence greedily, systems use PRMs to explore, evaluate, and prune reasoning paths.
[Problem Prompt]
│
┌─────────────┴─────────────┐
[Step 1A (0.96)] [Step 1B (0.32)] ──> [PRUNED]
│
┌──────┴──────┐
[Step 2A (0.91)] [Step 2B (0.12)] ──> [PRUNED]
│
[Step 3A (0.88)]
│
[Final Answer]1. Best-of-N Candidate Aggregation
In Best-of- (BoN) sampling, the model generates independent candidate chains of thought. The PRM scores each candidate . Selecting the winning candidate requires an aggregation function across step rewards:
- Minimum Step Score (Min-PRM):
This strategy assumes that a proof is only as strong as its weakest deduction. A single logical flaw () disqualifies the entire trajectory.
- Product of Step Scores (Prod-PRM):
This formulation models the joint probability of all steps being simultaneously correct, naturally penalizing longer, error-prone derivations.
- Length-Normalized Geometric Mean:
Prevents systemic bias against longer reasoning paths on inherently difficult problems.
2. Step-Level Beam Search
Instead of waiting for sequences to terminate, step-level beam search evaluates partial trajectories at every step delimiter:
- Maintain an active beam of partial candidates.
- At step , expand each candidate by sampling potential next steps from the generator.
- Score all candidates with the PRM.
- Retain only the top- candidates according to and discard the rest.
Step-level pruning cuts inference costs by terminating invalid logic branches early, allocating compute to promising derivations.
3. Monte Carlo Tree Search (MCTS)
For complex multi-step reasoning, PRMs act as value functions within Monte Carlo Tree Search:
- Selection: Select nodes using the Upper Confidence Bound for Trees (UCT), balancing exploitation of high PRM scores with exploration of under-visited step variations.
- Expansion and Rollout: Generate the next reasoning step using the policy model.
- Backpropagation: Propagate the PRM step score back through ancestor nodes to update state values across the search graph.
Process Supervision in Reinforcement Learning
Beyond test-time filtering, PRMs are used directly as reward functions in reinforcement learning algorithms (such as PPO, REINFORCE, and GRPO):
- Dense Step-Level Advantage: Standard RL with ORMs provides a single reward at token , leading to high variance in policy gradient estimates. Step-level rewards provide dense intermediate credit, stabilizing value estimation and accelerating convergence.
- Discouraging Rationalization: Models trained solely on outcome rewards often learn to "rationalize" intermediate errors (generating incoherent text in the middle of a derivation before abruptly spitting out the correct final answer). Step-level RL penalizes nonsensical intermediate steps even if the final token matches the label.
- Targeted Policy Correction: If a model consistently fails at specific algebraic transformations, step-level policy gradients specifically update the parameters active during those sub-tokens without disrupting earlier, correct reasoning modules.
Architectural Comparison: ORM vs. PRM
- Supervision Target: ORMs evaluate complete sequences . PRMs evaluate individual intermediate steps .
- Reward Density: ORMs provide a single sparse scalar at the terminal token. PRMs provide dense step-level reward signals at every delimiter.
- Credit Assignment: ORMs distribute credit uniformly across all tokens. PRMs isolate credit to the exact step where an error or breakthrough occurs.
- False-Positive Resistance: ORMs are vulnerable to lucky guesses and algebraic hallucinations that reach correct answers. PRMs verify the integrity of each intermediate state.
- Inference Search Capabilities: ORMs are restricted to sequence-level reranking after completion. PRMs enable early branch pruning, step-level beam search, and Monte Carlo Tree Search.
- Training Data Generation: ORMs rely on simple binary checks against answer keys. PRMs require step-level annotations or automated Monte Carlo completion rollouts.
- Inference Compute Overhead: ORMs incur a single forward pass per candidate. PRMs require incremental evaluation across reasoning steps.
Structural Pitfalls and Open Challenges
While Process Reward Models offer substantial empirical gains, real-world deployment introduces specific failure modes:
- Reward Hacking at Step Delimiters: Generative models can learn to exploit PRM heuristics by producing superficially formal language (such as asserting standard theorems without application) that receives high step scores despite lacking mathematical relevance.
- Step Granularity Mismatch: Defining what constitutes a single "step" is inherently challenging. If steps are too coarse (multi-paragraph derivations), error localization degrades. If steps are too fine (individual algebraic operations), the computational cost of scoring explodes, and step-level context becomes fragmented.
- Inference Compute Overhead: In search pipelines, scoring intermediate steps with a 70B-parameter PRM can multiply the total FLOPs per query compared to unguided sampling. High-throughput serving engines mitigate this via speculative verification and asynchronous reward scoring.
Sources
- Let's Verify Step by Step (Lightman et al., OpenAI, 2023)
- Math-Shepherd: Verify and Reinforce LLMs Step-by-Step Without Human Annotations (Wang et al., 2023)
- Towards Effective Process Supervision in Mathematical Reasoning (Qwen Team, 2024)
- R-PRM: Reasoning-Driven Process Reward Modeling (EMNLP 2025)
- DeepSeek-Math: Pushing the Limits of Mathematical Reasoning in Open Language Models (Shao et al., 2024)



