AI Glossary Term

What does “DPO (Direct Preference Optimization)” mean?

Definition

A training method that fine-tunes models directly on preference pairs without needing a separate reward model.

How DPO (Direct Preference Optimization) works

Diagram for DPO (Direct Preference Optimization) comparing RLHF (Train reward model, Run reinforcement learning) versus DPO (Train directly on preferred vs rejected answers, One simpler stage).RLHFTrain reward modelRun reinforcementlearningDPOTrain directly onpreferred vsrejected answersOne simpler stagevs

Example

Given pairs of replies where people preferred one, DPO adjusts the model to make the preferred reply more likely than the rejected one, without training a separate reward model.

Why it matters

It simplifies preference training and is more stable and cheaper than full reinforcement-learning pipelines.

Common questions

Who introduced DPO?

A 2023 paper by researchers at Stanford.

Does it match RLHF in quality?

Often comparable on many tasks, though results vary with data and setup.

What data does it need?

Pairs of responses to the same prompt labeled preferred and rejected.

Learn more in our free guides

Test yourself

See also