Unit 9 of 9 · about 4 hours · measure
Independent evaluation, adversarial tests and reward governance
Training reward always votes for itself. Release needs independent evidence plus written rules for when evidence forces a rollback or stops collection.
You'll be able to
- Separate train reward from independent task, human and safety evaluation with a frozen regression set and blinded review.
- Build adversarial completions and hidden verifier tests that the policy never trains on.
- Write governance rules: ship thresholds, rollback triggers and collection stop rules.
Covers
Read
In this order, only the parts listed
0 of 3 done
- Evaluation eras, unreliability and contaminationRLHF Book - Reward Models, Preferences and Evaluation
Why Many External Evaluation Comparisons Are Unreliable (prompt, sampling and inference-budget sensitivity); How Labs Actually Use Evaluations Internally; Contamination (n-gram overlap probes, UltraFeedback, Evol-CodeAlpaca, NuminaMath and WildChat overlaps, perturbation limits)
- Three-layer evaluation with acceptance and monitoringHands-on Modern RL - RLHF Evaluation and Process Rewards
A Three-Layer Evaluation Stack; Per-Stage Metrics; Training-Time Monitoring checkpoint table; Minimum Acceptance Criteria; Manual Review rubric (page read 2026-10-14)
Use the acceptance numbers as course guardrails to implement and tighten, not as industry standards.
- Frozen blinded evaluation with reproductionLLM Post-Training Laboratory - Reward and Adversarial Evaluation
Milestone F (frozen policies, blinded clean, adversarial and shift evaluation, clean-state reproduction, prespecified extension) and Measurement requirements (paired and seed uncertainty with all attempts preserved)
Focus on
- Answer three questions together, building on Task contracts and automatic metrics: users prefer it, capabilities did not regress, and the reward was not fooled. Benchmarks, preference and manual review each catch what the others miss.
- Freeze prompts, decoding and order. Win rates compare only under identical judges, prompts and settings, and small samples need intervals plus manual review of key claims.
- Treat contamination probes as bounded evidence, building on Contamination and memorization. Overlap search misses paraphrases and format shifts, and perturbed-variant variance suggests format training without proving contamination.
- Write the stop rules before training: ship thresholds, rollback triggers and collection halts. A checkpoint with rising reward, falling regression scores and growing length is a rollback, not a debate.
Common mistakes · 3
- Quoting verifier pass rate as complete evaluation. Verifiers cover checkable slices only; safety, honesty and open-ended quality need independent human and task evidence.
- Comparing win rates across different judges or prompts. Rates are comparable only under matched prompts, judges, decoding and item sets.
- Reading a clean overlap probe as proof of clean data. Probes miss transformed content while boilerplate triggers false matches, so review matches and bound the claim.
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.Which three questions must release evaluation answer at once?Answer
The model is more aligned with preferences, general and specialized capabilities did not regress, and high-reward responses are truly high quality rather than hacked.
2.A checkpoint shows reward 0.45, KL 0.18, mean length 330, distinct-4 0.51, regression 0.70 and win rate 49 percent against SFT. Ship or roll back?Answer
Roll back. Reward rose while the regression set fell, length grew, diversity collapsed and the win rate sits below half, which matches the suspected-hacking row pattern.
3.What are the limits of an n-gram contamination probe?Answer
It misses paraphrased, translated and reformatted reuse while flagging common boilerplate. High variance on perturbed variants indicates format sensitivity, not proven contamination.
4.State a minimal governance bar for an RLHF-versus-SFT comparison.Answer
The Hands-on course guardrails: preference win rate above 55 percent with a manual explanation, regression at 95 percent of SFT or better, mean length within 1.3 times SFT, no repetition surge and no safety regression; anything worse rolls back into the flywheel.
Practice
- Hands-on Modern RL 13.6 Exercises: regression set and win-rate arithmetic
Exercises 1 and 2: design a 30-prompt regression set across format, reasoning, factual, safety and quality slices, then compute win rates with ties as half-wins (page read 2026-10-14)
Runs on CPU. Freeze the set, seeds and decoding before scoring; report sample sizes with every rate.
You're done when
You can freeze a regression set, score a checkpoint row against written thresholds, and issue a rollback with the adversarial evidence that forced it.
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.
- 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. - 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.
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.
- 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.
- 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.