Blog
There Is No Single Best SFT Loss
Paper: Beyond Log Likelihood: Probability-Based Objectives for Supervised Fine-Tuning across the Model Capability Continuum (thanks to a reader on Xiaohongshu for recommending this one).

A Parametrized Family of SFT Objectives
First, the paper uses a parametrized family to abstract SFT objectives:
When α = 0, this reduces to f(p) = −log p — the standard negative log-likelihood (NLL) loss.
Different values of α give different gradient structures:

When α is small, low-probability tokens receive larger gradients; when α is large, mid- and high-probability tokens receive larger gradients.
Prior-Leaning vs. Prior-Averse
The paper defines two classes of SFT strategies:
- Prior-leaning: reinforces the model's existing (prior) abilities, assigning larger gradients to mid- and high-probability tokens;
- Prior-averse: corrects the model's prior, assigning larger gradients to low-probability tokens.
Under this framing:
- −log p (α = 0) is prior-averse;
- −p (α = 1) is prior-leaning;
- −log p + a threshold (i.e., not learning low-probability tokens at all) is also prior-leaning.
The Key Finding: It Depends on the Model's Prior
The paper studies the relationship between (prior-leaning vs. prior-averse; strength of the model's prior) and task performance. The conclusion:
- When the model's prior is strong, prior-leaning objectives work better;
- When the model's prior is weak, prior-averse objectives work better;
- When the model's prior is in between, there is no clear winner.
This means there is no single best SFT loss — the better objective is the one that fits the model.
How to Gauge the Strength of the Model's Prior
Two ways:
- Look at the proportion of this data in the model's training corpus;
- Look at the model's mean predicted accuracy on the training data.

Note that prior strength is jointly determined by both the model and the task: for the same task, it may be a weak prior for model A (favoring prior-averse objectives), but a strong prior for model B (favoring prior-leaning objectives).

Implications for SFT Variants
It is generally believed that online RL is a typical prior-leaning method. Likewise, the SFT variant algorithms I shared before (DFT / ASFT / PSFT) as well as GEM are also prior-leaning.
So these SFT variants are not necessarily superior to NLL — the strength of the model's prior has to be taken into account.
References
[1] Beyond Log Likelihood: Probability-Based Objectives for Supervised Fine-Tuning across the Model Capability Continuum (ICML 2026) — arxiv.org/abs/2510.00526
[2] Official code — github.com/GaotangLi/Beyond-Log-Likelihood


