What is Direct preference optimization?
In Turkish: Doğrudan tercih optimizasyonu · Topic: Models and training
A fine-tuning method that updates a language model directly from pairs of preferred and rejected answers, without needing a separate reward model or a reinforcement learning loop.
How does it work?
The data consists of two answers to the same prompt: one preferred, one rejected. The model is updated so that the probability of the preferred answer rises relative to the rejected one. At the same time a constraint keeps it from drifting too far from the starting model, so it does not lose fluency. The method was proposed in 2023 by researchers at Stanford and implicitly builds the reward model into the model's own probabilities. Training ends up about as simple as ordinary supervised fine-tuning.
Why does it matter?
Building a reward model and a reinforcement learning loop such as PPO is laborious in both computing and engineering terms. Because DPO lightens that load, it spread quickly, especially among small teams and the open-source community. The outcome depends heavily on the quality of the preference data.
Example
For instance, a team could make an open-source chat model more helpful by training it on a dataset where each record holds a question, a preferred answer and a rejected answer.
FAQ
Does direct preference optimization really have no reward model?
No separate reward model is trained. The reward is derived implicitly from the model's own probabilities and learned from the preference pairs in a single step.
Has it replaced RLHF?
In many cases it is chosen as a simpler alternative, but pipelines built on algorithms like PPO are still used. Which works better depends on the task and the data.