← Latest papers
🤖 machine learning

Provable Benefits of RLVR over SFT for Reasoning Models: Learning to Backtrack Efficiently

This paper theoretically proves that Reinforcement Learning with Verifiable Rewards (RLVR) outperforms Supervised Fine-Tuning (SFT) in reasoning tasks by enabling models to efficiently learn backtracking from dead ends, thereby achieving an exponential reduction in inference-time compute costs.

Original authors: Stanley Wei, Juno Kim

Published 2026-06-23
📖 5 min read🧠 Deep dive

Original authors: Stanley Wei, Juno Kim

Original paper licensed under CC BY 4.0 (http://creativecommons.org/licenses/by/4.0/). This is an AI-generated explanation of the paper below. It is not written or endorsed by the authors. For technical accuracy, refer to the original paper. Read full disclaimer

Imagine you are teaching a robot how to solve a maze. The maze has a starting point, a fork in the road, and then many long, winding paths (branches). Only one path leads to the treasure (the correct answer); the others are dead ends.

This paper compares two ways of teaching this robot to navigate the maze: Supervised Fine-Tuning (SFT) and Reinforcement Learning with Verifiable Rewards (RLVR).

The Two Teachers

1. The "Perfect Guide" Teacher (SFT)
Imagine a teacher who only shows the robot a video of someone solving the maze perfectly. The robot watches the guide walk straight from the start to the treasure, never making a mistake, never turning back, and never hitting a dead end.

  • The Result: The robot learns to mimic the guide perfectly. It knows exactly which way to go if it is on the right path.
  • The Problem: The robot has never seen what happens when you take a wrong turn. It has no idea how to get out of a dead end. If it accidentally steps onto the wrong path, it keeps walking forward until it hits a wall, then it gets confused and wanders aimlessly, trying to find a way out. It doesn't know how to "backtrack" efficiently.

2. The "Trial-and-Error" Teacher (RLVR)
Imagine a teacher who lets the robot try to solve the maze itself. Every time the robot finishes, the teacher gives it a score: "Great job if you found the treasure quickly! Bad score if you got lost or took too long."

  • The Result: The robot tries many paths. Sometimes it picks the right one. Sometimes it picks a wrong one, hits a dead end, and realizes, "Oh no, I'm stuck." Because it gets a bad score for wasting time, it learns a crucial skill: how to turn around and go back quickly.
  • The Benefit: The robot learns not just the right path, but also how to efficiently retreat from a wrong path and try a different one.

The Big Discovery: The "Backtracking" Gap

The paper proves mathematically that the difference between these two robots is massive, especially as the maze gets deeper.

  • The SFT Robot (The Guide Student): If it picks the wrong branch, it gets stuck. It wanders back and forth in that dead-end branch for a very long time before it finally gives up and tries to go back to the fork. As the maze gets deeper, the time it wastes grows exponentially. It's like trying to find a needle in a haystack by digging through the whole haystack every time you pick the wrong spot.
  • The RLVR Robot (The Trial Student): Because it learned to backtrack efficiently, it realizes it's on the wrong branch, turns around immediately, and tries the next branch. Its time to find the treasure grows linearly (slowly and steadily) with the size of the maze.

The Analogy:
Imagine you are looking for a specific book in a library with 100 aisles.

  • The SFT robot is like someone who was only shown the map to the correct aisle. If they accidentally walk into the wrong aisle, they keep walking to the very back of that aisle, realize they are lost, and then have to walk all the way back to the front to try the next aisle. They waste a huge amount of time.
  • The RLVR robot is like someone who has been in the library before and knows that if they don't see the book after a few steps, they should immediately turn around and try the next aisle. They find the book much faster.

The "Distillation" Twist

The paper also found a clever workaround. If you take the RLVR robot (the one that learned to backtrack) and record its entire journey—including all the times it got stuck and how it got out—you can use those recordings to teach a new robot using the "Perfect Guide" method (SFT).

By showing the new robot the entire story of the smart robot (including the mistakes and the recoveries), the new robot learns to backtrack efficiently too. It's like taking the notes of a student who learned by failing and giving those notes to a new student; the new student learns the lesson without having to fail themselves.

Summary of Claims

  • SFT (learning only from perfect examples) fails to teach models how to efficiently recover from mistakes. It leads to exponential slowness when the model makes a wrong turn.
  • RLVR (learning from rewards and failures) teaches models how to efficiently backtrack. It leads to linear speed, which is much faster for complex problems.
  • Distillation (teaching a model using the successful traces of an RLVR model) can transfer this efficient backtracking ability to a new model.

The paper does not claim this applies to medical diagnoses, self-driving cars, or specific future technologies; it strictly focuses on the mathematical proof of why one training method is better than the other for logical reasoning tasks modeled as pathfinding.

Drowning in papers in your field?

Get daily digests of the most novel papers matching your research keywords — with technical summaries, in your language.

Try Digest →