TL;DR
SimPO is a way to train a language model on pairs of answers, where a person has marked one answer as preferred. It defines a reward for an answer as its average token log-probability, scaled by a constant, and it asks the reward of the preferred answer to beat the other by a fixed margin. Because the reward uses only the model being trained, it needs no reference model, which saves memory and compute. On AlpacaEval 2 and Arena-Hard, SimPO scored higher than DPO and the other preference methods the paper tested.
Builds on: Direct Preference Optimization, Language Model, Bradley–Terry Model · Leads to: the DPO family of methods
Why it mattered
After RLHF became the standard way to make chat models follow instructions, a large share of work moved to simpler offline methods that train directly on preference pairs. DPO was the most widely used of these. It still needs a frozen reference model, which doubles memory during training, and the reward it optimises does not match the likelihood that the model uses when it generates text.
SimPO removes both problems. Its reward is the quantity used to rank candidate outputs during decoding, so training and generation use the same measure. It is cheap to run, and it reached the highest scores in the paper's comparison across two base-model settings and two instruction-tuned settings. It is widely cited as a reference point for reference-free preference training.
History
Preference learning goes back to the Bradley-Terry model of 1952, which assigns each item a strength and gives the probability that one beats another. Christiano and colleagues used the same idea to train a reward model from human comparisons in 2017. Ouyang and colleagues applied it to language models in 2022 with a reward model and reinforcement learning. Rafailov and colleagues removed the explicit reward model in 2023 with DPO, and SimPO came in 2024 as a further simplification of DPO's reward.
The problem
Preference data for language models comes as triples: a prompt , a winning response that a person preferred, and a losing response . The goal is to make the model assign higher probability to winners than to losers, without drifting too far from good behaviour.
DPO handles this by defining an implicit reward from the ratio between the trained model and a frozen reference model, then fitting a Bradley-Terry probability to the reward difference. The paper identifies two drawbacks.
- A reference model is required. It must be loaded and run during training, which costs memory and compute.
- The training reward does not match generation. A model generates by choosing high-likelihood continuations, but DPO trains on a reference-adjusted reward. The paper argues that this mismatch is a real cost: the model is trained to rank pairs by a measure it does not use when it generates.
The paper also notes a length problem. The summed log-probability of a response falls as the response gets longer, so a summed reward favours short answers, whatever their quality. Averaging over tokens removes that length bias from the comparison.
How it works
The walkthrough traces one preference pair through the SimPO loss. The model assigns a log-probability to each token of each response. The numbers below are chosen so the arithmetic is easy to check.
flowchart LR A[Prompt with winning and losing answers] --> B[Token log-probs from the model] B --> C[Sum or average per answer] C --> D[Scale by beta over length] D --> E[Reward difference minus margin] E --> F[Sigmoid and negative log] F --> G[Gradient step on the model]
- Take a preference pair. The winning answer has tokens and the losing answer has tokens. Check: the winner is longer, so a summed score would penalise it.
- Add up the log-probabilities. The winner's token log-probabilities sum to , and the loser's sum to . Check: the summed score ranks the shorter loser higher, which is the length bias the paper describes.
- Average over tokens. Divide by length: the winner gives and the loser gives . Check: now the winner is ranked higher, which matches the preference label.
- Scale by . With the rewards are and . Check: the reward difference is .
- Subtract the margin. With target margin , the quantity inside the sigmoid is . Check: the margin asks for more separation than the raw difference gives.
- Compute the loss. The sigmoid of is about , so the loss is . Check: the loss falls as the sigmoid approaches one, which means the margin is exceeded by more.
Step 6 is where training happens: a gradient step increases the log-probability of the winner's tokens and decreases that of the loser's, weighted by how wrong the current ranking is. No reference model appears anywhere in this chain.
The math
Let be the model. The paper uses the average token log-probability as the implicit reward:
Here is the number of tokens and scales the reward. The probability that is preferred is modelled with a target margin :
Training minimises the negative log-likelihood of the observed preferences:
Step 3 in symbols
The average is the sum divided by . For the winner, . For the loser, . These are the values inside the reward before multiplying by .
Step 5 in symbols
The margin enters as a subtraction inside the sigmoid. The loss is zero only in the limit where the reward difference goes to infinity, and at any finite margin the gradient keeps pushing the difference upward. The paper finds that the margin helps generalisation up to a point and then hurts.
Step 6 in symbols
With , , and .
Worked examples
A response has two tokens with log-probabilities and .
- Sum: .
- Length: .
- Average: .
- Interpretation: this is the value the SimPO reward uses before the scale is applied.
The winning answer has length and summed log-probability . The losing answer has length and summed log-probability . Use and .
- Winner average: , reward .
- Loser average: , reward .
- Reward difference: .
- Subtract the margin: .
- Sigmoid: .
- Loss: .
- Interpretation: the pair is already ranked correctly, but the margin is not yet met, so the loss is still substantial and training continues to widen the gap.
Suppose an ablation table reports the AlpacaEval 2 length-controlled win rate for the Mistral-Base setting. Illustrative numbers: the full SimPO model scores , the version without length normalisation scores , the version with margin scores , and DPO scores in the same table.
- Effect of removing length normalisation: points.
- Effect of removing the margin: points.
- Gain of SimPO over DPO: points.
- Relative gain over DPO: , about percent.
- Interpretation: with these numbers, length normalisation is the larger of the two design choices, and the margin also contributes a clear part of the gain. Check the real figures in the paper before quoting them.
Try it: a pair has reward difference , with already applied and . What is the loss ?
Answer: , and .
Results
The paper evaluates on AlpacaEval 2, which reports a length-controlled win rate (LC) and a raw win rate (WR) judged against a reference model, on Arena-Hard, and on MT-Bench. It uses four settings: Mistral-7B and Llama-3-8B, each in a base version fine-tuned on UltraChat and an instruct version.
On Mistral-Base, SimPO scores LC and WR on AlpacaEval 2, where DPO scores and . On Mistral-Instruct, SimPO scores LC and WR. On Llama-3-Instruct it scores LC and WR. The gains hold across the four settings on AlpacaEval 2, and the paper reports consistent gains on Arena-Hard as well. Exact figures are in the paper's tables.
The ablations support the two design choices. Removing length normalisation hurts, and the paper links this to longer outputs whose length the reward has come to favour. Setting the margin to zero also hurts.
The limits are stated in the paper. AlpacaEval 2 and Arena-Hard are judged by a strong language model rather than by people, and MT-Bench separates methods poorly, so small differences there may be noise. Increasing the margin eventually lowers generation quality, so must be tuned. SimPO does not impose a KL constraint; the paper reports that the drift from the starting model stays small in its experiments, which is an empirical observation and not a guarantee.
Common mistakes and tradeoffs
It is tempting to think SimPO is DPO without the reference model. In fact it changes the reward in two ways: it uses the average log-probability instead of the reference ratio, and it adds a margin. Removing the reference model is only part of the method.
It is tempting to think that length normalisation is a cosmetic fix. In fact it changes which answer wins the comparison: on a per-token scale, length no longer decides the ranking by itself, which removes a systematic bias rather than tidying up the scores.
It is tempting to think a larger margin is always better. In fact the paper reports that generation quality does not keep improving as grows, and falls for large margins, so the margin is a setting to tune.
It is tempting to think that without KL regularisation the model will drift away from its starting point. In fact the drift stayed small in the paper's experiments, but nothing in the objective guarantees it, so it should be measured in practice.
When to use SimPO: preference tuning where memory is tight and a reference model is costly to hold. When not to use it: when a learned reward model is needed for other purposes, such as best-of-n ranking at inference, or when a principled divergence constraint is required. DPO remains the safer baseline when a reference model is affordable and the reference ratio is part of the design.
Reading guide
Read the paper in this order, with the lessons that cover what each section needs.
- Section 1, Introduction. Motivates RLHF and its multi-stage cost. Needs Reinforcement Learning from Human Feedback (RLHF) and Reward Model.
- Section 2.1, Background: DPO. Defines the DPO reward and loss. Needs Direct Preference Optimization and Bradley–Terry Model.
- Section 2.2, Reference-free reward. Introduces the average log-probability reward and the length argument. Needs Language Model and Sigmoid Function.
- Section 2.3, The SimPO objective. Adds the target margin and gives the final loss. Needs Sigmoid Function.
- Section 3, Experimental setup. Datasets, models and benchmarks. Needs Instruction Tuning for the SFT starting points and Beam Search for decoding.
- Section 4, Results. Main table and ablations. Needs Kullback–Leibler Divergence for the drift measure in Section 4.4.
- Appendices F and I. Gradient analysis and the effect of the same tricks on DPO. Read after Section 4.
Check yourself
QuestionWhy does SimPO use the average log-probability per token rather than the summed log-probability as its reward?Show answer
The summed value falls as the answer gets longer, so it penalises long winning answers and encourages the model to inflate the probability of long answers. Dividing by the length removes that incentive and makes the reward match the length-normalised likelihood the model uses when it generates.
QuestionA winning answer has summed log-probability and length . A losing answer has summed log-probability and length . What are their average log-probabilities?Show answer
The winner's average is . The loser's average is . The winner has the higher average, which matches the preference label.
QuestionIn the SimPO loss, what does the target margin do, and what does the paper report happens when it is made very large?Show answer
The margin is subtracted from the reward difference inside the sigmoid, so the winner must beat the loser by at least to make the loss small. The paper reports that generation quality does not keep improving as the margin grows, and falls for large margins, so has to be tuned.
QuestionA pair has reward difference (already scaled by ) and margin . What is the loss ?Show answer
The argument is . The sigmoid is . The loss is .