ORPO: Monolithic Preference Optimization without Reference Model
TL;DR. Standard pipelines run SFT first and then DPO against the frozen SFT model. ORPO (Odds Ratio Preference Optimisation) does both in one stage: the usual NLL loss on the chosen response plus a small odds-ratio term that pushes the chosen response’s odds above the rejected one’s. There is no reference model and no separate SFT stage.
Key idea
Section titled “Key idea”Let be the length-averaged likelihood and . Then
The gradient of is a weight times a contrast of the two log-likelihood gradients, each scaled by . Updates are therefore large while the model still prefers the rejected response, and they fade once the pair is separated.
Results. On UltraFeedback alone, Phi-2 (λ = 0.25) reaches 71.80% on AlpacaEval 1.0 and 6.35% on 2.0. Llama-2-7B (λ = 0.2) reaches 81.26% and 9.44%, above Llama-2-Chat 7B and 13B. Mistral-ORPO-α (λ = 0.1) reaches 87.92% and 11.33%, and Mistral-ORPO-β, trained on cleaned UltraFeedback, reaches 12.20% on AlpacaEval 2.0. Their MT-Bench scores are 7.23 and 7.32. In the controlled OPT study (125M–1.3B, HH-RLHF, win rates judged by an OPT-1.3B reward model), ORPO beats SFT and PPO at every scale, and its win rate over DPO grows with size to 70.9% at 1.3B. Losses for ORPO and its siblings are compared on the DPO family hub.
Connections
Section titled “Connections”- DPO, DPO family hub.
- SimPO (also reference-free, using length-normalised log-probability as the reward).
- InstructGPT (the SFT → RM → PPO pipeline that ORPO collapses).
Questions to think through
These questions have no single right answer. Write or say your answer before you open the hints. Mark a question once you could defend your answer in a reading group.
- Derive / compute
For one preference pair, the length-averaged likelihoods are P(y_w) = 0.6 and P(y_l) = 0.4. With λ = 0.1, compute the odds, the log odds ratio, L_OR, L_SFT and the total ORPO loss. Then compute the gradient weight δ = 1/(1 + OR).
What a strong answer covers
- odds(y_w) = 0.6/0.4 = 1.5 and odds(y_l) = 0.4/0.6 ≈ 0.667, so OR = 2.25 and log OR ≈ 0.811.
- L_OR = −log σ(0.811) ≈ 0.368. L_SFT = −log 0.6 ≈ 0.511 (NLL on the chosen response only).
- Total = 0.511 + 0.1 × 0.368 ≈ 0.548. The SFT term dominates and the odds-ratio term acts as a light extra penalty.
- δ = 1/(1 + 2.25) ≈ 0.31. It falls towards 0 as the chosen response pulls ahead, so the contrastive update shrinks once the pair is well separated.
- Mechanism
Explain why ORPO can drop both the separate SFT stage and DPO's frozen reference model, starting from the paper's pilot study of SFT on chosen responses only.
What a strong answer covers
- Pilot study: fine-tuning OPT-350M on HH-RLHF chosen responses raises the log-probability of rejected responses as well. Cross-entropy gives no direct penalty to unwanted styles.
- ORPO adds λ·(−log σ(log OR)) to the NLL loss, so a single training run both adapts to the domain and separates chosen from rejected responses.
- DPO needs π_ref to anchor its implied reward and keep the policy close. ORPO's anchor is the NLL term itself, which keeps the model on the chosen distribution.
- Removing π_ref saves a forward pass and the memory for a second model copy.
- Critique
ORPO's strongest numbers are AlpacaEval and MT-Bench scores for Mistral-7B. List what these comparisons do and do not control for, and propose a controlled comparison with SFT+DPO.
What a strong answer covers
- Headline baselines are released models (Zephyr, Llama-2-Chat) trained on different data and pipelines, so the method is not isolated from the data.
- The controlled OPT study (125M–1.3B, HH-RLHF and UltraFeedback) is small. The win rate over DPO rises with size, reaching 70.9% at 1.3B, and is judged by a reward model.
- λ varies by model (0.25 Phi-2, 0.2 Llama-2, 0.1 Mistral) and data quality matters (the β variant uses cleaned UltraFeedback).
- Controlled test: same base model and data, compare ORPO against SFT then DPO, matched compute and tuning, with length-controlled AlpacaEval, MT-Bench, and capability benchmarks to check for an alignment tax.