Skip to content
mentoor

Preference and RL tuning

For engineers

RLHF, DPO, AI feedback and reinforcement learning with verifiable rewards, plus the reward hacking each method invites and how to choose among them

See where you stand

110 questions across four stages: Understand, Apply, Solve and Judge.

Try 5 questions

Practice items, not counted towards your mastery. No account needed.

Check yourself · 1 of 5

What does the KL penalty in RLHF do?

Choose one answer

Check yourself · 2 of 5

What does DPO train on?

Choose one answer

Check yourself · 3 of 5

In Constitutional AI, what plays the role of the human labeller for preference pairs?

Choose one answer

Check yourself · 4 of 5

Why is a unit-test reward often harder to exploit than a learned reward model?

Choose one answer

Check yourself · 5 of 5

In reinforcement learning from a learned or coded reward, what does reward hacking mean?

Choose one answer

Topics

  1. RLHF with reward models5 min read · Collect ranked answer pairs, train a reward model, then optimise the policy with PPO and a KL penalty that keeps it near the starting model
  2. Direct preference optimization with pairs5 min read · DPO and its relatives learn from chosen and rejected answers without a separate reward model, and depend on good pairs and a reference model
  3. AI feedback and constitutional methods5 min read · Using models as labellers against written principles, as in RLAIF and Constitutional AI, to scale preference data, and the biases a judge model adds
  4. RL with verifiable rewards5 min read · Rewarding answers that pass unit tests or match checked math results, with GRPO and similar methods behind today's reasoning models
  5. Reward hacking and over-optimization5 min read · Models exploit weak rewards through length bias, flattery or special-casing tests, so held-out evals and reading samples are essential
  6. Choosing among SFT, DPO and RL5 min read · Cost, data needs, stability and tooling of each tuning method, and which kind of problem each one fits best

Start here

110 questions · last verified 2026-12