Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
ORPO (Hong et al. 2024) markets itself as 'single-stage' fine-tuning. What does it combine into one training pass, what's the actual loss term that makes that possible, and what operational benefit do you get compared to SFT-then-DPO?
ORPO folds SFT and preference alignment into one pass using an odds-ratio penalty on the SFT loss. No reference model, memory close to plain SFT.
Imagine training a dog. The usual way is two lessons. First you reward it for good tricks until it learns them. Then, separately, you correct it whenever it picks a bad trick over a good one, and to judge that you keep a second untrained dog around as a baseline. ORPO does both lessons at once with a single trainer and no spare dog. While rewarding the good trick, it also nudges the odds away from the bad one in the very same moment. You feed it pairs of good and bad answers, and one training run teaches both the skill and the preference. Fewer lessons, no spare dog to feed, one well-trained result at the end.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: two-stage baseline + what ORPO fuses + the two-term loss + why the odds ratio removes the reference policy + memory and operational wins + quality trade-off versus staged DPO.
| Concern | ORPO (single-stage) | SFT then DPO (two-stage) |
|---|---|---|
| Training passes | One pass over (prompt, chosen, rejected) | Two passes: SFT then DPO |
| Reference policy | None; penalty is on the trainable model | Frozen reference policy held in memory |
| Memory footprint | Close to plain SFT | Near double during the DPO stage |
| Hyperparameters | One set, plus a small lambda weight | Two sets, tuned per stage |
| Artifacts to manage | One checkpoint to evaluate | SFT checkpoint then DPO checkpoint |
| Quality on heavy preference data | Strong, sometimes a notch below | Often the quality ceiling when tuned |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Describing ORPO as just DPO without a reference model. It also fuses the SFT stage, and its penalty uses an odds ratio, not the policy ratio DPO uses.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.