Process Supervision and Behavioral Specifications › Two Kinds of Supervision

Michael BrenndoerferNovember 29, 20267 min read
Language AI HandbookAll chapters
Part 38 of 67Scalable Oversight and Safety Training
Chapter 290Process Supervision and Behavioral Specifications › Two Kinds of Supervision
Reading section 2 of 9 · Two Kinds of Supervision · 7 minSection 2 of 9 · 7 min

Section 2 of 9 · 7 min read

Reading settings

Definitions

Choose how many terms have tooltips.

Article links

Make inline references clickable

Notes & comments

Outcome supervision

Outcome supervision grades the endpoint. For a math problem, the endpoint is the final answer, and the label is right or wrong. For a coding task, the endpoint is a diff that does or does not pass a test suite. For a chat model, the endpoint is a completion that a human or a model prefers.

One way to use outcome labels is to fit a predictor from complete responses. Let xx denote the prompt, yy the complete response, and rr a scalar label such as 0 or 1 for final-answer correctness. A model RϕR_\phi with parameters ϕ\phi can learn to approximate the mean label for responses with those inputs:

Rϕ(x,y)  ≈  E[r∣x,y]R_\phi(x, y) \;\approx\; \mathbb{E}[r \mid x, y]

For example, squared-error regression targets this conditional mean. Pairwise preference data require a different objective. In InstructGPT, raters compared complete responses. A reward model predicted preferences from differences in its scores, and PPO used the fitted score as part of the reward. The model's terminal score supplies no direct feedback on a particular intermediate step. Ouyang et al., §3.5

The Bradley-Terry model compares two supplied completions for the same prompt xx. When a rater prefers ywy_w to yly_l, the training objective favors a large value for the modeled probability of that preference.

Pϕ(rater prefers yw∣x,yw,yl)  =  σ(Rϕ(x,yw)−Rϕ(x,yl))P_\phi(\text{rater prefers }y_w \mid x, y_w, y_l) \;=\; \sigma\big(R_\phi(x, y_w) - R_\phi(x, y_l)\big)

Here σ(z)=1/(1+e−z)\sigma(z)=1/(1+e^{-z}) is the logistic sigmoid. It turns the score difference into a preference probability. Adding a common constant to both scores leaves their difference and the probability unchanged. Multiplying both scores by a positive constant preserves the order but generally changes that probability. A raw threshold such as 4 therefore requires a defined score reference. Ouyang et al., §3.5, Equation 1

An existing deterministic verifier can supply outcome labels without collecting a new human annotation for each response. The tradeoff is credit assignment. The verifier can identify an incorrect final answer without telling you which step first went wrong.

Consider an arithmetic derivation in which two sign errors cancel. The final-answer label can be correct even while the intermediate arithmetic is wrong. To detect that in training or evaluation, collect evidence about the intermediate work.

A compiler or an exact answer matcher can give a deterministic label for its own acceptance criterion. The criterion can still be incomplete. Code that compiles can fail a functional test, and an answer matcher can reject an equivalent representation. Preference labels add variation in how raters interpret quality. Both the validity of the endpoint and the cost of intermediate labels matter when choosing how to supervise a task.

Process supervision

Process supervision grades intermediate steps. Lightman et al. released 1,085,590 step-level labels as PRM800K. They used about 800,000 labels after excluding quality-control labels and incomplete labeling tasks. Their process reward model (PRM) scores the last step of a partial solution from that step and its prefix. Lightman et al., Appendix B

Rϕ(x,s1,…,sk)  →  a score for step sk given the prefixR_\phi(x, s_1, \dots, s_k) \;\to\; \text{a score for step } s_k \text{ given the prefix}

A PRM can rank NN complete candidate solutions by aggregating its step scores. Lightman et al. used the product as their main reduction and also tested the minimum. The aggregate is a model score used to rank candidates. To interpret the product as the probability that every step is correct, hold the problem and candidate solution fixed. For each step, use the probability that it is correct given that all preceding steps are correct, while that conditioning event has positive probability. If the event that all preceding steps are correct has probability zero, the joint probability for the full solution is zero and later conditional factors are undefined. Conditioning a model on the text of the prefix does not establish the required correctness condition. Lightman et al., §2 and Appendix F.2

Lightman et al. trained the PRM to predict labels for steps from the problem and prefix. Their protocol distinguished positive, negative, and neutral labels. A correct, reasonable step could be neutral when it was technically valid but did not advance the solution. Positive steps made progress toward the solution. In Phase 2, raters stopped at the first negative step. Lightman et al., §2.4 and Appendix D

Consider chains of three steps scored 0.80.8 and two steps also scored 0.80.8. Both minima are 0.80.8. Their products are 0.5120.512 and 0.640.64, so the product ranks the shorter chain higher. A product penalizes a single low score and can also penalize several moderately uncertain steps or a longer chain. Choose a reduction with the decision you need to make in mind.

In the MATH experiments, Lightman et al. reported better best-of-NN selection under the process supervision setups they evaluated. In the GSM8K comparison by Uesato et al., pure outcome-based supervision produced similar final-answer error with less label supervision, while process-based feedback helped with step correctness. The tasks and training setups differ. Math-Shepherd generated intermediate labels by sampling completions from a prefix and scoring the final outcomes. OmegaPRM collected process data with a divide-and-conquer tree search. Both approaches reduce reliance on manual step labels and still depend on the completer and outcome verifier. Lightman et al. Uesato et al. Wang et al. Luo et al.

For one common automatic labeling rule, you record the fraction of sampled continuations that pass. It estimates the success probability for that prefix under the particular continuation policy and verifier. If all sampled continuations fail, that estimate is zero even when another policy could find a valid continuation. A prefix may receive a low score because the completer rarely takes the paths it admits.

A process reward model learns from its training labels. Systematic errors in those labels can become systematic errors in the model. When the score becomes a training target, a policy can improve the proxy without improving the intended behavior. Gao, Schulman, and Hilton studied this effect with a synthetic setup in which a fixed model provided the reference score. Their experiment demonstrates a failure mode, rather than a universal reward curve for every PRM. Gao, Schulman, and Hilton

A learned score cannot identify a violated policy clause unless the system separately records such a mapping. Keep the versioned specification alongside the evaluation results so a reviewer can trace an exact finding back to the obligation it tests.

Where the specification fits

A behavioral specification is neither of these. It is a document:

In the prod environment, no execute step may occur unless an escalate step precedes it.

You can version this clause, translate it into a predicate, and run the predicate against a logged trace. A learned checkpoint can also be versioned and evaluated. The authored clause tells reviewers which obligation the predicate implements.

A norm describes what should happen. Observations can tell you how often the recorded traces satisfy it. Deciding whether the rule serves the intended goal also requires judgment or outcome evidence.

You can translate a behavioral specification into executable checks when the rule observes fields available in the trace. Mu et al. used rules with a language-model grader to construct a training reward. Guan et al. trained models to recall and reason over safety specifications. These approaches share a written target. Their checks rely on different evidence and offer different guarantees. Mu et al. Guan et al.

A reproducible trace gives you a concrete place to inspect an exact check. For a learned judge, inspect per-example predictions alongside the aggregate score so rare errors remain visible.

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!

Newsletter

Stay up to date

Get new articles, book updates, and notes on AI and technology.

Unsubscribe at any time. Privacy policy