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

Training small Large Language Models (LLMs) to handle complex, multi-step reasoning is a notorious "Goldilocks" problem. Standard Supervised Fine-Tuning (SFT) is often too rigid, forcing models to mimic expert tokens so closely that they fail to generalize. On the other hand, Reinforcement Learning with Verifiable Rewards (RLVR) is often too sparse; if a problem is difficult, the model might never stumble upon the correct answer, leaving it with no positive signal to learn from.

A new paper proposes a middle path: Supervised Reinforcement Learning (SRL). By breaking reasoning into discrete "actions" and rewarding similarity to expert steps rather than just final answers, the researchers have unlocked a way to make small models significantly smarter.

TL;DR

SRL is a training framework that reformulates reasoning as a sequence of logical "actions" paired with internal "monologues." By providing dense, similarity-based rewards for intermediate steps, it allows small models to learn from expert trajectories without the rigid overfitting of SFT or the "cold start" failures of traditional RL.

What Problem Does This Paper Address?

The authors identify a "reasoning gap" in open-source models (like the 7B parameter class).

  1. SFT is a brittle imitator: When you train a small model on long, complex reasoning traces, it often overfits to the specific phrasing of the teacher model. In some cases, SFT actually degrades the base model's performance because the data is too complex for the student to digest token-by-token.
  2. RLVR suffers from sparsity: If a model has a 0% success rate on a hard math problem, RL cannot help because there are no "correct" rollouts to reinforce. This makes difficult benchmarks like AIME nearly impossible to learn from scratch.

The goal of SRL is to provide a "smoother" learning signal—giving the model partial credit for being on the right track, even if the final answer is wrong.

Methods

The core innovation of SRL is the Action-based formulation. Instead of treating a solution as one long string of text, the authors decompose it into a sequence of steps.

Comparison of training paradigms: RL(VR), SFT, and SRL
  • Step-wise Construction: For every expert solution, they create multiple training instances. For a 5-step solution, the model is given steps 1-2 as context and asked to generate step 3.
  • The Internal Monologue: The model is prompted to generate a <think> block before committing to an "action" (the actual math step or code command).
  • Sequence Similarity Reward: Crucially, the reward is only calculated on the "action," not the "thought." Using Python’s difflib.SequenceMatcher, the system compares the model’s action to the expert’s action. This gives a continuous reward between 0 and 1.
  • The "Think-and-Act" Freedom: Because the internal monologue isn't rewarded, the model is free to develop its own internal reasoning style as long as it reaches the correct intermediate "action."
  • Dynamic Sampling: To keep training efficient, the framework filters out samples where the model's rollouts have very low variance (i.e., the model is either already perfect or completely lost), focusing compute on the "learnable" middle ground.

Datasets

The researchers evaluated SRL across two very different domains:

  • Mathematical Reasoning: They used the s1k-1.1 dataset (1,000 difficult problems with DeepSeek R1 traces). Evaluation was conducted on high-level benchmarks: AMC23, AIME24, AIME25, and Minerva Math.
  • Software Engineering: They extended the framework to agentic tasks using SWE-Bench-Verified, utilizing 5,000 expert trajectories generated by Claude 3.7 Sonnet to teach the model how to use bash commands and edit files to fix real-world GitHub issues.

Key Insights and Ideas

  • Dense Signals Beat Binary Ones: In hard reasoning tasks, "almost right" is infinitely more valuable for learning than "wrong." The similarity reward provides a gradient that guides the model toward the expert's logic.
  • Decoupling Thought from Action: By not penalizing the "thinking" tokens, the authors avoid the "teacher hacking" problem where a student model just learns to mimic the teacher's verbal tics rather than its logic.
  • SRL as a "Cold Start" Mechanism: The most effective pipeline found was SRL → RLVR. SRL gets the model into the right logical neighborhood, and then traditional RL (rewarding only the final correct answer) polishes the model for maximum accuracy.
  • Emergent Behaviors: Models trained with SRL began to show sophisticated patterns like Structured Planning (outlining a roadmap before starting) and Reflective Verification (double-checking work mid-stream).

Key Results

Performance comparison of different training methods across math benchmarks
  • Math Performance: On a 7B model, SRL improved the average score across math benchmarks by 3.0% over the base model. The full SRL → RLVR pipeline achieved a 28.3% average, significantly outperforming SFT (16.6%) and standard RLVR (24.5%).
  • Software Engineering: In the "Oracle" file-editing task on SWE-Bench, SRL achieved a 14.8% resolve rate, a massive 74% relative improvement over the SFT-based SWE-Gym-7B baseline.
  • Efficiency: These gains were achieved using only 1,000 math training examples, proving that high-quality, granular supervision is more important than raw data volume.

Limitations and Future Work

  • Expert Data Dependency: SRL relies heavily on having high-quality, decomposable expert trajectories. If a task can't be easily broken into "steps," SRL might struggle.
  • Initial Competence: The student model must already be "decent" at following instructions. If the model's initial rollouts are complete gibberish, the similarity reward will remain too low to provide a helpful signal.
  • Future Directions: The authors suggest exploring more flexible "action" definitions for domains where reasoning is less linear, and investigating different similarity functions beyond simple text matching.

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