Unit 4 of 9 · about 4 hours · explain
Outcome, process and generative reward models
One terminal score cannot say which step failed. Choosing outcome, process or generative feedback decides where credit lands and what annotation bill you pay.
You'll be able to
- Explain what outcome, process and generative reward models predict, which tokens or steps carry labels, and how scores aggregate.
- Explain sparse terminal credit versus step credit with the discounted-return arithmetic.
- State when step supervision is worth its annotation cost and what a step boundary must define before labeling.
Covers
Read
In this order, only the parts listed
0 of 3 done
- Outcome, process and generative reward modelsRLHF Book - Reward Models, Preferences and Evaluation
Outcome Reward Models (per-token outcome loss and the sequence cross-entropy form); Process Reward Models (per-step loss, separator labels, 3-class head); Comparing Reward Model Types with the summary table and the ORM versus value-function distinction; Inference Across Reward Model Types (aggregation choices); Generative Reward Modeling (judge prompt, temperature 0 practice)
- Process versus outcome supervision on MATHLet's Verify Step by Step
arXiv:2305.20050v1, Sections 1 to 3 (outcome versus process supervision, active learning) with the MATH comparison and the released PRM800K step labels
- Outcome versus process rewards with hand recomputationHands-on Modern RL - RLHF Evaluation and Process Rewards
Sections 1 to 4: sparse-reward masking, discounted return with , GAE and token-level loss limits, ORM and PRM definitions with aggregation, and the three-condition test for needing process reward (page read 2026-10-14)
Recompute the discounted weights by hand and check them against the page: for the first step, then 0.66, 0.73 and 0.90 for the later steps it names.
Focus on
- An outcome model broadcasts one binary outcome label to every completion token and trains binary cross-entropy there. A process model trains only at step boundaries, such as separator tokens, with correct, neutral and incorrect classes.
- With only a final reward of 1 and over nine steps, early steps get weights down to . Distance discounting punishes early assumptions even when they determine everything downstream.
- Aggregation is a decision, not a default. Outcome scores aggregate by mean, minimum or product, and process scores aggregate over steps by mean, minimum or late-weighted sums.
- A pairwise model trained on correct versus incorrect pairs is still a Bradley-Terry contrastive model. An outcome model needs independently labeled sequences without same-prompt pairing.
Common mistakes · 3
- Reading outcome per-token outputs as step-correctness scores. Every token repeats the outcome label, so reasoning errors that still reach the right answer are reinforced, not flagged.
- Treating token-level policy losses as process supervision. Per-token weighting still starts from one terminal signal with no independent judge of each step.
- Buying step labels before defining steps. Equation transforms, code edit-compile-test cycles and tool calls are stable boundaries; token counts are not.
Try it yourself
Closed-book, before checking anything
Quiz yourself
Answer first, then mark it. Missed ones go to Review.
0 got · 0 missed
1.How do outcome models and value functions differ if both emit per-token numbers?Answer
Outcome models predict the probability of final correctness from fixed offline labels broadcast to every token. Value functions predict remaining return, usually from on-policy rollouts, and serve as baselines in advantages.
2.A proof reaches the right conclusion through a wrong step 6. What does outcome-only training reinforce?Answer
Everything: the correct prefix, the wrong step and the conclusion share one terminal reward, so the error is reinforced alongside the good reasoning.
3.When is process reward worth its annotation cost?Answer
When steps have stable meaning, intermediate errors propagate and waste budget, and the step judge is more reliable than the generator. Short answers with cheap resampling usually fail this test.
4.What did the step-by-step paper report on MATH, and under which setup?Answer
Process supervision beat outcome supervision on MATH problems with 78 percent solved on a representative test subset, using the paper's candidate generation and best-of-n reranking setup with 800,000 released step labels. It is the paper's result on its setup, not a transferable constant.
Practice
- Hands-on Modern RL 17.1: discounted-return hand recomputation
Section 2.1 with over the nine-step proof: recompute every step weight and state which step the distance rule undervalues most (page read 2026-10-14)
Runs on CPU. The first step should come out near 0.43 and the erroneous sixth step near 0.73.
- RLHF Book Suggested Experiment 2: outcome versus process supervision
Run
uv run python -m reward_models.train_orm --config reward_models/configs/orm.yamlanduv run python -m reward_models.train_prm --samples 500 --epochs 2, then state which model scores final answers and which scores intermediate stepsNeeds your GPU. For an offline run set
use_wandb: falsein a copiedorm.yamland runuv run python -m reward_models.train_prm --samples 500 --epochs 2 --no-wandb. Compare what each trained head can score: final-answer correctness versus step correctness.
You're done when
You can label any new supervision scheme as outcome, process or generative, write its loss and label positions, and defend or reject step labels for a new task with the three-condition test.
Only when you can do this without notes.
Leads to
Notes
Resources · 3 for this unit, 7 more in the section
- RLHF Book - Reward Models, Preferences and EvaluationNathan Lambert · primary
Study Chapter 5 (reward modeling: Bradley-Terry loss, outcome, process and generative reward models), Chapters 10 and 11 (preferences and preference data), Chapter 14 (over-optimization) and Chapter 16 (evaluation). Implement the pairwise reward loss, compare outcome, process and generative reward roles, and build an adversarial feedback audit covering preference bias, reward shift and overoptimization.
- Let's Verify Step by StepLightman et al. (2023) · support
Read how process supervision labels steps, how the process reward model scores a solution and how outcome and process supervision compare under best-of- selection. Define step boundaries for your own task before training any process scorer.
- Hands-on Modern RL - RLHF Evaluation and Process RewardsWalking Labs · support
Use the outcome-versus-process page (its discounted ORM and PRM returns are worth recomputing by hand) and the process-reward and search chapter as an implementation map for verifier tests. Check claims against the original sources. Pin commit 9231bab of walkinglabs/hands-on-modern-rl; its
code/chapterNNfolders do not follow the site chapter numbers.
Also in this section
- RLHF Book Course - Lectures 2, 8 and 9Nathan Lambert · required
Use Lecture 2 (instruction tuning, reward models and rejection sampling), Lecture 8 (preferences and preference data) and Lecture 9 (over-optimization). Reproduce the reward-data-to-score path and keep rejection sampling as a non-RL selection baseline for later online optimization.
- Deep Reinforcement Learning from Human PreferencesDeepMind and OpenAI · required
Study the preference-query, reward-learning and policy-optimization loop. Reproduce a tiny preference model or simulator and measure how label noise or policy shift changes reward accuracy and control quality.
- Scaling Laws for Reward Model OveroptimizationGao, Schulman and Hilton (ICML 2023) · required
Read the gold-reward setup and the proxy-versus-gold curves for best-of- and RL as the KL distance grows. Reproduce the shape at toy scale: a small proxy reward model, a known gold reward and best-of- selection.
- Learning to Summarize from Human FeedbackStiennon et al. (NeurIPS 2020) · support
Read the reward-model and policy-training protocol, the KL penalty and the length analysis. Use it as the first full example of a reward model trained on comparisons and then optimized against.
- Constitutional AI: Harmlessness from AI FeedbackAnthropic · support
Study supervised self-critique, AI preference feedback and RL from AI feedback. Implement a bounded rubric-conditioned comparison exercise and test judge correlation and principle ambiguity rather than reproducing the full pipeline.
- Stanford CS224R 2026 - Reward LearningStanford University · support
Study Lecture 08 (reward learning,
slides/08_cs224r_reward_learning_2026.pdf) with its Christiano et al. reading, and Section 1.2 of the default project guidelines for preference and verifier datasets. Use fixed chosen and rejected examples and a hidden adversarial split; write independent implementations. - LLM Post-Training Laboratory - Reward and Adversarial EvaluationRoadmap-Final · required
Complete the pairwise reward model, held-out and calibration analysis, deterministic verifier, judge-bias audit, reward-hacking probes and the required case where proxy reward improves while independent behavior worsens.