Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher D. Manning, Chelsea Finn
- Published
- May 29, 2023
- Source
- arXiv
- URL
- https://arxiv.org/abs/2305.18290
Aligns models to human preferences with a simple classification loss, removing the separate reward model and RL loop of RLHF.
DPO matches or beats PPO-based RLHF while being much simpler and more stable, and was quickly adopted for open models.
Related models: Zephyr, Llama 3