Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
ORPO adds an odds-ratio penalty straight onto the SFT loss, so it aligns and instruction-tunes in one pass with no reference model.
Picture training a chef. The normal recipe (SFT) teaches the chef to cook the dish you like. Preference tuning then nudges them toward the better of two plates. Older methods like DPO keep a frozen copy of the old chef in the kitchen to compare against, which costs a second oven. ORPO skips that. It writes one combined recipe: cook the good dish, and at the same time push the odds of the good dish above the bad one. No frozen copy, no second oven, one cooking session. You get a chef who both knows the dish and prefers the better plate, trained in a single sitting at roughly the memory of plain cooking lessons.
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: DPO two-stage and reference policy + the ORPO loss decomposition + why removing the reference enables single-stage + drift control via lambda + why each distractor describes a different method.
| Aspect | DPO | ORPO |
|---|---|---|
| Stages | SFT warm-up, then preference | Single combined stage |
| Reference policy | Required, frozen copy | None |
| Loss shape | Log-ratio vs reference | SFT cross-entropy plus odds-ratio penalty |
| Memory at train time | Two models in memory | Roughly plain SFT |
| Drift control | Explicit reference anchor | Lambda weight plus retained SFT term |
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.
Assuming ORPO drops the SFT loss or hides a reference model. It keeps cross-entropy and adds an odds-ratio term, with no reference policy at all.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.