Direct preference optimization

Reinforcement learning · hybrid · 2023 · text

What it is

Skips the reward model and the RL loop by turning the preference objective into a simple classification loss on the policy.

When to use it

Cheap, stable alignment — the practical default for most open-model fine-tuning. KTO, ORPO and IPO are variants.

Caveats

It learns only from the pairs in a fixed dataset, so quality is bounded by that data and how well it covers the model's outputs. The model can overfit to the preferences, results are sensitive to the beta setting, and without online sampling there is no exploration.

Key ideas

  • Trains directly on pairs of preferred and rejected responses
  • No separate reward model and no reinforcement-learning loop
  • A simple classification-style loss that implicitly keeps the model close to a reference model

Related architectures

Original paper

Direct Preference Optimization: Your Language Model is Secretly a Reward Model (2023, arXiv)

Lessons that cover it

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted