What Is DPO? Direct Preference Optimization Explained
Direct preference optimization (DPO), introduced by Rafailov and colleagues in 2023, trains a model on pairs of responses to the same prompt: one chosen, one rejected. The model learns to increase the likelihood of chosen answers relative to rejected ones.
Versus RLHF
Classic RLHF trains a separate reward model and then optimises the chat model with reinforcement learning. DPO skips the reward model and reinforcement learning loop, making preference tuning simpler and cheaper.
Variants
ORPO, KTO, SimPO and others adjust the objective or data requirements.
In uncensored models
Preference pairs where the chosen answer helps and the rejected answer refuses push a model away from reflexive refusals. Many community fine-tunes combine SFT with DPO-style tuning.
Related
More terms: Abliteration · GGUF · Imatrix · Mixture of experts · Model card · Parameter count · Full glossary