Moyan AI Training Institution LogoMoyan AI

Alignment · Fast-moving · Advanced

Direct Preference Optimization

Also known as: DPO

A preference-tuning method that optimises a language model directly on preferred-versus-rejected response pairs, without training a separate reward model.

What Direct Preference Optimization is

DPO reformulates preference learning as a straightforward classification-style loss over pairs, which removes the reinforcement-learning loop that makes RLHF fiddly to run.

How it works

For each prompt the training set contains a chosen and a rejected response. The loss increases the model's relative likelihood of the chosen response while a reference model keeps the policy from drifting.

Why it matters

It made preference tuning accessible to smaller teams, and is now a common step in open-weight model releases.

Common uses

  • Aligning open-weight chat models
  • Domain tone tuning
  • Reducing specific failure behaviours

Strengths

  • Simpler and cheaper than full RLHF
  • Stable to train

Watch for

  • Still needs high-quality preference data
  • Less flexible than a learned reward model for complex objectives

Continue exploring

More in this collection

Browse all AI Concepts