MethodInstruction tuning and chat

Direct Preference Optimisation (2023): simpler RLHF training

Event date

On 29 May 2023 researchers at Stanford posted the DPO paper. It replaces the reinforcement learning step of RLHF with a classification style loss on pairs of preferred and rejected answers. The method became a common, cheaper way to align open models.

Milestone 28 of 68 on the LLM history timeline, 2016 to 2026. Each dot is one milestone.

The problem it addressed

Training a chat model to follow human preferences was usually done with reinforcement learning from human feedback. People ranked model answers, a separate reward model learned those rankings, and the language model was then tuned against that reward model with a reinforcement learning algorithm, usually PPO. The process was effective but fiddly: it needed several models in play, sampling from the model during training and careful hyperparameter tuning.

The DPO paper, by Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher Manning and Chelsea Finn, was submitted to arXiv on 29 May 2023.

Sources: arxiv.org

How DPO works

The authors introduced a new way of parameterising the reward model so that the best policy can be written down in closed form. In practice this lets the RLHF problem be solved with a simple classification loss on the preference data: the model is pushed to raise the likelihood of the preferred answer relative to the rejected one, with no separate reward model and no sampling during fine tuning.

The abstract describes the result as stable, performant and computationally lightweight, with little need for hyperparameter tuning.

Sources: arxiv.org

What the authors reported

According to the authors, DPO matches or beats existing methods at aligning models with human preferences. They report that it exceeds PPO based RLHF at controlling the sentiment of generated text, and matches or improves response quality in summarisation and single turn dialogue, while being simpler to implement and train.

These are the authors' own experiments.

Sources: arxiv.org

Adoption

The paper's pitch was simplicity, and later models reflect that. Mistral AI said that the instruction tuned version of Mixtral 8x7B, released in December 2023, was tuned with supervised fine tuning followed by direct preference optimisation.

The idea sits between two earlier milestones on this timeline. InstructGPT showed that human preference data could turn a base model into an assistant, and Constitutional AI showed that written principles could supply some of the feedback. DPO changed the optimisation step in the middle of that pipeline. It did not remove the need for good preference data, only the reinforcement learning machinery, so data quality and the choice of base model still decide most of the outcome.

Sources: mistral.ai

Why it mattered

  • It lowered the cost and complexity of preference tuning, so small teams could align open models without a reinforcement learning setup.
  • It reframed RLHF as a supervised style problem on preference pairs, which opened a family of related methods.
  • It is now a common option in post training pipelines, including the one Mistral described for Mixtral Instruct.

Questions

What is DPO in AI?
Direct preference optimisation is a method for tuning a language model on pairs of preferred and rejected answers using a simple loss, without a separate reward model or reinforcement learning.
When was the DPO paper published?
It was first submitted to arXiv on 29 May 2023.
How is DPO different from RLHF?
Classic RLHF trains a reward model and then optimises the language model against it with reinforcement learning. DPO skips both steps and optimises directly on the preference data.
Who wrote the DPO paper?
Rafael Rafailov, Archit Sharma, Eric Mitchell, Stefano Ermon, Christopher Manning and Chelsea Finn. The paper is listed on arXiv as submitted on 29 May 2023.

About this page

Part of our LLM history timeline. The event happened on 29 May 2023; we wrote this page on 20 November 2026 from the original papers and announcements listed below. Lab-reported results are labelled as such. Read our editorial policy. Found an error? Tell us and we will correct it with a dated note.

On the timeline

Related milestones

Terms and labs

Sources

Papers and announcements we read for this page.

  1. Rafailov et al., Direct Preference Optimization (arXiv)
  2. Mistral AI, Mixtral of experts (announcement)

Sign in to vote as verified

Signed-in votes count once per account and show as verified. You can still vote without an account.

We use your email only to run your account. No marketing, no sharing, no passwords. Delete your account any time. Privacy

Delete your account?

This removes your account, your email and every vote you made while signed in. It cannot be undone.