Preference Optimization: RLHF, DPO & Variants

Generative & Agentic AI · Advanced: Training at Scale · Master · 28 min

Go beyond the overview: train a reward model, run PPO with a KL leash, derive and compute the DPO loss from preference pairs, place IPO, KTO, ORPO and SimPO, and spot reward hacking and bad preference data.

This lesson is part of TuringPath Pro. See plans.

What you will learn

  • RLHF up close: reward model, PPO and the KL leash
  • DPO: the reward model hiding inside the policy
  • The variant family, one line each
  • Reward hacking and preference data quality

More in Advanced: Training at Scale

Previous: Synthetic Data & Knowledge Distillation · Next: Evaluating AI Agents: Outcomes, Trajectories & Reliability