Machine Learning
Research shows sequential fine-tuning approach for LLMs has fundamental mathematical flaw
A new paper argues that the standard method for training large language models—first applying supervised fine-tuning then reinforcement learning—causes unavoidable performance degradation due to conflicting optimization objectives.
The industry-standard recipe for preparing large language models involves two sequential phases: supervised fine-tuning (SFT) followed by reinforcement learning (RL). However, researchers now argue this approach has a fundamental mathematical problem that cannot be resolved by simply adjusting hyperparameters.
The core problem#
According to a position paper on arXiv, the SFT-then-RL paradigm suffers from a critical limitation: the two training objectives operate in nearly orthogonal parameter spaces, meaning they optimize different parts of the model's weights. As a result, the RL phase unavoidably undoes some of the capabilities the model acquired during SFT.
The researchers formalize this using the Polyak-Lojasiewicz condition—a mathematical property empirically observed in over-parameterized networks. Their analysis shows that RL increases the supervised fine-tuning loss by at least a quantity proportional to the distance between the final RL model and the optimal SFT model. While applying a KL penalty (a constraint that prevents the model from drifting too far from its SFT checkpoint) can limit this damage, the paper argues it cannot fix the underlying gradient misalignment.
Experimental evidence#
The authors tested their theory on Qwen3-0.6B across four different tasks—MATH-500, Alpaca, HH-RLHF, and SST-2. In each case, the SFT loss increased after the RL training phase, confirming their predictions. The underlying mechanism involves persistent near-orthogonality: the gradients for SFT and RL point in nearly opposite directions, while the two phases also affect the model's loss landscape differently. SFT tends to flatten it, while RL re-sharpens it.
Proposed solutions#
Rather than accept this limitation, the researchers outline three research directions:
- Gradient surgery approaches: jointly optimizing both objectives while resolving conflicting parameter updates
- Scheduling improvements: terminating RL training at the theoretically optimal moment based on landscape properties
- Scaling analysis: determining the model size threshold above which SFT might become unnecessary altogether