Term
Direct Preference Optimization
Meaning
An RL-free fine-tuning method that trains a language model policy directly on pairwise human preference data. It applies a binary cross-entropy loss to the difference of log-probability ratios between a trained policy and a reference policy, so the policy itself acts as an implicit reward model.
Source Direct Preference Optimization: Your Language Model is Secretly a Reward Model
How papers use it 9 papers
Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Use Introduced as the main contribution of this paper and used to replace the reward-model-plus-RL pipeline of RLHF. It implicitly optimizes the KL-constrained reward maximization objective, with the coefficient β controlling the strength of the constraint and the reference policy initialized to the SFT model when one is available. In the reported experiments it is compared against PPO-based RLHF, Preferred-FT and Best of N on sentiment generation, TL;DR summarization and Anthropic-HH dialogue.
The Llama 3 Herd of Models
Use Applied after supervised finetuning in each post-training round to align Llama 3 with human preferences, and it also includes safety preference examples. The authors mask the header and termination formatting tokens out of the loss, arguing that these tokens cause tail repetition and abrupt stopping when their contrastive gradients conflict. They also add a negative log-likelihood term on the chosen responses with a coefficient of 0.2, to keep the formatting stable and stop the chosen-response log-probability from falling. The authors chose DPO over PPO because it needed less compute at large scale and performed better on instruction following.
Meaning A preference-based alignment method that trains a language model directly on pairs of preferred (chosen) and dispreferred (rejected) responses, using a logistic-style loss on the policy's log-probability ratios against a reference model, controlled by a beta hyper-parameter. It avoids training a separate reinforcement learning reward loop.
Mixtral of Experts
Use Applied after supervised fine-tuning on a paired feedback dataset to produce Mixtral 8x7B – Instruct. The method is cited from prior work (Rafailov et al.), and the resulting instruct model is used in the human-evaluation comparisons.
Meaning A preference-based fine-tuning method that trains a language model directly on paired examples of preferred and dispreferred responses. It uses a classification-style loss on these pairs in place of a separately trained reward model and a reinforcement learning step.
DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
Use Treated in the paper as one of the methods under its unified paradigm. Its training pairs are drawn from outputs sampled from the SFT model, so it falls into the offline sampling group of methods that the authors compare with online approaches.
Meaning A preference-based fine-tuning method that adjusts a model using pairs of preferred and dispreferred outputs, optimized with a pair-wise loss rather than an explicit reward model in the training loop.
Phi-3 Technical Report: A Highly Capable Language Model Locally on Your Phone
Use The second post-training stage for phi-3, applied after SFT. Its data covers chat-format examples, reasoning and responsible AI cases, and outputs showing unwanted behavior are used as rejected responses to steer the model away from them. Phi-3.5-Vision also uses DPO after SFT.
Meaning A preference-based post-training method that tunes a model to prefer chosen responses over rejected ones, without a separate reward model.
Qwen2.5-Coder Technical Report
Use Applied after supervised fine-tuning of Qwen2.5-Coder. Preference pairs for self-contained, algorithm-like snippets are judged by running generated test cases, including for Python and Java, while other complex snippets are compared with an LLM acting as a judge. The code DPO data is then combined with general preference data for offline DPO training.
Meaning An offline preference-alignment method that tunes a language model directly on pairs of preferred and dispreferred responses, without training a separate reward model. It pushes probability toward the preferred response relative to a reference model.
Qwen2.5 Technical Report
Use Used in the offline RL stage, where responses that pass quality checks serve as positive examples and failing responses serve as negatives. The paper builds about 150,000 such pairs and trains for one epoch. Preference pairs from DPO training data are also merged into the reward model training set.
Meaning An offline preference optimization method that trains a language model directly on pairs of preferred and dispreferred responses to the same prompt, adjusting the model so that it favours the preferred response.
Qwen2 Technical Report
Use Applied to all Qwen2 models in post-training, as the preference-based alignment step that follows supervised fine-tuning. In the RLHF stage it is used in the offline phase on a pre-compiled preference dataset, and in the online phase on preference pairs that a reward model selects from freshly sampled responses in each episode.
Meaning A preference-learning objective that trains a language model directly on pairs of preferred and dispreferred responses to the same instruction, increasing the likelihood of the preferred response relative to the dispreferred one.
OLMo: Accelerating the Science of Language Models
Use Applied after instruction finetuning to produce OLMo+SFT+DPO.
Meaning A preference-based fine-tuning method that learns from chosen and rejected response pairs.