Supervised Reinforcement Learning: From Expert Trajectories to Step-wise Reasoning

Yihe Deng, I-Hung Hsu, Jun Yan, Zifeng Wang, Rujun Han, Gufeng Zhang, Yanfei Chen, Wei Wang, Tomas Pfister, Chen-Yu Lee · OpenReview

Abstract

Large Language Models (LLMs) often struggle with problems that require multi-step reasoning. For small-scale open-source models, Reinforcement Learning with Verifiable Rewards (RLVR) fails when correct solutions are rarely sampled even after many attempts, while Supervised Fine-Tuning (SFT) tends to overfit long demonstrations through rigid token-by-token imitation. To address this gap, we propose Supervised Reinforcement Learning (SRL), a framework that reformulates problem solving as generating a sequence of logical "actions". SRL trains the model to generate an internal reasoning monologue before committing to each action. It provides smoother rewards based on the similarity between the model's actions and expert actions extracted from the SFT dataset in a step-wise manner. This supervision offers richer learning signals even when all rollouts are incorrect, while encouraging flexible reasoning guided by expert demonstrations. As a result, SRL enables small models to learn challenging problems previously unlearnable by SFT or RLVR. Moreover, initializing training with SRL before refining with RLVR yields the strongest overall performance. Beyond reasoning benchmarks, SRL generalizes effectively to agentic software engineering tasks, establishing it as a robust and versatile training framework for reasoning-oriented LLMs.

Introduction

Training Large Language Models (LLMs) for complex, multi-step reasoning tasks—such as competitive mathematics or software engineering—traditionally relies on two paradigms: Supervised Fine-Tuning (SFT) and Reinforcement Learning with Verifiable Rewards (RLVR). However, both approaches encounter significant "dead zones" when applied to smaller models or highly difficult problems.

SFT, or imitation learning, often leads to rigid models that mimic specific phrasing rather than underlying logic, resulting in poor generalization. Conversely, RLVR relies on final-answer verification. For challenging problems where a model's initial success rate is near zero, the reward signal becomes too sparse for effective learning. We introduce Supervised Reinforcement Learning (SRL) to bridge this gap by providing dense, step-wise rewards that guide the model through complex logical trajectories without the constraints of token-level imitation.

Methodology

SRL reformulates problem-solving as a sequential decision-making process. The framework decomposes expert trajectories into discrete "logical actions," such as a single step in an algebraic derivation or a specific bash command in a coding environment.

Comparison of training paradigms: (a) RL with verifiable rewards, (b) standard SFT, and (c) the proposed Supervised Reinforcement Learning (SRL).

As illustrated in the figure above, SRL differs from SFT by allowing the model to generate an internal reasoning monologue (encapsulated in <think> tags) before committing to an action. Crucially, rewards are calculated based on the sequence similarity between the model’s predicted action and the expert’s action, rather than the internal monologue itself. This provides the model with the flexibility to develop its own reasoning style while remaining aligned with the expert's intermediate goals. The optimization process utilizes Group Relative Policy Optimization (GRPO) to calculate relative advantages across model outputs.

Experimental Evaluation

We evaluated SRL using a Qwen2.5-7B-Instruct base model across two demanding domains: mathematics (using the s1k dataset) and software engineering (using SWE-Bench-Verified). The mathematical evaluation spanned several high-level benchmarks, including AMC23 and AIME series.

Performance comparison across math benchmarks for different training strategies using the Qwen2.5-7B-Instruct base model.

As shown in the table above, SRL consistently outperforms both SFT and standard RLVR. While SFT (R1 reasoning) achieved an average accuracy of 16.6% and RLVR reached 24.5%, SRL achieved 27.6%. The most effective strategy identified was the SRL → RLVR pipeline, which uses SRL as a "warm-up" phase to teach reasoning structures before refining for final accuracy with RLVR, reaching a peak average of 28.3%.

Key Insights and Discussion

  • Dense vs. Sparse Rewards: The primary advantage of SRL is the provision of a "ladder" for small models. By rewarding intermediate steps, the model receives a learning signal even when it fails to reach the final correct answer.
  • Emergent Reasoning Patterns: By decoupling the reward from the internal monologue, we observed the emergence of sophisticated behaviors like structured planning and reflective verification. Models learned to use their "thinking budget" more effectively rather than simply increasing output length.
  • Scalability and Generalization: SRL demonstrated consistent gains even on smaller 3B models and successfully generalized to software engineering tasks, where it nearly doubled the resolve rate of SFT-based baselines on the "Oracle File Edit" task (14.8% vs 8.4%).

Conclusion

Supervised Reinforcement Learning offers a robust solution to the limitations of current LLM training paradigms for reasoning. By combining the guidance of expert trajectories with the exploratory freedom of reinforcement learning, SRL enables models to master complex tasks that were previously unlearnable. Future work will focus on refining similarity functions and applying SRL to less structured domains where discrete "actions" are more difficult to define.

Summary updated

BibTeX
@inproceedings{deng2026supervised,
  author = {Yihe Deng and I-Hung Hsu and Jun Yan and Zifeng Wang and Rujun Han and Gufeng Zhang and Yanfei Chen and Wei Wang and Tomas Pfister and Chen-Yu Lee},
  title = {{Supervised Reinforcement Learning: From Expert Trajectories to Step-wise Reasoning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=Uro84w2xz5},
}
Figure