# SFT-then-RL Outperforms Mixed-Policy Methods for LLM Reasoning

*Alexis Limozin, Eduard F Ďurech, Torsten Hoefler, Imanol Schlag, Valentina Pyatkin*

[NeurIPS page](https://neurips.cc/virtual/2026/poster/139026) · [OpenReview](https://openreview.net/forum?id=pWkCETOQnA) · [alphaXiv](https://www.alphaxiv.org/abs/2604.23747) · [Open on the map](../papers.html#p139026)

Category: [LLM Post-Training: RL & Distillation](../pcat/18.md) › [Self-Improving Language Model Distillation](../pgroup/43.md) · Type: empirical study · Keywords: LLM reasoning, mixed-policy methods, SFT-then-RL, bug detection, baseline correction, math benchmarks

Areas: [LLM Reasoning](../areas/reasoning.md) › Reasoning Strategies › RL Post-Training; [RL for LLMs & Agents](../areas/llm-rl.md) › Language Model Alignment › Fine-Tuning Methods

## Summary
The paper uncovers two bugs in baseline implementations that inflate the apparent performance of mixed-policy LLM reasoning methods, and shows that correcting them makes the standard SFT-then-RL pipeline outperform them on math benchmarks.

## Explained to a 5-year-old
Some grown-up scientists were trying to teach a smart computer to solve math problems. They used two different ways to teach it, and the results seemed better for a new way. The scientists discovered that the new way’s tests had hidden mistakes that made it look worse. After fixing those mistakes, the old way actually did better. This tells us we need to check our tests carefully.

## Explained to a 5-year-old, longer
Researchers wanted a computer to solve math problems like people do. They tried two teaching methods: one that first learns from examples and then learns from trying, and another that mixes learning from examples and trying all the time. The mixed method seemed to work better in many papers. However, the researchers noticed something odd about how the experiments were set up. There was a bug in the computer’s memory that made it forget some small pieces of information during training. There was also a bug in how the scores from different small groups of problems were added together, which gave the wrong total. These two bugs made the mixed method look worse than it actually was. When the bugs were fixed, the original simple method (first learn, then try) performed much better. The improvement was bigger for some computer models than for others. Even a very short version of the second learning step (only 50 tries) beat the mixed method while using less computer power. This shows that hidden mistakes in experiments can hide the true performance of ideas. It also reminds us to be careful when comparing different ways of teaching computers.

## For a technical reader
The paper investigates why recent mixed-policy methods for LLM reasoning appear to outperform the standard SFT-then-RL pipeline. It discovers two bugs: a CPU-offloaded optimizer bug that drops micro-batches during gradient accumulation, and a loss-aggregation bug that misweights per-mini-batch losses. After fixing these bugs, the standard pipeline exceeds all mixed-policy baselines by +3.8 points on Qwen2.5-Math-7B and +22.2 points on Llama-3.1-8B, and even a truncated 50-step version outperforms them with fewer FLOPs.

## Problem
Adapting large language models to solve mathematical reasoning tasks is challenging, and recent approaches that interleave supervised and reinforcement learning signals claim superior performance, but these claims may be compromised by hidden bugs in the evaluation pipeline.

## Method
The approach identifies and characterizes two bugs in the baseline implementations: a CPU-offloaded optimizer bug that drops intermediate micro-batches during gradient accumulation, and a loss-aggregation bug that incorrectly weights per-mini-batch losses. After fixing these bugs, the standard pipeline is re-evaluated against mixed-policy methods.

## Results
After bug fixes, the standard pipeline achieves +3.8 points on math benchmarks with Qwen2.5-Math-7B and +22.2 points with Llama-3.1-8B over mixed-policy methods, and even a truncated 50-step version outperforms them while using fewer FLOPs.

## Contributions
The paper reveals two critical bugs that affect the evaluation of mixed-policy LLM reasoning methods, quantifies their impact on reported performance gaps, and demonstrates that correcting them restores the superiority of the standard training pipeline.

## Research questions this paper is counted under

- [How can we identify and correct failures in LLM reasoning tasks?](../q/435.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/139026)
