Slides · Fine-tuning
Alignment and preference optimisation
1 / 35
Alignment and preference optimisation
Teach a model from “this answer beat that one”, and learn what can go wrong when the score being chased is only a stand-in for what people want.
By the end you can lay out the RLHF pipeline and the job of its KL penalty, compute a DPO loss and a group-relative advantage, choose among DPO and its relatives, and spot reward hacking before it ships.
Concept
The vote that rewards confidence
- A team asks customers to pick the better of two replies. Almost every vote goes to the reply that sounds sure of itself, even when the other one followed the policy more closely.
- If those votes become the rule, the model is paid for sounding certain, not for being right.
- Preference data is easier to ask for than a written answer, because a person only has to choose. The price is that the goal becomes “be preferred”.
- Supervised fine-tuning shows one good answer to copy. Preference optimisation shows two answers to one prompt plus a verdict, and every route below starts from a model that has already been through SFT.
- This deck is about using that signal on purpose, and about the controls that stop the model from exploiting it.
Diagram
Three routes from an SFT model
Sources[1] Training language models to follow instructions with human feedback[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model[3] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
Process
The classic recipe, step by step
- SFT on demonstrations written by labelers.
- Reward model: labelers rank several outputs per prompt, and the rankings are turned into pairwise comparisons.
- Policy optimisation with PPO against the reward model, with a penalty for drifting from the SFT model.
- The paper had labelers rank between 4 and 9 outputs per prompt. A ranking of
Koutputs givesKchoose 2 pairs, which the paper says speeds up collecting comparisons. - It reports that labelers preferred outputs from its 1.3B-parameter InstructGPT model over those of the 175B-parameter GPT-3, on the paper’s own prompt distribution.
Source[1] Training language models to follow instructions with human feedback
Math
The reward model’s training loss
loss=−logσ(r(x,ywin)−r(x,ylose))| Symbol | Meaning |
|---|---|
| x | The prompt |
| ywin, ylose | The answer labelers preferred, and the one they did not |
| r(x,y) | The reward model’s single score for a prompt and answer |
| σ (sigmoid) | Squashes any number into the range 0 to 1 |
The paper reads the reward difference as the log odds that a labeler prefers one answer over the other. Recomputed here:
| Reward gap (win minus lose) | Loss | Reading |
|---|---|---|
| +3 | 0.049 | Correct order, by a wide margin |
| +1 | 0.313 | Correct order, modest margin |
| -1 | 1.313 | Wrong order, penalised |
Source[1] Training language models to follow instructions with human feedback
Check yourself
Check: how many comparisons, and how costly a mistake
A labeler ranks 6 answers to one prompt. How many pairwise comparisons does that ranking provide? Then, if the reward model scores the winning answer 0.5 and the losing answer 1.5, what is the loss for that one pair?
Answer
Six choose two is 15 pairs. The gap is 0.5−1.5=−1.0, and the loss is −lnσ(−1)=1.313, the same as the -1 row of the table. The pair says the scorer ranks it backwards, so the gradient pushes the scores apart in the right direction. One caution from the paper: the 15 pairs from one prompt are highly correlated, so it trains all of a prompt’s pairs together as a single batch element and does not shuffle them into the dataset as 15 separate data points, which made the reward model overfit.
Concept
The KL penalty: a leash on the policy
max reward(x,y)−βlogπSFT(y∣x)πpolicy(y∣x)- The InstructGPT paper adds a per-token penalty from the SFT model “to mitigate over-optimization of the reward model”.
- The DPO paper gives the intuition: the constraint keeps the policy near the distribution where the reward model is accurate, keeps answers varied, and avoids collapsing onto a few high-scoring ones.
- The reward model only ever saw answers from near the SFT model, so its scores far from there are extrapolation.
- A caution from the overoptimisation study: in its synthetic setup the penalty did not improve the true score for a given amount of drift. It mainly made the true score level off sooner, which resembles early stopping, and the authors note the result could be sensitive to hyperparameters. Treat the leash as a brake, not a cure.
Sources[1] Training language models to follow instructions with human feedback[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model[4] Scaling Laws for Reward Model Overoptimization
Concept
What the pipeline costs
- Several models are in play: the policy being trained, a frozen reference copy for the KL term, the reward model, and in PPO a value model (the critic) as well.
- The RL step samples new answers from the policy during training. The DPO paper lists removing that sampling as one of its simplifications.
- Quality has a price too. InstructGPT reports an “alignment tax”: standard PPO lowered scores on some public NLP datasets. A variant that mixes pretraining updates into the RL step (PPO-ptx) reduced those drops.
- The DeepSeekMath paper’s pitch for GRPO is that it foregoes the critic, which is the model PPO needs and GRPO does not.
Sources[1] Training language models to follow instructions with human feedback[3] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Math
The DPO loss
margin=β(logπref(yw∣x)π(yw∣x)−logπref(yl∣x)π(yl∣x))loss=−logσ(margin)| Symbol | Meaning |
|---|---|
| yw, yl | Preferred and rejected answer to the same prompt |
| π | The model being trained |
| πref | A frozen reference model |
| log(π/πref) | How much training has changed this answer’s likelihood (summed over its tokens) |
| β | A positive scale on the margin; the paper describes it as controlling deviation from the reference |
The paper derives this from the RLHF objective: the best policy can be written in closed form, so the reward model and the RL loop drop out and a classification-style loss remains.
Source[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Concept
What the reference and beta do
- Reference model. It anchors the ratios, so “how far has the model moved” has an answer. The paper uses the SFT model, since that is where the pairs came from. If none exists, it first fits a reference to the preferred answers.
- Beta. It multiplies the gap between the two log-ratios. A bigger beta makes the same movement look more finished, so the loss flattens sooner and the model stays closer to the reference.
- Tooling note. In the TRL documentation read on 25 October 2026 (main-branch docs; newest tagged version listed: v1.16.0),
betadefaults to 0.1,ref_model=Nonemeans the starting policy is used as the reference, andprecompute_ref_log_probscan compute the reference values once so the reference need not stay in memory. Check your installed version.
Sources[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model[5] DPO Trainer (TRL documentation)
Worked example
Worked: one pair, two betas
Illustrative numbers: the preferred answer’s log-ratio is +0.7 and the rejected answer’s is -1.1.
| Setting | Margin=β×(0.7−(−1.1)) | σ | Loss |
|---|---|---|---|
| Start of training (both ratios 0, beta 0.2) | 0 | 0.500 | 0.693 |
| beta = 0.2 | 0.36 | 0.589 | 0.529 |
| beta = 1.0 | 1.8 | 0.858 | 0.153 |
With the larger beta the identical movement already counts as nearly solved, so the push to move further fades earlier.
Source[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Worked example
Worked: the loss sees only a difference
Beta is 0.4 in both rows. The log-ratios are illustrative.
| Pair | Preferred ratio | Rejected ratio | Difference | Loss |
|---|---|---|---|---|
| A | +0.5 | -0.5 | 1.0 | 0.513 |
| B | -0.5 | -1.5 | 1.0 | 0.513 |
In pair B the preferred answer became less likely than under the reference, yet the loss is identical, because the rejected answer fell faster. A falling loss alone cannot show that good answers are getting more probable, so log the absolute likelihoods of the preferred answers too.
Source[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Code
The loss as code
Python
import math, statistics # imports for both code slides
def dpo_loss(beta, logratio_chosen, logratio_rejected):
if not (math.isfinite(beta) and beta > 0):
raise ValueError("beta must be positive and finite")
if not (math.isfinite(logratio_chosen) and math.isfinite(logratio_rejected)):
raise ValueError("log-ratios must be finite numbers")
margin = beta * (logratio_chosen - logratio_rejected)
if margin >= 0: # -log(sigmoid(margin)), overflow-safe
return math.log1p(math.exp(-margin))
return -margin + math.log1p(math.exp(margin))| Test (Python 3.14, standard library only, 25 October 2026) | Result |
|---|---|
| beta 0.2, ratios +0.7 and -1.1 | 0.529 |
| beta 1.0, same ratios | 0.153 |
| both ratios 0 | 0.693 |
| beta 0, negative, NaN or infinite; a NaN or infinite log-ratio | each raises ValueError as intended |
| margin of -800 | 800.0, no overflow (a naive exp form fails here) |
The inputs are whole-answer log-ratios, so they are sums over tokens, computed against the frozen reference.
Source[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model
Check yourself
Check: read a loss, then predict a change
With β=0.4, a pair has a preferred log-ratio of +0.3 and a rejected log-ratio of -0.9. Compute the loss. Then say whether the loss at beta = 0.8 with the same ratios is higher or lower, and why that matters for how far the model travels.
Answer
The margin is 0.4×1.2=0.48, σ(0.48) is about 0.618, so the loss is about 0.482. At beta 0.8 the margin is 0.96 and the loss falls to about 0.324. Lower loss for the same movement means the pair stops pulling sooner, so a higher beta keeps the model nearer the reference.
Compare
The DPO family at a glance
| Method | What changes | Data | Reference model |
|---|---|---|---|
| DPO | Baseline: log-ratio margin through a sigmoid | Pairs | Yes |
| IPO | Squared loss toward a fixed target gap | Pairs | Yes |
| KTO | Learns from single answers marked good or bad | Binary label per answer (pairs can be converted) | Yes in the standard form |
| ORPO | Odds-ratio term added to the SFT loss, one stage | Pairs | No |
| SimPO | Average per-token log-probability as the reward, plus a margin | Pairs | No |
Read the table as “what changed and why”, not as a leaderboard.
Sources[2] Direct Preference Optimization: Your Language Model is Secretly a Reward Model[6] A General Theoretical Paradigm to Understand Learning from Human Preferences[7] Model Alignment as Prospect Theoretic Optimization[8] ORPO: Monolithic Preference Optimization without Reference Model[9] SimPO: Simple Preference Optimization with a Reference-Free Reward
Concept
IPO and KTO
- IPO. The authors argue that when preferences are close to deterministic, the KL regularisation in the DPO objective weakens, and with few samples a true preference of 0.8 can look like 1. IPO instead regresses the log-ratio gap toward a finite target of 2τ1, so it keeps regularising toward the reference. Here τ is the paper’s regularisation parameter, the weight on the KL term: a larger τ means a smaller target gap and a policy held nearer the reference.
- KTO. It needs only a binary desirable-or-not label per answer, which is the shape of a thumbs-up log. Pairs can be used by treating the preferred answer as desirable and the rejected one as undesirable. The paper reports matching or exceeding DPO from 1B to 30B parameters, and matching it with up to 90 percent fewer desirable examples in one setup. It also concludes that no single loss of this family is best everywhere. A reference-free variant exists but performed worse.
Sources[6] A General Theoretical Paradigm to Understand Learning from Human Preferences[7] Model Alignment as Prospect Theoretic Optimization
Concept
ORPO and SimPO: dropping the reference
- ORPO. One loss,
L_SFT + lambda * L_OR, where the odds-ratio term compares the odds of the preferred and rejected answers. It needs no separate SFT stage and no reference model, and the paper reports about half as many forward passes per batch as methods that need a reference. - SimPO. The reward is the average log-probability of the answer’s tokens (scaled by beta), with a target margin γ in the loss. No reference is needed. The authors report roughly 20 percent lower runtime and about 10 percent less GPU memory than DPO in their setup.
- Length matters. In SimPO’s ablation, removing the length normalisation hurt most and led to long, repetitive output. Any reward that grows with length can be gamed by length.
Sources[8] ORPO: Monolithic Preference Optimization without Reference Model[9] SimPO: Simple Preference Optimization with a Reference-Free Reward
Concept
Why the reported gains are not a ranking
- Each paper tests its own method on models, datasets and automatic judges it chose, against baselines it chose.
- SimPO reports clear wins over DPO and variants on AlpacaEval 2 and Arena-Hard, with MT-Bench roughly level. ORPO reports results above some larger models. KTO reports matches. No paper ran all five under one protocol.
- The LLM-as-judge study lists position, verbosity and self-enhancement biases, so a win rate judged by a model needs a length check before it counts as evidence.
- Practical rule: pick two candidates by your data and memory budget, run both on your own evaluation, and include a length check.
Sources[7] Model Alignment as Prospect Theoretic Optimization[9] SimPO: Simple Preference Optimization with a Reference-Free Reward[8] ORPO: Monolithic Preference Optimization without Reference Model[10] Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena
Check yourself
Check: count the forward passes
A training batch holds 24 preference pairs. Count the sequence forward passes needed to score it with DPO when the reference model runs live, with DPO when reference log-probabilities were precomputed, and with ORPO. What does the count say about a reference-free method’s saving?
Answer
Each pair has two answers. DPO with a live reference runs both answers through the policy and through the reference: 24×2×2=96. With precomputed reference values the batch needs only the policy passes, 24×2=48, though the reference pass over the dataset was paid once beforehand. ORPO also needs 24×2=48. So the saving is real only against the live-reference setup, and a precomputed reference narrows it. This counts passes, not time or memory.
Sources[8] ORPO: Monolithic Preference Optimization without Reference Model[5] DPO Trainer (TRL documentation)
Concept
GRPO: a baseline from the group
- For each prompt, sample a group of answers from the current policy and score each one.
- Each answer’s advantage is its score minus the group mean, divided by the group standard deviation (the paper’s outcome-supervision form).
- PPO needs a value model for its baseline. The DeepSeekMath paper says GRPO foregoes the critic and estimates the baseline from group scores.
- The KL term is added to the loss directly instead of being folded into the reward.
- Its cost moves to sampling: every update needs a fresh group per prompt.
- Two consequences of the formula: the advantages in a group sum to zero, and if every score is equal the spread is zero, so that group teaches nothing and an implementation must handle the division.
Source[3] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
Worked example
Worked: graded scores, two kinds of standard deviation
Scores for four sampled answers (illustrative): 10, 12, 14, 20. The mean is 14.
| Answer | Score | Advantage, population std (3.742) | Advantage, sample std (4.320) |
|---|---|---|---|
| 1 | 10 | -1.069 | -0.926 |
| 2 | 12 | -0.535 | -0.463 |
| 3 | 14 | 0.000 | 0.000 |
| 4 | 20 | +1.604 | +1.389 |
Implementations can differ on which standard deviation they use, so the exact numbers move while the ordering does not. State the choice when you do this on a whiteboard.
Source[3] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
Code
The advantage as code
Python
def group_advantages(rewards, sample_std=False):
if len(rewards) < 2:
raise ValueError("a group needs at least two samples")
if not all(math.isfinite(r) for r in rewards):
raise ValueError("rewards must be finite numbers")
mean = statistics.fmean(rewards)
std = statistics.stdev(rewards) if sample_std else statistics.pstdev(rewards)
if std <= 1e-9 * max(abs(r) for r in rewards): # no spread relative to the scale
return [0.0] * len(rewards) # identical rewards teach nothing
return [(r - mean) / std for r in rewards]| Test (Python 3.14, standard library only, 25 October 2026) | Result |
|---|---|
| scores 10, 12, 14, 20 | -1.069, -0.535, 0.0, 1.604 |
same, sample_std=True | -0.926, -0.463, 0.0, 1.389 |
| scores 3, 3, 3, 3, or 1.0, 1.0, 1.0000000001 | all 0.0; a bare division raises ZeroDivisionError on the first |
| scores 3, 1, 1, 1, 4 | 0.791, -0.791, -0.791, -0.791, 1.581, sum 0.0 |
| scores 1e-10, 2e-10, 3e-10 (a small scale, real spread) | -1.225, 0.0, 1.225; a fixed absolute threshold of 1e-9 would have returned zeros |
| one sample only, or a NaN or infinite score | ValueError as intended |
Source[3] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models
Check yourself
Check: five scores, one surprise
Five answers score 3, 1, 1, 1 and 4. Using the population standard deviation, which answer is pushed up hardest, and what do the five advantages add up to? What would you expect from a group that scored 2, 2, 2, 2, 2?
Answer
The mean is 2 and the standard deviation is about 1.265. The answer scoring 4 gets +1.581, the 3 gets +0.791, and each 1 gets -0.791. The sum is 0 by construction. The all-equal group has zero spread, gives every answer an advantage of 0, and contributes no learning signal.
Compare
Two separate choices: the optimiser and the reward
| Optimiser | Where the score comes from | |
|---|---|---|
| DeepSeekMath | GRPO | A reward model the authors trained |
| DeepSeek-R1-Zero | GRPO | Rules: an accuracy reward (a checkable final answer for maths, test cases run by a compiler for code) plus a format reward, combined with equal weight |
- The R1 paper says it avoided neural reward models for reasoning because they are susceptible to reward hacking in large-scale RL.
- “Reinforcement learning with verifiable rewards” therefore names a reward source. GRPO is an update rule that works with either source.
Sources[3] DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Models[11] DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning
Concept
Limits of checkable rewards
- Rollouts. Each update needs fresh samples per prompt, so generation tends to dominate the bill. This follows from the algorithm; it is not a measured figure.
- The checker is a proxy too. A test suite with thin coverage can be passed without solving the problem, so verifiers need adversarial review like any metric.
- Only checkable tasks. Warmth, helpfulness and caution have no unit test, which is why preference methods stay in use.
Concept
Goodhart’s law in RLHF
- The paper opens with the adage: “When a measure becomes a target, it ceases to be a good measure.”
- Its setup: a fixed “gold” reward model stands in for humans, and a proxy reward model is trained on the gold model’s labels.
- Finding: optimising the proxy too far can hinder the gold score. The curve has different forms for reinforcement learning and for best-of-n sampling, and its coefficients change smoothly with the size of the proxy reward model.
- Typical symptoms in practice, as general patterns and not findings of this paper: longer answers, flattery, confident wording, formatting the judge likes.
Diagram
Watching for it during training
Concept
Defences, and what each costs
| Defence | Cost |
|---|---|
| Larger beta or KL weight | Gives up some of the gain |
| Stop early on a held-out measure, not the training reward | Needs an evaluation you trust |
| Fresh preference pairs from the current model’s outputs | More labelling |
| Checkable rewards where the task allows | Verifier design; the verifier can still be gamed |
| Length and style checks on every win rate | Extra evaluation work |
DPO has no separate reward model, but it is not exempt. The IPO analysis describes overfitting to one-sided pairs, and SimPO’s ablation shows length being exploited. Fewer moving parts does not mean safe.
Sources[6] A General Theoretical Paradigm to Understand Learning from Human Preferences[9] SimPO: Simple Preference Optimization with a Reference-Free Reward
Compare
Choosing a method (judgment, not data)
| You have | Likely first choice | Main cost |
|---|---|---|
| Good demonstrations of a format or skill | SFT, with LoRA first | Writing demonstrations |
| Chosen and rejected pairs on near-policy outputs | SFT, then DPO | Pairs; the reference stays loaded |
| Pairs but tight memory | Test ORPO or SimPO against DPO | Less settled tooling; validate yourself |
| Only thumbs-up or thumbs-down logs | KTO | A noisy binary signal |
| A checkable task and a sampling budget | GRPO with verifiable rewards | Rollouts and verifier design |
Prompting and retrieval come first, and any tune must beat that baseline. Preference tuning also carries the alignment tax, so run regression and safety suites before shipping.
Check yourself
Check: split the goal
A coding assistant must produce SQL that passes a fixed set of query tests, and must also sound less curt to users. The team has the test suite, 8 GPUs and no preference data yet. Which part would you handle with which method, and what is your stopping rule?
Answer
The SQL correctness part has a checkable score, so it fits GRPO with verifiable rewards, after SFT if demonstrations exist and with the tests reviewed for gaps. Tone has no test and needs preference data, so collect pairs first and then try DPO. Stop each run on a held-out measure plus a length check, not on the training reward.
Concept
Interview angle
Provenance: Common industry pattern. These are questions this topic tends to draw; none is verified as asked by a named company.
- Likely prompts: compare RLHF, DPO and GRPO; write the DPO loss and explain beta; defend against reward hacking; choose a method for thumbs-only data.
- A strong answer names the data each method needs, the models held in memory, the failure mode and a choice rule.
- It separates the optimiser from the reward source, and says published gains are not a ranking.
Summary
Summary
- Preference methods learn from comparisons; they start from an SFT model.
- RLHF: SFT, reward model, RL with a KL leash to the SFT model. The leash keeps the policy where the scorer is trusted, at some cost in gain.
- DPO: −logσ(β×difference of two log-ratios) against a frozen reference. Larger beta saturates sooner.
- IPO, KTO, ORPO and SimPO each change one thing; their papers’ gains are not a ranking.
- GRPO: advantage is the score minus the group mean, over the group standard deviation, with no critic. Verifiable rewards are a reward source.
- Any scorer can be gamed: monitor held-out quality and length.
References
References & Sources (1 of 3)
Training language models to follow instructions with human feedback (opens in a new tab)
Long Ouyang, Jeff Wu, Xu Jiang, Diogo Almeida, et al.2022NeurIPS 2022Paper
arXiv 2203.02155 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2022/hash/b1efde53be364a73914f58805a001731-Abstract-Conference.html
Used for The three-step pipeline, 4 to 9 ranked outputs per prompt, the per-token KL penalty from the SFT model, the alignment tax and PPO-ptx, and the 1.3B versus 175B labeler preference result, and the note that pairs from one prompt are highly correlated and are trained together as one batch element.
Direct Preference Optimization: Your Language Model is Secretly a Reward Model (opens in a new tab)
Rafael Rafailov, Archit Sharma, Eric Mitchell, Christopher D. Manning, et al.2023NeurIPS 2023Paper
arXiv 2305.18290 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2023/hash/a85b405ed65c6477a4fe8302b5e06ce7-Abstract-Conference.html
Used for The DPO loss, beta as the deviation control, the SFT model as reference, what DPO removes (reward model, RL loop, sampling), and the reason for the KL constraint.
Zhihong Shao, Peiyi Wang, Qihao Zhu, Runxin Xu, et al.2024Preprint
arXiv 2402.03300 (opens in a new tab)https://arxiv.org/abs/2402.03300
Used for GRPO: group-normalised advantage, no critic, KL term placed in the loss, and a trained reward model scoring the groups.
Scaling Laws for Reward Model Overoptimization (opens in a new tab)
Leo Gao, John Schulman, Jacob Hilton2023ICML 2023 (PMLR 202)Paper
arXiv 2210.10760 (opens in a new tab)https://proceedings.mlr.press/v202/gao23h.html
Used for Goodhart's law framing, the gold and proxy reward setup, over-optimisation of the proxy, and the finding that the KL penalty mainly makes the gold score level off sooner.
DPO Trainer (TRL documentation) (opens in a new tab)
Hugging Face2026Documentation
https://huggingface.co/docs/trl/dpo_trainer
Used for Implementation notes read on 25 October 2026 (main-branch docs, newest tagged version listed v1.16.0): beta default 0.1, reference defaults to the starting policy, precomputed reference log-probabilities.
References
References & Sources (2 of 3)
A General Theoretical Paradigm to Understand Learning from Human Preferences (opens in a new tab)
Mohammad Gheshlaghi Azar, Zhaohan Daniel Guo, Bilal Piot, Remi Munos, et al.2024AISTATS 2024 (PMLR 238)Paper
arXiv 2310.12036 (opens in a new tab)https://proceedings.mlr.press/v238/gheshlaghi-azar24a.html
Used for IPO: why near-deterministic preferences weaken the KL control in DPO, the squared loss toward a finite target gap, and tau as the regularisation parameter.
Model Alignment as Prospect Theoretic Optimization (opens in a new tab)
Kawin Ethayarajh, Winnie Xu, Niklas Muennighoff, Dan Jurafsky, et al.2024ICML 2024 (PMLR 235)Paper
arXiv 2402.01306 (opens in a new tab)https://proceedings.mlr.press/v235/ethayarajh24a.html
Used for KTO: binary desirable or undesirable labels, a reference model in the standard form, the 1B to 30B and 90 percent fewer examples results, and no universally best loss.
ORPO: Monolithic Preference Optimization without Reference Model (opens in a new tab)
Jiwoo Hong, Noah Lee, James Thorne2024EMNLP 2024Paper
arXiv 2403.07691 (opens in a new tab)https://aclanthology.org/2024.emnlp-main.626/
Used for ORPO: odds-ratio term added to the SFT loss, one stage, no reference model, about half the forward passes.
SimPO: Simple Preference Optimization with a Reference-Free Reward (opens in a new tab)
Yu Meng, Mengzhou Xia, Danqi Chen2024NeurIPS 2024Paper
arXiv 2405.14734 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2024/hash/e099c1c9699814af0be873a175361713-Abstract-Conference.html
Used for SimPO: length-normalised reward, target margin, reference-free, reported runtime and memory savings, and the length-normalisation ablation.
Judging LLM-as-a-Judge with MT-Bench and Chatbot Arena (opens in a new tab)
Lianmin Zheng, Wei-Lin Chiang, Ying Sheng, Siyuan Zhuang, et al.2023NeurIPS 2023 Datasets and Benchmarks TrackPaper
arXiv 2306.05685 (opens in a new tab)https://proceedings.neurips.cc/paper_files/paper/2023/hash/91f18a1287b398d378ef22505bf41832-Abstract-Datasets_and_Benchmarks.html
Used for LLM judges show position, verbosity and self-enhancement biases, which is why a model-judged win rate needs a length check.
References
References & Sources (3 of 3)
DeepSeek-R1 incentivizes reasoning in LLMs through reinforcement learning (opens in a new tab)
Daya Guo, Dejian Yang, Haowei Zhang, Junxiao Song, et al.2025Nature 645, 633-638Paper
DOI 10.1038/s41586-025-09422-z (opens in a new tab)arXiv 2501.12948 (opens in a new tab)https://www.nature.com/articles/s41586-025-09422-z
Used for Rule-based accuracy and format rewards combined with the same weight under GRPO, and the stated reason for avoiding neural reward models (Nature version, read 24 October 2026).
Keys: ← → move, Home End first and last, F full screen.