DPO (Direct Preference Optimization) is an alignment method that removes the need for a reward model and RL. Key insight: RLHF's reward model implicitly defines an optimal policy; DPO substitutes that closed-form solution back into the objective, the partition function
Z(x) cancels out, and training becomes supervised on preference pairs (chosen/rejected), with a loss that only depends on the policy/reference probability ratio.