# Rethinking "RL Generalizes, SFT Memorizes": The Role of SFT Data

*Yunlong Hou, Fengzhuo Zhang, Yuan Cheng, Jiachun Pan, Xingyao Li, Zhuoran Yang*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/149183) · [OpenReview](https://openreview.net/forum?id=sGr1f8yocs) · [Open on the map](../papers.html#p149183)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Reasoning Distillation for LLMs](../pgroup/645.md) · Type: empirical study · Keywords: supervised fine-tuning, reinforcement learning, generalization, data quality, language model training

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Strategies › RL Post-Training; [RL for LLMs & Agents](../areas/llm-rl.md) › LLM Reasoning Reinforcement Learning › Post-training generalization

## Summary
This paper reexamines the distinction between RL and SFT by analyzing how the source, scale, and diversity of SFT data affect generalization, showing that carefully mixed and scaled SFT data can match or exceed RL performance.

## Explained to a 5-year-old
Big computer programs learn to talk using two ways: one where they get rewards for good answers, and another where they copy answers from books. This paper looks at the book-learning part and finds that the kind of books and how many there are matter a lot. If you give them a mix of good books and enough practice, they can learn as well as the reward-learning programs. Even better, they can become smarter than the reward-learning ones. So choosing the right learning data helps computers think better.

## Explained to a 5-year-old, longer
Big computer programs can learn to answer questions in two ways. One way is to get points when they give correct answers, which is called reinforcement learning. Another way is to copy answers from many example texts, which is called supervised fine-tuning. People have noticed that the reward-learning programs often understand things better than the copying programs. This paper asks why that happens. It looks at the texts that the copying programs study. The source of those texts and how many there are seem very important. When the texts are a good mix and there are enough of them, the copying programs improve a lot. If you give them the same amount of correct examples as the reward programs, they can do just as well. If you also give them the same total amount of practice, they can even beat the reward programs. The paper also shows that larger collections of texts contain many different ways to solve problems. These different ways help the programs think more flexibly. Finally, the authors give a simple theory that explains why these patterns happen. All of these findings help us understand how to make better learning data for computers.

## For a technical reader
The study investigates why models fine-tuned with supervised data often generalize less well than those trained with reinforcement learning. It shows that the quality and quantity of the supervised data-specifically, mixing human-generated examples with model-generated ones and scaling the number of correct instances-dramatically affect performance. By matching the number of correct rollouts and the total training budget to those used in RL, supervised fine-tuning can achieve comparable or even superior generalization. The authors also analyze how larger datasets cover more diverse solution methods, providing richer learning signals. A theoretical analysis of shallow transformer dynamics underpins these empirical observations, offering insight into the underlying mechanisms.

## Problem
Understanding why RL-trained models generalize better than SFT models is a key open question. This paper investigates whether the characteristics of SFT data-its source and quantity-can explain this gap.

## Method
The authors conduct experiments varying the source of SFT data (human-generated vs model-generated) and its scale, matching rollout budgets and correct examples with RL baselines. They also analyze the diversity of solution methods in the data using LLM annotations and provide a theoretical analysis of shallow transformer training dynamics under both RL and SFT.

## Results
The approach shows that aligning the number of correct rollouts and the total rollout budget can make SFT match or surpass RL generalization performance.

## Contributions
It demonstrates that data source and scale are critical for SFT generalization, reveals that larger datasets cover more diverse reasoning methods, and provides a theoretical analysis of training dynamics that explains these empirical observations.

## Research questions this paper is counted under

- [How does the quantity of training data influence model learning and generalization behavior?](../q/862.md)

This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. [Suggest a correction](../feedback/?on=p/149183)
