Outcome and Process Reward Models
Compare outcome and process reward models: labeling schemes, verifiers versus learned graders, step-score aggregation, reranking, and reward hacking.
Language AI HandbookAll chapters Outcome and Process Reward Models
Two solutions to 3x + 7 = 22 both give the answer 5. One subtracts 7 to get 15 and then divides by 3. Would you show a student the other derivation?
Step 1: 3x + 7 = 22
Step 2: 3x = 18 <- subtraction error
Step 3: x = 5 <- incorrectly dividing 18 by 3
Subtracting 7 should give 15, and dividing 18 by 3 would give 6. Outcome supervision can give both traces the same label because they share the final answer. Process supervision can attach feedback to individual steps, including the two faulty deductions. In a policy-gradient update with a positive trajectory advantage, the sampled solution receives credit. The terminal reward alone leaves the faulty steps unidentified.
Process labels need a criterion for each annotated step, and human and automated labeling procedures can disagree. The choice of step target, aggregation, and use affects the meaning of the final score.
Four design choices recur in the examples below.
- The labeling scheme: outcome versus process. This is about where labels attach.
- The scorer: a deterministic verifier versus a learned model. This is about how the score is computed.
- The aggregation: product, minimum, last step, or learned combiner. This is about how per-step scores become a trajectory score.
- The use: reranking, filtering, or reinforcement learning. This is about what the score is for.
Keep these choices distinct when interpreting experiments. Improving selected-answer accuracy under reranking does not establish the value of the same scorer as a training reward.
The Two Supervision Signals
Start with the source of the supervision signal.
A labeling scheme in which each complete trajectory receives a label that is a function of its terminal result. For this chapter’s answer-only examples, the criterion uses the terminal answer. Two trajectories with the same final answer receive the same outcome label even if one is a valid proof and the other is a lucky guess.
A labeling scheme in which a label attaches to an intermediate step. A rubric may use the prefix, a reference solution, or sampled continuations. Different papers attach different semantics to that label (correctness, estimated completion success, progress); the common structure is that supervision is attached to steps rather than only to the terminal result.
Either labeling scheme can provide a target for a learned grader. The downstream decision can be ranking, filtering or training.
The second distinction is about how the score is produced.
A deterministic program that checks a specified terminal criterion. It can substitute a proposed root into an equation, compare a canonical answer against a reference, or run a test suite. The check can be exact for its stated criterion even when that criterion is incomplete, as with a finite set of tests.
A learned function that predicts terminal success. Depending on its implementation, it can use the task context and a partial or complete candidate, or use the final answer alone. The predictions are approximate and need validation on the candidate population where the grader will be used.
In Training Verifiers to Solve Math Word Problems, Cobbe et al. trained their default grader to predict final-answer correctness after each solution token. At test time they used it to rank completed solutions. We call such a learned scorer a grader and reserve checker for deterministic code. If a reliable checker and its reference answer are available at deployment, check directly.
A deterministic checker can provide exact labels for its specified criterion. A learned grader estimates a target from data, and its predictions on one population do not establish reliability on a different population.
A step checker can validate a deduction encoded in formal rules. A process reward model (PRM) instead learns to score steps from labeled examples. A common input is the current step and its preceding text.
Formal checkers can enforce precisely represented rules. Informal reasoning steps often require human judgments or models trained to approximate them. Changes in the rubric or examples can change what a learned grader regards as a good step.
What a Process Label Measures
We will distinguish correctness, estimated completion success, and progress.
Step correctness. A human judges whether a step is justified in context. In Let’s Verify Step by Step, Lightman et al. report about 800,000 human step labels in their PRM800K release, with positive, negative, and neutral ratings. In their rubric, a technically valid but unhelpful step can receive a neutral rating. The labeling instructions also ask raters to consider whether the step advances the solution.
Under a fixed problem and rubric, step validity is independent of the policy used to produce continuations. Human annotations can still vary with how raters handle ambiguous steps.
Completion success. Fix the policy that generates the rest of a solution and the checker that judges the result. Sample continuations from the prefix after step . The fraction that end with a correct answer estimates that policy’s success probability.
where:
- estimates the probability that a continuation from the given prefix ends correctly under .
- is the positive number of continuations sampled from the prefix.
- is the -th continuation drawn from after the prefix.
- is 1 when its argument is true and 0 otherwise.
- is the policy used to generate the continuations.
This is the soft estimation rule in Math-Shepherd. Its hard rule marks a prefix positive if any continuation succeeds.
Computing rollout labels uses an answer check and sampled continuations from each prefix in place of human step labels. The estimated quantity depends on the continuation policy.
Progress (advantage). Keep the same policy, stopping rule, and answer checker. Let be the true probability of a correct final answer from a given prefix. For a deterministic prefix extension, subtract the probability before step from the probability after it.
Here is the state before the step and is the state after it. A positive means this step improved the completer’s true chance of success.
In Rewarding Progress, Setlur et al. define this advantage using a separate prover policy to evaluate the prefixes.
In practice, estimates progress from two sample proportions. A positive estimate can arise from sampling noise even when the true probabilities are equal.
The targets can disagree on the same step.
- A legal detour can preserve a route to the goal. Its true progress is zero if the completer has the same chance of success before and after the detour.
- A legal move can enter a dead end. There is no legal route to the goal from there, so a completer restricted to legal moves has zero chance of reaching it.
- An illegal jump can land in a state with a legal route to the goal. The route shows that recovery is possible. The completer still has to find it.
- An illegal jump can end on the correct answer. Local validity is 0 and terminal success is 1. The goal is reachable from itself by taking zero additional steps.
The same step can receive different labels under different criteria. Choose the target for the downstream decision.
The underlying success probability depends on the prefix, the completion policy and the answer check. For independent rollouts with the same success probability , the soft estimate has standard error . The hard label is positive with probability . For , that probability rises with . At or , the hard label is fixed and the soft estimate has zero standard error. Changing the completion policy can change the underlying target itself.
The soft estimate can be zero despite positive underlying success probability. With independent rollouts and , the soft estimate’s variance decreases as . The number of generated continuations grows linearly in .
The next figure plots the binomial standard error as a function of rollout budget and true success probability. At a fixed , quadrupling the number of independent rollouts halves that standard error.
PythonIn [2]Expand
import numpy as np
from book_plot_style import seed_book_plots
seed_book_plots()
k_grid = np.array([1, 2, 5, 10, 20, 50, 100, 200])
# Use success probabilities spread across the informative range so the four
# curves separate visibly instead of collapsing onto a near-flat 1/sqrt(K) band.
solvability_rates = np.array([0.05, 0.25, 0.50, 0.80])
stderr_curves = {
float(p): np.sqrt(p * (1.0 - p) / k_grid) for p in solvability_rates
}
# The small-K regime is made concrete by including p far from 0.5 (p = 0.05),
# whose binomial standard error is much smaller than that of mid-range p, so
# the curves are clearly separated rather than overlapping in a flat band.VisualizationOut [3]Expand

Local Validity and Goal Reachability
Local validity checks the move that was taken. Existential reachability asks whether any legal continuation reaches the goal. An estimate from rollouts measures how often a chosen policy finds a successful continuation.
- Local validity asks whether the step follows from the previous state by the rules.
- Goal reachability asks whether any legal continuation from the new state reaches a correct answer.
Legality and reachability can disagree in either direction. A legal edge can lead to a dead end, and an illegal edge can land on a route to the goal.
A branch that reads an undefined name can raise an error when executed. A test suite that never takes the branch can miss it. A legal move in a graph can lead to a node from which the goal is unreachable.
A step can be legal yet enter a dead end. An illegal jump can land in the goal. To require both lawful transitions and a correct terminal result, check both.
Math-Shepherd assigns labels from sampled completions. Its soft estimate is the frequency of correct answers, and its hard estimate asks whether any sampled answer was correct. The soft estimate measures policy success. Graph reachability in the example below is an existence test.
When evaluating a learned grader, record the step criterion used in training. For example, the labels for legal transitions and for targets that can reach the goal disagree on an otherwise legal transition into a dead end.
Ranking-Time Scores Versus Training-Time Rewards
The same score can be used in two very different ways, and the requirements are not the same.
Ranking time. Generate a fixed set of candidates, score each, and return the top one. A strictly increasing transform preserves this ranking, including ties in exact arithmetic. AUC averages positive-versus-negative ordering across a population, while best-of- depends on ordering near the top of each candidate set.
Adding a constant leaves score order unchanged. For positive scores, taking the logarithm also preserves order. Ranking on a fixed set needs a useful order; it does not require the scores to represent calibrated probabilities.
Training time. A score can determine which examples enter a training set or appear as a reward in an RL objective. Its scale can matter in the objective or with fixed thresholds. As an RL policy updates, its new candidates may occupy regions where the reward model had little training coverage.
A fixed-set reranker and an RL update expose the reward model to different selection effects. Reranking selects the proxy’s favored candidates from a fixed pool. RL can change the candidate distribution itself.
Evaluate rankings on the candidate sets you will see. For RL, also check behavior on fresh outputs from the updated policy against the intended objective.
Aggregating Step Scores
Suppose a PRM gives step scores for a trajectory of steps. Each score estimates how likely that step is to meet the chosen criterion given its prefix. To rank whole trajectories, reduce the sequence to a single score. Two reductions can give different rankings from the same PRM.
The most common options:
- Product: .
- Minimum: .
- Last: .
- Mean: .
- Learned combiner: a small model trained to map the score sequence to a trajectory label.
A smaller factor lowers the product when the other factors are fixed and positive. The minimum keeps the lowest score, and the mean weights every score equally. The last-step reduction keeps the final score, which can already reflect the prefix. A learned combiner fits the reduction from trajectory labels. Evaluate the choice against the behavior you want from the scorer.
Let mean that step meets the chosen criterion. Fix an observed trajectory for which the conditional law is defined. The chain rule factors the probability that all steps meet the criterion.
The first factor conditions only on . Each later conditional is defined while the earlier events have positive joint probability given . Once an earlier conjunction has probability zero, the full joint is zero and the remaining factors need no evaluation.
Multiplying the exact conditional probabilities gives the joint probability. Multiplying estimates of those factors gives an estimate of the joint. For marginal probabilities given , conditional independence given is sufficient. A prefix-based grader sees different inputs and generally has no information about the true labels of the preceding steps.
Lightman et al. ranked solutions by multiplying their step scores and counted neutral ratings as positive in the step scores. The probability that all steps are valid and the probability that the final answer is correct are different targets.
For scores in [0, 1], appending a factor cannot increase the product. If every step has the same score strictly between 0 and 1, a longer sequence receives a lower product.
PythonIn [4]Expand
import matplotlib.pyplot as plt
import numpy as np
lengths = np.arange(1, 11)
per_step_grid = [0.80, 0.90, 0.99]
product_curves = {p: p**lengths for p in per_step_grid}VisualizationOut [5]Expand

If every step gets 0.99, a four-step path scores 0.961 and an eight-step path scores 0.923. The difference comes entirely from the number of factors.
The minimum retains the lowest score. Last-step aggregation discards earlier scores, although the step model can still use the prefix to compute its final score. A mean can dilute a low score among many high ones.
For reranking, compare the selected candidates under several reductions on held-out data. For training, inspect fresh outputs from the updated policy to see whether the reward improved the intended behavior.
Worked Example
A ten-node graph gives us enough structure to check illegal shortcuts, legal dead ends, and the scores assigned by different reductions by hand.
The domain is a ten-node directed graph. A state is a node. A step moves from a node to a successor. The start is node 0 and the goal is node 9. A trajectory is a sequence from the start, which can contain illegal transitions; its answer is the node it ends on. The answer is correct if and only if the final node is 9.
0 -> 1, 2
1 -> 3, 4
2 -> 5, 6
3 -> 7
4 -> (none)
5 -> (none)
6 -> 8
7 -> 9
8 -> 9
9 -> (none)
Nodes 4 and 5 are dead ends: once you arrive, no legal move exists and the answer is wrong. Every other non-goal node can still reach 9.
Nodes 1 and 2 each have one successor on a route to the goal and one non-goal dead end. With enough steps left, a policy taking legal successors uniformly at random succeeds from node 1 with probability 1/2, even though node 1 can reach the goal.
We compute two step properties exactly. For a step from to :
- Locally valid: is a successor of in the graph.
- Reachable target means that a legal path from to 9 exists. Node 9 qualifies by the zero-length path.
For the toy model, a good step is a legal edge whose target can reach the goal. We compute both properties directly from the graph. A rollout-based label would estimate success under a specified continuation policy.
Now consider three candidates.
| Candidate | Path | Answer | Outcome | Step labels (valid / reachable / good) |
|---|---|---|---|---|
| A | 0 → 1 → 3 → 7 → 9 | 9, correct | 1 | (1,1,1), (1,1,1), (1,1,1), (1,1,1) |
| B | 0 → 1 → 4 | 4, wrong | 0 | (1,1,1), (1,0,0) |
| C | 0 → 1 → 4 → 9 | 9, correct by luck | 1 | (1,1,1), (1,0,0), (0,1,0) |
Candidate B’s second step is legal, but node 4 has no route to the goal. Candidate C’s final jump is illegal, yet it lands on the goal. The reachability label is 0 for B’s final step and 1 for C’s.
A reaches the goal through legal edges. B takes legal edges to a dead end. C reaches the goal by taking an illegal final edge.
Read each row of the grid as one step in one candidate path. The columns give edge validity, target reachability, and the conjunction of the two. All three labels come directly from the graph.
PythonIn [6]Expand
import numpy as np
candidate_step_rows = [
("A1", 1, 1, 1),
("A2", 1, 1, 1),
("A3", 1, 1, 1),
("A4", 1, 1, 1),
("B1", 1, 1, 1),
("B2", 1, 0, 0),
("C1", 1, 1, 1),
("C2", 1, 0, 0),
("C3", 0, 1, 0),
]
step_label_matrix = np.array(
[[v, s, g] for _, v, s, g in candidate_step_rows], dtype=float
)
step_label_ticklabels = [name for name, _, _, _ in candidate_step_rows]VisualizationOut [7]Expand

Suppose the step grader is decent but not perfect: it assigns 0.90 to a good step and 0.10 to a bad one. Then:
| Candidate | Verifier | Product | Min | Last |
|---|---|---|---|---|
| A | 1 | 0.9⁴ = 0.656 | 0.90 | 0.90 |
| B | 0 | 0.9 × 0.1 = 0.090 | 0.10 | 0.10 |
| C | 1 | 0.9 × 0.1 × 0.1 = 0.009 | 0.10 | 0.10 |
Read the columns. The verifier ties A and C at 1. It cannot see that C's last step is illegal. If you use the verifier as a training reward, you treat a hallucinated jump and a valid proof as equally good. If you use it for reranking, you are indifferent between them and will pick one arbitrarily.
The product ranks A above B and B above C under the stated step scores. Adding another 0.10 factor lowers C’s score despite its correct terminal result.
The minimum and last tie B and C at 0.10. For each of these aggregations, the one score it retains is identical across the two candidates.
The length effect also appears in a hypothetical eight-step candidate whose steps all score 0.90. Its product is , below the four-step score of 0.656. Both get 0.90 under the minimum and the last-step score. The toy graph has no legal eight-step route to the goal.
The outcome checker ties A and C, while all three step-score aggregations rank A first. The product also distinguishes B from C.
Product lowers C’s score for the additional 0.10 factor. Minimum and last both keep 0.10 for B and C. Choose based on whether the additional low score should affect the ranking.
From Labels to a Learned PRM
The hand-worked table used exact labels. In practice you have a learned model. We now build one on the same graph, estimate it from samples, and see which of the qualitative conclusions survive.
The careful policy samples legal successors uniformly. From node 0 it reaches the goal in four legal steps with probability one half at this budget. When a successor exists, the sloppy policy chooses the legal-successor branch with probability 0.7. Otherwise or on the random branch, it samples a node uniformly. A random jump can land on a legal successor. The guesser takes zero, one, or two legal steps before jumping to the goal in the default sampler. None reaches the goal through a fully legal path.
Careful and sloppy provide in-distribution examples. Guesser generates the shifted examples used to distinguish answer success from chain validity.
PythonIn [8]Expand
import pandas as pd
from sklearn.linear_model import LogisticRegression
from sklearn.metrics import roc_auc_score
START, GOAL = 0, 9
ADJ = {
0: [1, 2],
1: [3, 4],
2: [5, 6],
3: [7],
4: [],
5: [],
6: [8],
7: [9],
8: [9],
9: [],
}
NODES = sorted(ADJ)
OUT_DEG = {u: len(ADJ[u]) for u in NODES}
solvable = {u: False for u in NODES}
solvable[GOAL] = True
changed = True
while changed:
changed = False
for u in NODES:
if not solvable[u] and any(solvable[v] for v in ADJ[u]):
solvable[u] = True
changed = TrueConsoleOut [9]Expand
out-degree: {0: 2, 1: 2, 2: 2, 3: 1, 4: 0, 5: 0, 6: 1, 7: 1, 8: 1, 9: 0}
can still reach goal: {0: True, 1: True, 2: True, 3: True, 4: False, 5: False, 6: True, 7: True, 8: True, 9: True}The backward reachability confirms that nodes 4 and 5 are the only dead ends, exactly as the adjacency suggests.
Next, the sampler and the labeler. Every trajectory stores its path, its per-step labels under both semantics, and its outcome label.
PythonIn [10]Expand
def sample_candidate(rng, policy, max_steps=5):
path = [START]
for _ in range(max_steps):
u = int(path[-1])
if u == GOAL:
break
if policy == "careful":
if not ADJ[u]:
break
v = int(rng.choice(ADJ[u]))
elif policy == "sloppy":
if ADJ[u] and rng.random() < 0.70:
v = int(rng.choice(ADJ[u]))
else:
v = int(rng.integers(0, 10))
elif policy == "guesser":
if len(path) >= int(rng.integers(1, 4)):
v = GOAL
elif ADJ[u]:
v = int(rng.choice(ADJ[u]))
else:
v = GOAL
else:
raise ValueError(policy)
path.append(v)
if v == GOAL:
break
return path
def label_candidate(path):
steps = []
for u, v in zip(path[:-1], path[1:]):
valid_edge = v in ADJ[u]
solvable_target = solvable[v]
steps.append(
{
"u": u,
"v": v,
"valid_edge": int(valid_edge),
"solvable_target": int(solvable_target),
"good_step": int(valid_edge and solvable_target),
}
)
return {
"path": tuple(path),
"steps": steps,
"n_steps": len(steps),
"outcome": int(path[-1] == GOAL),
}We build three pools from a single seeded generator. The train and test pools mix careful and sloppy trajectories. The shift pool contains only guessers.
PythonIn [11]Expand
rng = np.random.default_rng(0)
def build_pool(policy, n):
rows = []
for _ in range(n):
rec = label_candidate(sample_candidate(rng, policy))
rec["policy"] = policy
rows.append(rec)
return rows
train_pool = build_pool("careful", 300) + build_pool("sloppy", 300)
test_pool = build_pool("careful", 300) + build_pool("sloppy", 300)
shift_pool = build_pool("guesser", 300)| pool | n | success_rate | mean_steps | |
|---|---|---|---|---|
| 0 | train | 600 | 0.577 | 3.537 |
| 1 | test | 600 | 0.548 | 3.633 |
| 2 | shift (guesser) | 300 | 1.000 | 1.933 |
The training and test pools contain fresh draws from the same policy mixture on the same graph. They do not share sampled records, but a complete path can recur in both pools.
Every guesser reaches node 9 through an illegal last edge. Earlier edges can be valid. The pool therefore has perfect terminal correctness with no fully legal chain. These are different endpoints, so the results depend on which endpoint you measure.
Two Learned Scorers
The outcome grader receives trajectory length, legal-edge fraction, fraction of steps landing on non-goal dead ends, and mean out-degree over step targets. It does not receive the final node as a feature.
The outcome grader does not receive the terminal node directly. Its inputs still summarize path length and graph-derived features. These can predict final-answer success on the held-out pool without estimating whether every step is valid.
PythonIn [13]Expand
def traj_features(rec):
steps = rec["steps"]
if not steps:
return np.zeros(4)
valid_frac = float(np.mean([s["valid_edge"] for s in steps]))
dead_frac = float(
np.mean([OUT_DEG[s["v"]] == 0 and s["v"] != GOAL for s in steps])
)
mean_deg = float(np.mean([OUT_DEG[s["v"]] for s in steps]))
return np.array([rec["n_steps"], valid_frac, dead_frac, mean_deg])
def step_features(s, i):
return np.array(
[s["valid_edge"], OUT_DEG[s["v"]], float(s["v"] == GOAL), i]
)The step grader sees the legality of the edge, the out-degree of the target, whether the target is the goal, and the index of the step. We fit both models with logistic regression on the training pool. The outcome model is fit on trajectory-level labels; the step model is fit on all individual steps.
Edge legality is an explicit input to the step grader. Out-degree and the goal indicator make the other part of its label directly inferable in this graph. The toy’s step-grader AUC measures performance on that deliberately simple task.
PythonIn [14]Expand
X_train = np.vstack([traj_features(r) for r in train_pool])
y_train = np.array([r["outcome"] for r in train_pool])
orm = LogisticRegression(max_iter=2000, C=0.05).fit(X_train, y_train)
step_X_train = np.vstack(
[step_features(s, i) for r in train_pool for i, s in enumerate(r["steps"])]
)
step_y_train = np.array(
[s["good_step"] for r in train_pool for s in r["steps"]]
)
prm = LogisticRegression(max_iter=2000, C=0.2).fit(step_X_train, step_y_train)PythonIn [15]Expand
def orm_scores(pool):
return orm.predict_proba(np.vstack([traj_features(r) for r in pool]))[:, 1]
def prm_step_scores(rec):
if not rec["steps"]:
return np.array([], dtype=float)
X = np.vstack([step_features(s, i) for i, s in enumerate(rec["steps"])])
return prm.predict_proba(X)[:, 1]
test_outcomes = np.array([r["outcome"] for r in test_pool])ConsoleOut [16]Expand
Outcome grader AUC on test: 0.96 Step grader AUC on test: 1.0
The cell reports AUC separately on held-out outcomes and step labels. The step grader receives edge validity directly and can identify dead ends from out-degree and a goal indicator. This deliberately simple target can be highly separable. Neither AUC estimates natural-language grading performance.
The outcome and step AUCs use different prediction targets. Their difference does not establish which aggregation will select the best completed path.
Reranking With Each Scorer
We now build five trajectory scorers and run best-of- on the test pool. Every sampled path has at least one transition. A path with zero transitions stays at the start, so the three PRM scorers return 0 for it.
PythonIn [17]Expand
def build_scores(pool):
scores = {"Verifier": np.array([r["outcome"] for r in pool], dtype=float)}
scores["ORM"] = orm_scores(pool)
prods, mins, lasts = [], [], []
for rec in pool:
p = prm_step_scores(rec)
if p.size:
product, minimum, last = (
float(np.prod(p)),
float(np.min(p)),
float(p[-1]),
)
else:
product, minimum, last = 0.0, 0.0, 0.0
prods.append(product)
mins.append(minimum)
lasts.append(last)
scores["PRM product"] = np.array(prods)
scores["PRM min"] = np.array(mins)
scores["PRM last"] = np.array(lasts)
return scores
test_scores = build_scores(test_pool)
shift_scores = build_scores(shift_pool)
def best_of_n(scores, outcomes, n_values, trials=400, seed=1):
rng_local = np.random.default_rng(seed)
curve = {}
M = len(outcomes)
for n in n_values:
hits = 0
for _ in range(trials):
idx = rng_local.choice(M, size=n, replace=False)
best = idx[int(np.argmax(scores[idx]))]
hits += int(outcomes[best])
curve[n] = hits / trials
return curve
n_values = [1, 2, 4, 8, 16, 32, 64]
curves = {
name: best_of_n(sc, test_outcomes, n_values)
for name, sc in test_scores.items()
}
# The ORM features omit the final node identity. The fit uses C=0.05.
# Report the measured curve for this feature and regularization choice.
# The fitted response at each budget is computed above.VisualizationOut [18]Expand

The answer checker’s rate depends on whether a sampled subset contains a goal-ending path. With these seeded draws, the product and minimum both reach 1.0 at budget 16, while the ORM reaches 1.0 at 64. Last-step ranking drops to 0.48 at 64. These rates summarize the synthetic trials. The next table uses a fresh set of sampled subsets to check how often the selected path also has a fully valid chain.
PythonIn [19]Expand
def selection_quality(scores, pool, n, trials=400, seed=2):
rng_local = np.random.default_rng(seed)
M = len(pool)
success, valid = 0, 0
for _ in range(trials):
idx = rng_local.choice(M, size=n, replace=False)
best = idx[int(np.argmax(scores[idx]))]
rec = pool[best]
success += rec["outcome"]
valid += int(
rec["outcome"] == 1 and all(s["good_step"] for s in rec["steps"])
)
return success / trials, valid / trials
N_FIX = 16
quality_rows = []
for name, sc in test_scores.items():
succ, valid = selection_quality(sc, test_pool, N_FIX)
quality_rows.append(
{"scorer": name, "success": succ, "correct_and_valid": valid}
)
quality = pd.DataFrame(quality_rows)| scorer | success | correct_and_valid | |
|---|---|---|---|
| 0 | Verifier | 1.000 | 0.608 |
| 1 | ORM | 0.955 | 0.238 |
| 2 | PRM product | 1.000 | 1.000 |
| 3 | PRM min | 1.000 | 1.000 |
| 4 | PRM last | 0.882 | 0.288 |
The table separates selected-answer success from selecting a correct answer on a valid chain. At a budget of 16, this table reuses the same 400 fresh subsets across scorers. In this run, product and minimum select correct, valid paths on every trial. Answer-only checking reaches the goal every time but selects a valid chain in about 0.61 of the trials. Both columns use all selections as their denominator.
Final-answer accuracy cannot distinguish selections that end at the same answer. If step validity matters, add a chain-level measure with a separate source of validity labels.
VisualizationOut [21]Expand

Reranking by Length Stratum
Length and terminal success are related in this pool. The table compares the same sampled subsets across scorers within three strata. It leaves out 9 of the 600 test paths. All nine are one-step paths that reach node 9 by an illegal jump. The 4+ band pools several lengths.
A length-stratified result answers a different question from overall performance. Inspect each stratum’s composition and sample size before attributing a difference to reasoning quality.
PythonIn [22]Expand
def selection_by_length(scores, pool, n=16, trials=300, seed=4):
rng_local = np.random.default_rng(seed)
bands = {
"2 steps": [i for i, r in enumerate(pool) if r["n_steps"] == 2],
"3 steps": [i for i, r in enumerate(pool) if r["n_steps"] == 3],
"4+ steps": [i for i, r in enumerate(pool) if r["n_steps"] >= 4],
}
rows = []
for band, idxs in bands.items():
if len(idxs) < 2:
continue
samples = [
rng_local.choice(idxs, size=min(n, len(idxs)), replace=False)
for _ in range(trials)
]
for name, sc in scores.items():
hits = 0
for take in samples:
best = take[int(np.argmax(sc[take]))]
hits += pool[best]["outcome"]
rows.append(
{"band": band, "scorer": name, "success": hits / trials}
)
return pd.DataFrame(rows)
length_table = selection_by_length(test_scores, test_pool)| scorer | ORM | PRM last | PRM min | PRM product | Verifier |
|---|---|---|---|---|---|
| band | |||||
| 2 steps | 0.917 | 0.83 | 0.0 | 0.0 | 0.917 |
| 3 steps | 1.000 | 1.00 | 1.0 | 1.0 | 1.000 |
| 4+ steps | 0.937 | 0.82 | 1.0 | 1.0 | 1.000 |
Any path with two or three steps that reaches the goal contains an illegal transition in this graph. A selector that prioritizes legal prefixes can therefore miss some terminally correct paths in these strata.
Calibration Under Policy Shift
The guesser pool comes from a policy excluded from training. Each path reaches the goal and contains an illegal jump.
In this run, the shifted pool has mean predicted success of about 0.602 against observed success of 1.000. The grader underpredicts success in the large. The shifted paths contain illegal edges, but the model uses several path features, so the mean gap does not establish that any one feature caused it.
PythonIn [24]Expand
calibration = pd.DataFrame(
[
{
"pool": "in-distribution",
"mean_predicted": float(np.mean(test_scores["ORM"])),
"observed": float(np.mean([r["outcome"] for r in test_pool])),
},
{
"pool": "shift (guesser)",
"mean_predicted": float(np.mean(shift_scores["ORM"])),
"observed": float(np.mean([r["outcome"] for r in shift_pool])),
},
]
)VisualizationOut [25]Expand

The difference between the mean prediction and the observed success rate measures calibration in the large. Close means do not establish calibration across the score range. Here the shifted pool always reaches the goal and has a higher observed success rate than its mean predicted probability.
Because every guesser trajectory ends at node 9, final-answer correctness gives these candidates identical labels. Measure legal transitions separately.
Gao et al. trained a proxy from a fixed gold reward model and measured gold score as optimization pressure increased. They found different empirical curves for RL and best-of- in that synthetic setup.
Reward Hacking and Overoptimization
For this stress test, draw 200 fresh subsets per budget from the same test pool. Rank candidates using the final step’s PRM score and record that score and the terminal success label for each selection. A high last-step score does not require a complete path to the goal: a valid transition into a solvable intermediate node can also score well.
A valid step can end on an intermediate node without providing a correct final answer. Optimizing the last step’s score can therefore select unfinished trajectories, even with a well-fit step model.
PythonIn [26]Expand
overopt = {"n": [], "proxy": [], "true": []}
rng_opt = np.random.default_rng(3)
for n in [1, 2, 4, 8, 16, 32, 64, 128, 256]:
proxies, truths = [], []
for _ in range(200):
idx = rng_opt.choice(len(test_pool), size=n, replace=False)
best = idx[int(np.argmax(test_scores["PRM last"][idx]))]
proxies.append(float(test_scores["PRM last"][best]))
truths.append(int(test_pool[best]["outcome"]))
overopt["n"].append(n)
overopt["proxy"].append(float(np.mean(proxies)))
overopt["true"].append(float(np.mean(truths)))VisualizationOut [27]Expand

At budget 64, last-step ranking returns a correct answer in 0.575 of the stress-test trials. The earlier 400-trial sweep gives 0.480 at the same budget on a different set of sampled subsets. At budget 256, last-step selection mostly returns paths ending at nodes 1 and 2. Those paths can end with a good step even though they never reach the goal. The expected maximum score increases weakly with subset size under uniform sampling without replacement. Finite estimates made with independent draws do not have to be monotone.
A scorer can be accurate on its own step label yet make a poor trajectory reward after reduction. Evaluate the aggregation against the selected-answer or chain-level behavior it should support across the budgets you plan to use.
Limitations and Impact
The strongest empirical claims in this area come from a small set of primary papers, and it is worth stating what each does and does not establish.
Uesato et al. report similar final-answer error rates on GSM8K for process-supervised fine-tuning and few-shot RL trained directly on final-answer correctness. Among correct-answer traces, they report trace error rates of 11.4% and 19.8%, respectively, with majority voting. In a separate comparison using ORM reranking, replacing the direct final-answer training signal with a learned outcome grader reduced trace error from 12.4% to 5.5%.
Lightman et al. report that PRM and ORM reranking solved 78.2% and 72.4%, respectively, at best-of-1,860 on their MATH test subset. The two reward models used different training sets.
Wang et al. used automatically constructed step labels with a rollout completer and evaluated the resulting scorer for reranking and stepwise PPO. The reported gains apply to the models and tasks evaluated.
Setlur et al. report improvements for search and online RL in experiments using a separate prover policy to define stepwise progress.
Cobbe et al. found that learned verification improved candidate selection on GSM8K. In the RLHF experiments of Singhal et al., PPO with a length-only reward and a KL penalty reproduced much of standard PPO’s gain in simulated preference win rates against a supervised fine-tuning baseline.
The studies show that process feedback can improve some math results and that outcome accuracy can miss invalid intermediate reasoning. Assess label reliability, cost, and evaluation under distribution shift separately.
The limitations are worth listing explicitly, because they are where practitioners get hurt:
Label cost and disagreement. Human labeling may need a decision per step, and rollout labeling uses sampled continuations per selected prefix. You can use one rollout, in which case both estimates equal the result of that single answer check. Keep the annotations for ambiguous steps and the rater instructions so you can see which judgments a grader learned.
Label semantics. Correctness, estimated completion success, and improvement in success probability are different targets. Compare graders against the target they were trained to predict as well as the downstream decision.
Aggregation bias. Every aggregation we discussed has a bias:
- product falls with length when the common step score is fixed between zero and one
- min toward the worst step
- last toward the ending
- mean toward dilution
There is no neutral choice. If you do not measure the bias on your own distribution, you inherit it silently.
Calibration under shift. Evaluate predictions on data produced by the current policy. A test from the training distribution cannot establish calibration on another policy.
Length and other correlates. Report performance within length ranges when length is related to both model scores and correctness. A learned model may lose accuracy if it relies on a correlation that changes at deployment.
Benchmark contamination. Disclose possible overlap between evaluation and training material. Use fresh problems, and assess whether selected reasoning remains valid beyond reproducing an answer.
Checker coverage. Checkers can verify specific properties such as a substituted root, test results, or a formally encoded proof. An accepted check provides evidence only for its criterion.
Choose outcome, local validity, estimated continuation success, or progress according to the decision. A tutor that displays a derivation needs evidence about its steps even when a checker can verify the final answer cheaply.
Summary
Outcome supervision derives labels from the terminal result. Process supervision attaches labels to intermediate steps. The grader and how its score will be used are separate choices.
A deterministic checker verifies its specified terminal criterion. A learned outcome grader estimates a success target from data. Validate the estimate on the candidates where it will be used.
PRM800K contains human step labels. Math-Shepherd estimates continuation success using a completer and answer check. Rewarding Progress measures the change in success under a separate prover. These targets can disagree on the same step.
A legal transition can lead to a dead end. An illegal jump can land directly on the correct answer. Track terminal success and chain validity separately when readers or downstream systems will rely on the derivation.
Product, minimum, and last-step scoring preserve different information. The exact chain-rule factors multiply to the joint probability. Estimates of the factors give an estimate of the joint. At a fixed per-step score between zero and one, the product falls with each additional step. Evaluate the reduction at the intended search budget.
A strictly increasing transform preserves rankings on a fixed candidate set. Reward scale, thresholds, and policy changes can affect training behavior. Test the scorer in the role in which you will use it.
The shifted pool illustrates a gap between mean predicted success and observed success. It also illustrates why final-answer success does not measure chain validity.
The last-step experiment shows how increasing search pressure can select higher proxy scores and less successful answers. Check the outcome you care about on fresh candidates, and sweep candidate budget and length.
The studies reported improvements in particular math evaluation and training settings. Choosing a process label still requires checking how the labels, aggregation, and downstream use fit together.
Quiz
Ready to test your understanding? Take this quick quiz to reinforce what you've learned about outcome and process reward models.
Outcome and Process Reward Models
Join the discussionAsk a question or share what you learned.
Keep exploring
Reference
Citation details
Cite or share this article.


Comments
Add to the conversation
A question, a correction, or an example from your own work.
No comments yet. Be the first to share your thoughts!