Resources/Model training/Training methods

Best practice

The standard recipe: SFT, then DPO

Preference tuning sharpens answers a model can already give, so the usual recipe has two steps: supervised fine-tuning to teach the task, then DPO continued from that model and evaluated against it.

Chapter 75 min read5 references

What it is

Almost every published post-training pipeline runs supervised fine-tuning before learning from preferences. InstructGPT did (supervised, then a reward model and reinforcement learning). Zephyr did (supervised, then DPO). Tülu 3 did (supervised, then DPO, then reinforcement learning with verifiable rewards). Hosted providers recommend the same order for their own preference tuning.

Base modelpre-trained
→evaluated vs base modelSupervised runlearns the task
→evaluated vs supervised runPreference runpolishes answers
Each link in a chain starts from the weights the previous link produced, and is evaluated against that parent, so a result always measures what this step added.
StepMethodTeachesData
1Supervised fine-tuningThe task: your product, answers, tone and formatChats with good replies
2Preference tuning (DPO), continued from the step-1 modelPolish: prefer the answers your team prefersBetter/worse pairs
3Evaluation against the step-1 modelWhether step 2 added anythingHeld-back questions

Why the order matters

DPO adjusts the relative likelihood of answers the model could already produce. It has no mechanism for teaching facts the model never saw. If a model knows nothing about your product, the preferred and non-preferred answers in a pair are often equally foreign to it, and the comparison carries little it can use.

There is a technical reason too. DPO's implicit reward is measured against the reference model, and the method works best when the pairs look like answers that reference could plausibly write. The DPO paper uses a supervised model as the reference whenever one exists; when none does, it first fine-tunes on the preferred answers to narrow the mismatch, which is an SFT step under another name.

The evidence agrees. The Zephyr team reported that without an initial supervised step their models were “not able to learn at all from feedback and perform terribly”, while SFT followed by DPO gave a large gain on both chat benchmarks they used. Doing more supervised training on the top-ranked answers instead did not reproduce that gain: the preference step added something SFT alone did not.

Continuing from the step-1 model

Step 2 does not start from the base model. It starts from the weights step 1 produced, and that same model becomes the frozen reference DPO measures against.

  • Hosted models: the provider starts a new job from the earlier fine-tuned model, by its id or by warm-starting from its adapter.
  • Open models trained with a LoRA adapter: the step-1 adapter is first merged into the base weights. The new training runs on that merged model, and the result is merged again and saved as a complete model.
  • Same base throughout: the run must use the same provider and base model as the run it continues, so the model's limits and price stay the same.

Settings change between the steps. Preference training typically needs fewer epochs (1–2) and a much lower learning rate. For scale, Zephyr used a peak learning rate of 2e-5 for its supervised step and 5e-7 for DPO, with β = 0.1.

Measuring step 2

Compare the continued model with the step-1 model, not with the plain base. A win over the base mostly reflects what step 1 taught. A win over the step-1 model is what preference tuning added, and it is the only number that tells you whether to keep the DPO step.

Why the comparison point matters (illustrative numbers)
  1. The base model answers your questions poorly. Step 1 (SFT) fixes most of that.
  2. The step-2 model, evaluated against the base, wins 17 of 20 questions. That looks excellent, but nearly all of it was step 1.
  3. The same step-2 model evaluated against the step-1 model: 6 wins, 5 losses, 9 ties. Preference tuning added little, and a gap that small is within noise.
  4. Decision: keep whichever of the two is better in the step-1 comparison, gather better pairs before trying again, and archive the other.

What to expect

The general lesson from running DPO steps in practice is that the same pairs can help, do nothing, or hurt, depending on the starting model. On a capable model a DPO step can bring answers closer to your team's and improve tone. On a very small model the result is often mostly ties: if the model cannot produce a good answer, there is nothing for it to prefer. And sometimes the tuned model gets worse.

Beyond two steps

  • New knowledge after DPO: continue with supervised training from the preference-tuned model. A lot of new supervised training can partly wash out the polish; a short preference pass afterwards, from that new supervised run, restores it.
  • DPO on top of DPO with the same pairs is just more epochs on the same data, and tends to over-tune: answers drift, get longer, or start gaming what the pairs reward.
  • Iterative DPO (a second round on new pairs collected from the first round's own answers) is a valid technique, but it needs a new pair-collection step between rounds.

Common mistakes

  • Skipping step 1 and running DPO on a plain base model.
  • Evaluating step 2 against the base model and crediting DPO with step 1's gains.
  • Over-training step 1. Zephyr found that when the supervised model was trained for more than one epoch, longer DPO training caused a regression.
  • Running a second DPO round on a DPO model with the same pairs.
  • Acting on a small gap. 5 wins to 1 out of 20 questions is a hint, not proof: run a bigger evaluation first.

References and further reading

External sources open in a new tab.

  1. 01Training language models to follow instructions with human feedbackOuyang et al., 2022 · arXiv · arxiv.orgThe original supervised-first pipeline, with RLHF as the second step.
  2. 02Zephyr: Direct Distillation of LM AlignmentTunstall et al., 2023 · arXiv · arxiv.orgSFT then DPO in detail, including what happens when the SFT step is skipped.
  3. 03Tulu 3: Pushing Frontiers in Open Language Model Post-TrainingLambert et al., 2024 · arXiv · arxiv.orgA fully open recipe: supervised fine-tuning, then DPO, then reinforcement learning.
  4. 04Direct preference optimizationOpenAI API docs · developers.openai.comA hosted provider recommending supervised fine-tuning on preferred responses before DPO.
  5. 05Direct Preference Optimization: Your Language Model is Secretly a Reward ModelRafailov et al., 2023 · arXiv · arxiv.orgExplains why the reference model should be a supervised model, and what to do when none exists.

Turn weeks of expert work into minutes

See how Scalata fits your team, your data, and your controls.