Process Reward Models: How Step-by-Step Supervision and Search Drive LLM Reasoning

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

7 min
Process Reward Models: How Step-by-Step Supervision and Search Drive LLM Reasoning

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 xx and a complete generated response y=(s1,s2,,sT)y = (s_1, s_2, \dots, s_T) and output a single scalar score:

rORM(x,y)Rr_{\text{ORM}}(x, y) \in \mathbb{R}

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:

  1. 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 (s1s_1 through s27s_{27}) identically to the erroneous step (s28s_{28}).
  2. 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.
  3. 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 xx and a sequence of reasoning steps (s1,s2,,st)(s_1, s_2, \dots, s_t), the PRM computes a step-level score:

rPRM(stx,s<t)[0,1]r_{\text{PRM}}(s_t \mid x, s_{<t}) \in [0, 1]

This score represents the probability that the current partial sequence sts_{\le t} can be successfully completed into a mathematically valid, correct final solution.

Outcome Reward Models vs Process Reward Models

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:

  1. The entire chain up to step tt is passed through the transformer backbone in a single forward pass.
  2. The hidden representation hdelim(t)h_{\text{delim}}^{(t)} corresponding to the delimiter token of step tt is projected via a linear layer WrW_r to a logit.
  3. A sigmoid activation produces the scalar reward rt=σ(Wrhdelim(t))r_t = \sigma(W_r h_{\text{delim}}^{(t)}).

Because causal attention masks prevent future tokens from influencing past hidden states, a single forward pass over a full reasoning sequence of TT steps simultaneously extracts all intermediate scores (r1,r2,,rT)(r_1, r_2, \dots, r_T).

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-NN candidate selection on the MATH benchmark, the process-supervised reward model achieved 78.2% accuracy at N=1800N=1800, 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 sts_t 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.75

The algorithm proceeds as follows:

  1. Sampling Intermediate Prefixes: For each problem xx, a generator produces reasoning paths.
  2. Monte Carlo Rollouts: For each step sts_t, the environment samples MM independent completions to terminal states using temperature sampling.
  3. Outcome Scoring: The final answers of the MM rollouts are checked automatically against the ground-truth answer key via symbolic computation (such as SymPy).
  4. Step Value Estimation: The empirical ground-truth label for step sts_t is assigned as the empirical success rate:

yt=1Mm=1MI(Outcomem=GroundTruth)y_t = \frac{1}{M} \sum_{m=1}^M \mathbb{I}(\text{Outcome}_m = \text{GroundTruth})

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-NN (BoN) sampling, the model generates NN independent candidate chains of thought. The PRM scores each candidate y(i)=(s1(i),,sTi(i))y^{(i)} = (s_1^{(i)}, \dots, s_{T_i}^{(i)}). Selecting the winning candidate requires an aggregation function across step rewards:

  • Minimum Step Score (Min-PRM):

Smin(y)=mint{1,,T}rtS_{\min}(y) = \min_{t \in \{1, \dots, T\}} r_t This strategy assumes that a proof is only as strong as its weakest deduction. A single logical flaw (rt0r_t \approx 0) disqualifies the entire trajectory.

  • Product of Step Scores (Prod-PRM):

Sprod(y)=t=1Trt=exp(t=1Tlogrt)S_{\text{prod}}(y) = \prod_{t=1}^T r_t = \exp\left( \sum_{t=1}^T \log r_t \right) This formulation models the joint probability of all steps being simultaneously correct, naturally penalizing longer, error-prone derivations.

  • Length-Normalized Geometric Mean:

Sgeom(y)=(t=1Trt)1/TS_{\text{geom}}(y) = \left( \prod_{t=1}^T r_t \right)^{1/T} Prevents systemic bias against longer reasoning paths on inherently difficult problems.

Instead of waiting for sequences to terminate, step-level beam search evaluates partial trajectories at every step delimiter:

  1. Maintain an active beam of BB partial candidates.
  2. At step tt, expand each candidate by sampling KK potential next steps from the generator.
  3. Score all B×KB \times K candidates with the PRM.
  4. Retain only the top-BB candidates according to S(st)S(s_{\le t}) 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 V(s)V(s) 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):

  1. Dense Step-Level Advantage: Standard RL with ORMs provides a single reward at token TT, leading to high variance in policy gradient estimates. Step-level rewards rtr_t provide dense intermediate credit, stabilizing value estimation and accelerating convergence.
  2. 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.
  3. 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 yy. PRMs evaluate individual intermediate steps sts_t.
  • 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

Written by

More to read

  • GLM-5.3 Scores 60 on Artificial Analysis Intelligence Index, Matching Kimi K3

    Independent AI evaluation platform Artificial Analysis has published its benchmark results for Z.ai's GLM-5.3, awarding the reasoning model a score of 60 on its Intelligence Index v4.1.1. The result places GLM-5.3 level with Moonshot AI's Kimi K3 and three points behind frontier leader Claude Opus 5 (63). The evaluation tested GLM-5.3 at its maximum reasoning effort configuration across a nine-part battery that measures agentic tool execution, terminal coding, graduate-level scientific problem-

    1 min
  • Block Open-Sources Berd: Apache 2.0 Desktop Workspace for Multi-Model AI Agents

    Block has open-sourced Berd, an Apache 2.0-licensed desktop application designed to serve as a unified workspace for managing AI agents across different foundation models, toolsets, and execution harnesses. Originally built for internal use across Square, Cash App, and Tidal, the desktop client reached version 0.6.2 on August 18, 2026, with builds available for macOS, Windows, and Linux. The release addresses growing operational fragmentation as developers juggle specialized agent environments

    1 min
  • Self-Hosted Embedding and Reranking Serving in Production: TEI vs. Infinity vs. vLLM Architecture, Dynamic Batching, and Serving Economics

    While generative large language models dominate inference infrastructure discussions, vector embeddings and cross-encoder rerankers handle order-of-magnitude higher request volumes in production retrieval-augmented generation (RAG) and search pipelines. Serving embedding and reranking models presents fundamentally different computational characteristics than auto-regressive text generation. Without auto-regressive token generation loops or key-value (KV) cache state management, the primary engin

    1 min