The AI community has largely converged on a "best practice" for building advanced reasoning models like OpenAI’s o1 or DeepSeek-R1: first, perform Supervised Fine-Tuning (SFT) on high-quality reasoning traces, then follow up with Reinforcement Learning (RL) using verifiable rewards. While empirical results prove this recipe works, the underlying mechanics of why these two methods interact so effectively have remained elusive.
A new paper from researchers at the University of Tokyo, titled "RL Squeezes, SFT Expands," pulls back the curtain on this phenomenon. By treating the reasoning process as a navigable graph, the authors demonstrate that SFT and RL play fundamentally different—and complementary—roles in shaping how a large language model (LLM) "thinks."
The Core Concept: Squeeze vs. Expand
Most evaluations of reasoning models focus purely on accuracy. However, accuracy alone fails to capture how a model's internal logic evolves during training. Does RL teach the model entirely new problem-solving strategies, or does it merely force the model to reliably execute strategies it already learned during pre-training?
To answer this, the researchers introduced a novel framework to analyze LLM reasoning at two distinct levels of granularity: the trajectory level (the complete output) and the step level (individual reasoning steps).
The overarching finding is a complementary dynamic: SFT expands the model's repertoire of correct reasoning paths, acting as an explorer. Conversely, RL "squeezes" the model, acting as a pruner that suppresses incorrect paths and concentrates logical operations into a few highly efficient steps.
Methodology: Mapping the Reasoning Graph
The researchers analyzed models ranging from 1.5B to 14B parameters (including Qwen2.5 and Llama-3.1 variants) across verifiable domains like mathematics (AIME, AMC) and coding (HumanEval). They employed two primary analytical lenses:
- Trajectory-Level Analysis: By sampling hundreds of responses for the same problem and using hierarchical clustering, the team counted the number of unique reasoning paths the model generated. This revealed how diverse the model's problem-solving approaches were.
- Step-Level Analysis (Reasoning Graphs): Segmenting reasoning traces into individual sentences, the researchers converted them into vector embeddings and clustered them into "semantic nodes." By mapping how the model transitions between these nodes, they constructed a formal Reasoning Graph. They then applied classical network science metrics—such as degree, betweenness centrality, and modularity—to evaluate the topology of the model's logic.
Key Insights
SFT is an Explorer, RL is a Pruner
At the trajectory level, SFT significantly increases the number of unique correct trajectories. It essentially "teaches" the model new ways to solve a problem that were absent in the base model. However, SFT is relatively "lazy" about errors; it often preserves the incorrect paths inherited from the base model.
RL, on the other hand, dramatically reduces the number of unique incorrect trajectories. It squeezes the probability mass away from failure modes. Interestingly, RL also reduces the diversity of correct paths, focusing the model strictly on its most reliable and efficient strategies.
The "Hub" Effect in Reasoning Graphs
At the step level, the differences in graph topology are striking. RL steepens the decay rate of node visitation frequency by about 2.5 times. This means RL makes a few specific reasoning steps (hubs) extremely important. SFT does the opposite: it flattens the graph (reducing the decay rate to about one-third), distributing the reasoning work more uniformly across many different steps.
As visualized in the reasoning graphs, base models tend to exhibit "community-structured" logic with high modularity. RL transforms these into "hub-centralized" graphs, while SFT creates "globally connected" graphs with high algebraic connectivity. Notably, both RL and SFT increase the proportion of cyclic structures in the graph, suggesting that both methods encourage iterative "thinking behaviors" like backtracking and self-verification.
Why the Two-Stage Pipeline Works
This topological perspective perfectly explains the success of the modern SFT $\rightarrow$ RL training pipeline. SFT provides the "raw material" by expanding the diverse set of correct paths a model can take. RL then "sculpts" that material, suppressing the bad paths and streamlining the good ones into highly efficient, centralized hubs.
Furthermore, the authors noted that while RL models boast higher Pass@1 (initial accuracy), Base models often catch up at high k (when allowed many attempts). This confirms that RL doesn't necessarily create new capabilities out of thin air; rather, it makes existing capabilities much more likely to be selected.
Future Directions
While this study is currently limited to verifiable domains like math and code, it opens exciting new avenues for AI development. The authors suggest that these graph metrics—such as identifying critical "hub" nodes—could eventually be used to design automated process rewards. This could make future RL training even more efficient by explicitly rewarding models for hitting key logical milestones, rather than just arriving at the correct final answer.
Summary updated