Online SFT for LLM Reasoning: Surprising Effectiveness of Self-Tuning without Rewards
Mengqi Li, Lei Zhao, Anthony Man-Cho So, Ruoyu Sun, Xiao Li
TL;DR
This work introduces Online SFT (OSFT), a reward-free, online self-generated data finetuning method to improve LLM reasoning. OSFT alternates self-data generation at a low sampling temperature with supervised fine-tuning at a separate training temperature, using a loss that reinforces the model’s pretraining-based preferences rather than learning new rewards. Experiments show OSFT achieves downstream performance comparable to strong RLVR baselines like GRPO across six mathematical benchmarks, with notable data efficiency and robustness demonstrated via extensive ablations. The approach offers a simple, practical alternative to reward-based methods, maintaining effectiveness across math-specific and general base models while highlighting the importance of decoupled temperature dynamics in stabilizing learning.
Abstract
We present a simple, self-help online supervised finetuning (OSFT) paradigm for LLM reasoning. In this paradigm, the model generates its own responses and is immediately finetuned on this self-generated data. OSFT is a highly efficient training strategy for LLM reasoning, as it is reward-free and uses just one rollout by default. Experiment results show that OSFT achieves downstream performance on challenging mathematical reasoning tasks comparable to strong reinforcement learning with verifiable rewards (RLVR) methods such as GRPO. Our ablation study further demonstrates the efficiency and robustness of OSFT. The major mechanism of OSFT lies in facilitating the model's own existing preference (latent knowledge) learned from pretraining, which leads to reasoning ability improvement. We believe that OSFT offers an efficient and promising alternative to more complex, reward-based training paradigms. Our code is available at https://github.com/ElementQi/OnlineSFT.
