# Direct Preference Optimization

> Direct Preference Optimization (DPO) is an alignment technique that trains language models on human preferences without needing a separate reward model.

Source: https://metavert.io/direct-preference-optimization  
Updated: 2026-03-10

**Direct Preference Optimization (DPO)** is an alignment technique that trains [language models](https://metavert.io/large-language-models) directly on human preference data—without the complexity of training a separate reward model or running reinforcement learning loops. It achieves comparable results to [RLHF](https://metavert.io/rlhf) with significantly less computational overhead.

The key insight, introduced by Rafailov et al. at Stanford in 2023, is mathematical: the optimal policy under the RLHF objective can be expressed as a simple function of the preference data and the reference model. Instead of the three-stage RLHF pipeline (supervised fine-tuning → reward model training → RL optimization), DPO collapses alignment into a single supervised learning step. Given pairs of preferred and rejected responses, DPO directly adjusts the model's probabilities to favor the preferred outputs.

This simplification matters enormously for practical deployment. RLHF requires maintaining and training a separate reward model, running PPO (which is notoriously unstable), and carefully balancing multiple hyperparameters. DPO uses standard cross-entropy-style training that any machine learning engineer can implement and debug. The reduced complexity has made preference-based alignment accessible to smaller teams and [open-weight model](https://metavert.io/open-weight-models) fine-tuners who lack the infrastructure for full RLHF pipelines.

DPO's success has spawned a family of related techniques—IPO (Identity Preference Optimization), KTO (Kahneman-Tversky Optimization), ORPO, SimPO—each refining different aspects of the preference learning process. Together with [reinforcement fine-tuning](https://metavert.io/reinforcement-fine-tuning) and [Constitutional AI](https://metavert.io/constitutional-ai), these methods represent the frontier of making AI systems behave as intended—a challenge that only grows more important as [AI agents](https://metavert.io/agentic-ai) take increasingly autonomous actions.

## Related Topics

- [RLHF](https://metavert.io/rlhf)
- [Large Language Models](https://metavert.io/large-language-models)
- [AI Model Training](https://metavert.io/ai-model-training)
- [Constitutional AI](https://metavert.io/constitutional-ai)
- [AI Safety](https://metavert.io/ai-safety)
- [Fine-Tuning](https://metavert.io/fine-tuning)

## Further Reading

- [Direct Preference Optimization: Your Language Model is Secretly a Reward Model (Rafailov et al.)](https://arxiv.org/abs/2305.18290)
