the.ai

Alignment / Preference

verified

DPO

RLHF trains a reward model and then optimises against it with reinforcement learning — two models, two stages, and a great deal that can go wrong. DPO shows the reward model was never needed: the same optimum can be reached by a supervised loss on the preference pairs themselves. One stage, no sampling, no value network.

Viz primitive · loss-curvesteps = 1000 · params = 1
loss
step 01000

Loss over 1000 training steps, starting near 6.0. It falls to about 2.12, with 88% of the total improvement arriving in the first half.

Preference loss over a training run. Drag model size to watch where the run bottoms out.

1

Reviewed by opendroid · 2026-08-04

  • arXiv:2305.18290 — Direct Preference Optimization: Your Language Model is Secretly a Reward Model