Unit 1 of 9 · about 4 hours · explain
Feedback types, policy-dependent collection and target-preference definition
Every reward model inherits the feedback it was fed. Vague target preferences and off-policy pairs mistarget all later optimization, no matter how good the loss is.
You'll be able to
- Explain how demonstrations, comparisons, rankings, ratings and critiques differ as training signals and which pipeline stage each one feeds.
- Explain why preference pairs should come from the current model family and what breaks when collection is off-policy.
- Define a target preference for a task: whose judgments count, under which rubric, and how ties and disagreement are handled.
Covers
Read
In this order, only the parts listed
0 of 4 done
- Preference data collection practicesRLHF Book - Reward Models, Preferences and Evaluation
Collecting Preference Data (on-policy data and the chosen answer as relatively better); Interfaces; Rankings vs Ratings with the 5-point and 8-point Likert scales; Multiturn Data; Structured Preference Data; Sourcing and Contracts; Bias: Things to Watch Out For; Open Questions in RLHF Preference Data
- Why preferences replace correctnessRLHF Book - Reward Models, Preferences and Evaluation
When Preference Replaces Correctness (the goldfish poem pair); Complexity of Optimizing Preferences (preference drift, aggregation limits)
- Preference elicitation and query selectionDeep Reinforcement Learning from Human Preferences
arXiv:1706.03741v4, Sections 2.2.2 to 2.2.4 (segment-pair elicitation, reward fitting, query selection) and Section 3 (Atari and robotics results)
- Lecture 8 on preferences and preference dataRLHF Book Course - Lectures 2, 8 and 9
Lecture 8: On Preferences and Preference Data (Chapters 10 and 11); full lecture video on the course page https://rlhfbook.com/course
Focus on
- On-policy means pairs drawn from the current model family. Different models have different generation patterns, so pooled third-party completions miss the regions the policy will actually visit.
- The chosen answer is better relative to the shown alternatives, not globally correct. All compared completions can be correct, or all incorrect, and the pair still teaches.
- A Likert integer records a ranking between shown responses, which differs from a rating of one response alone. An even scale such as the 8-point form removes ties, and the result is still binarized for reward training.
- Multiturn collection continues from the chosen answer, unrolls every turn into its own prompt, and masks all previous turns from the loss. Structured domains build pairs automatically but the constraint must stay inside the prompt.
Common mistakes · 3
- Reading chosen as correct. A preference pair orders two outputs; correctness needs a verifier, which arrives in a later unit.
- Treating on-policy as the exact current checkpoint. The book uses it softly for the current model family, which is stricter than pooled data but looser than per-update sampling.
- Assuming vendor data matches downstream users. Professional labeling settings, interfaces and repetition shift preferences, so audit transfer instead of assuming it.
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.Why should preference pairs come from the current model family rather than a pool of popular third-party outputs?Answer
Each model family has its own generation patterns. Training on pooled outputs teaches distinctions in regions the policy never visits and misses the regions it will visit, so optimization pressure lands in the wrong place.
2.What does the 8-point Likert scale remove, and what happens to its labels at training time?Answer
Its even scale removes the tie option. The labels are still reduced to a binary chosen and rejected signal for reward-model training.
3.Can a well-labeled pair teach anything when both completions are factually correct?Answer
Yes. The label records which response is clearer, safer or more helpful relative to the other, and the reward model learns that ordering.
4.How is multiturn preference data turned into training prompts?Answer
Each turn becomes one prompt that continues from the chosen answer, and every previous turn is masked from the loss so only the judged turn teaches.
Practice
- Hands-on Modern RL 13.4 Exercises: SFT and preference items for one prompt
Exercises, item 1: design an
sft_itemand apreference_itemfor the same prompt (page read 2026-10-14)Runs on CPU. State the target preference, the rubric and the tie policy alongside the two records.
You're done when
You can state the target preference, the feedback-type mix and the collection plan for a new task, and your paired records pass the page exercise without leaking evaluation prompts.
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.
- 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.
Also in this section
- 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. - 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.