TLDR: A new research paper challenges the common belief that Supervised Fine-Tuning (SFT) merely memorizes data and fails to generalize, while Reinforcement Learning (RL) offers broader robustness. The study reveals that SFT’s perceived limitations often stem from “frozen-prompt artifacts.” By introducing prompt diversity during training, SFT can effectively generalize to unseen instruction variants. Furthermore, incorporating Chain-of-Thought (CoT) supervision enables SFT to tackle strictly harder tasks. The combination of prompt diversity and CoT allows vanilla SFT to achieve robust generalization across both instruction and difficulty variations, matching or even surpassing RL baselines, while maintaining SFT’s simplicity and stability. This suggests that with well-designed data, SFT can be a highly effective and practical method for achieving strong generalization in large language models.
For a long time, the world of artificial intelligence, especially in the realm of large language models (LLMs), has held a common belief: Supervised Fine-Tuning (SFT) is great for learning specific tasks but tends to just memorize its training data, struggling to adapt to new situations. Reinforcement Learning (RL), on the other hand, was seen as the champion of true generalization and robustness. However, a recent research paper titled “Debunk the Myth of SFT Generalization” by Xiaofeng Lin, Hejian Sang, Zhipeng Wang, and Xuezhou Zhang, challenges this narrative, suggesting that SFT might be far more capable than previously thought.
The researchers revisited the generalization capabilities of SFT through a systematic evaluation on two distinct decision-making benchmarks: Sokoban, a puzzle game requiring strategic planning, and General Points, an arithmetic reasoning task. Their findings lead to a surprising conclusion: much of SFT’s perceived limitations aren’t inherent to the method itself, but rather stem from how it’s typically trained and evaluated.
The “Frozen-Prompt” Problem
One of the core insights of the paper is the concept of “frozen-prompt artifacts.” When SFT models are trained using fixed instruction templates – for example, always using the same words for actions in Sokoban or consistent card mappings in General Points – they tend to overfit to these specific training semantics. This means they learn to associate the task with the exact wording of the instructions, rather than understanding the underlying intent. Consequently, when faced with new instruction variants at test time (e.g., different words for “up” or new card values), the models fail because they cling to the memorized training vocabulary.
To prove this, the researchers conducted an ingenious experiment using “fake environments.” In these setups, the model was presented with new instructions (e.g., numeric actions for Sokoban), but the environment still scored responses based on the original training semantics (e.g., expecting “up,” “down”). The SFT models performed well in these fake environments, almost as if they were still in the original training setting, strongly supporting the idea that they were memorizing the prompt’s surface form rather than truly adapting to new instructions.
Prompt Diversity: Breaking the Memorization Shortcut
The solution to the “frozen-prompt” problem, the paper reveals, is surprisingly straightforward: introduce prompt diversity during training. For Sokoban, this meant replacing canonical action names with randomly sampled words and explicitly stating the new mapping in the prompt. For General Points, it involved training with multiple face-card interpretations. This simple intervention forces the model to pay attention to the instructions as part of the input, rather than treating them as fixed, irrelevant constants. The results were dramatic: SFT models trained with prompt diversity showed strong generalization to unseen instruction variants without sacrificing performance on familiar tasks. Crucially, their success on the “fake environments” collapsed, indicating they were no longer relying on memorized surface forms.
Chain-of-Thought (CoT) for Harder Challenges
While prompt diversity addressed instruction variations, the researchers then posed a stricter question: can SFT generalize to strictly harder tasks that demand more complex reasoning? Standard SFT, when trained only on direct answers, struggled significantly with increased complexity, such as larger Sokoban grids with more boxes or arithmetic problems with out-of-distribution values or more cards. This suggested that SFT was learning “shortcut solutions” that didn’t translate to deeper understanding.
Here, Chain-of-Thought (CoT) supervision emerged as a powerful tool. By providing SFT models with demonstrations that include intermediate reasoning steps, CoT acts as an “algorithmic scaffold.” This markedly improved SFT’s transfer capabilities to more difficult regimes, enhancing performance on tasks requiring longer-horizon planning or greater combinatorial depth. CoT helped SFT learn transferable procedures rather than brittle, task-specific mappings.
Also Read:
- Unraveling How Large Reasoning Models Arrive at Answers
- Unpacking AI’s Inner Workings: How Training Shapes Reasoning Circuits
The Best of Both Worlds: Diversity + CoT
The paper’s most compelling finding is that combining prompt diversity with CoT supervision achieves the best of both worlds. This dual approach delivers robust generalization across both instruction-variant and difficulty-variant settings. The models not only adapted to new instructions but also scaled effectively to harder problems. In many cases, this combined SFT approach matched or even surpassed RL baselines on the benchmarks, all while retaining SFT’s inherent simplicity and stability, which are significant practical advantages over the often complex and unstable nature of RL-based fine-tuning.
These findings fundamentally challenge the long-held belief that SFT is inherently inferior to RL in terms of generalization. Instead, they champion a “data-centric perspective”: with appropriately curated demonstrations that include prompt diversity and Chain-of-Thought reasoning, vanilla SFT can generalize as strongly as RL. This reframe of the SFT-RL trade-off suggests that SFT, with careful data design, could be a more practical and efficient path forward for many LLM applications. You can read the full research paper here.


