Direct Preference Optimization skips the explicit reward model and the RL loop. It trains directly on preference pairs: (prompt, chosen response, rejected response).
The loss is the negative log-sigmoid of beta times the difference between the log-probability ratios (policy over frozen reference) of the chosen and rejected responses, so the model increases the relative likelihood of the chosen one.
Beta controls how strongly the policy may deviate from the reference model; lower beta allows larger changes.
Data requirements: two responses per prompt with a reliable label; often start from an SFT model that matches the data distribution.
Loading…