Blog
The Best SFT Data Is the Data That Fits the Model
In the previous post, I mentioned that there is no single best SFT loss — only the SFT loss that best fits the model. The same holds for data: the SFT data that fits the model is the best.
GRAPE: Selecting Responses That Fit the Model
The Best Instruction-Tuning Data are Those That Fit (NeurIPS 2025) proposes GRAPE:

Assume that for a given prompt, there are multiple candidate responses. GRAPE's idea is to select the response with the lowest PPL under the model being fine-tuned, and use it as the SFT sample for training.
Formally, for each instruction, GRAPE picks the response with the highest length-normalized probability under the target model:
Note that denotes the base model — in the paper's experiments, the model being fine-tuned is always a base model, i.e., an LLM without post-training. Therefore, the PPL is computed using a template like:
Question: {instruction}
Answer: {response}
Experimental Results

-
With GRAPE, the results are better than SFT on the full dataset, and better than randomly picking a response;
-
Using reverse GRAPE (picking the response with the highest PPL, the "Highest" setting in the table above) performs even worse than random selection (see the table above). This shows that the magnitude of PPL genuinely affects fine-tuning performance;
-
If the multiple candidate responses come from the same generator, GRAPE is still effective;
-
However, if the responses are self-generated by the target model itself, the performance drops, which may be related to distributional collapse;

-
GRAPE also works for CoT training.

Open Questions
GRAPE is a prior-leaning method (reinforcing the model's existing prior), and both the training and test domains in the paper are fairly common ones. Whether GRAPE still brings gains on domains where the model's prior is weak remains an open question.
Meanwhile, GRAPE is applied to sample selection. Would combining it with a prior-leaning SFT loss (such as DFT) further improve the results? If DFT is used, is GRAPE still needed? And does GRAPE remain effective on instruct models? The paper does not explore these directions, but they are worth studying.
Two Takeaways
From this paper, two broader points can be drawn:
- The quality of SFT data is not only absolute, but also relative (i.e., whether it fits the model);
- Directly distilling from the strongest LLM is not necessarily optimal, because its data may not be the best fit for the model.
References
[1] The Best Instruction-Tuning Data Are Those That Fit (NeurIPS 2025) — arxiv.org/abs/2502.04194
[2] There Is No Single Best SFT Loss