Introduction
Large Language Models (LLMs) have achieved remarkable reasoning capabilities, largely driven by post-training pipelines that combine Supervised Fine-Tuning (SFT) with Reinforcement Learning (RL). Despite these empirical successes, the underlying mechanisms explaining why this combination is so effective remain underexplored.
Empirically, SFT alone tends to be brittle. It successfully imitates "golden" reasoning paths but often fails when encountering out-of-distribution (OOD) problems that require a slightly different sequence of steps. RL, conversely, unlocks compositional generalization—the ability to take familiar reasoning steps and reassemble them in unfamiliar ways. This paper moves beyond empirical observation to provide a formal, theoretical explanation for how RL reshapes reasoning traces to enable this flexibility, acting as a "decomposer" that breaks down complex supervised traces into reusable modules.
The Hierarchical Latent Selection Model
To formalize reasoning, the authors propose a Hierarchical Latent Selection Model. In this framework, a reasoning trace is not merely a string of tokens; it is generated by a cascade of discrete latent (hidden) selection variables corresponding to reusable atomic modules. These modules fall into two categories:
- Atomic Skills: Local operations or computations (e.g., performing an addition or applying a string transformation).
- Routing Mechanisms: The logic determining how intermediate information is selected, reused, and composed (e.g., taking the result from step 1 and feeding it into step 3).
The paper theoretically proves that these latent modules are "identifiable" from observed traces under specific conditions. While SFT provides the raw materials (the atomic modules), RL's exploratory nature provides sufficient coverage to identify this latent structure and enable compositional generalization.
Experimental Methodology
To validate the theoretical framework, the researchers designed controlled synthetic experiments alongside real-world evaluations:
- Synthetic String Transformations: A controlled environment featuring 24 atomic skills and 10 routing mechanisms. This setup allowed for precise interventions, such as withholding specific skills or routing patterns during training, to observe how SFT and RL respond.
- Real-World Math Benchmarks: To ensure applicability to real models, the theory was tested on 643 problems from MATH-500, AIME 2024/2025, AMC, and GSM8K.
- Models: Synthetic experiments utilized Llama-3.1-8B-Instruct, while real-world evidence was gathered using Qwen3-4B and Gemma-2-2b-it. Furthermore, Sparse Autoencoders (SAEs) were applied to Gemma-2 to verify the existence of "skill" and "routing" nodes within the model's internal representations.
Key Insights and Results
The Asymmetric Roles of SFT and RL
SFT and RL play complementary but distinct roles in reasoning pipelines. SFT acts as the "material supplier," demonstrating what atomic modules look like in context. However, SFT data is often "entangled"—providing only one golden path per problem, which may lead the model to falsely assume that Skill A must always precede Skill B. RL acts as the "decomposer." By exploring multiple trajectories through trial and error, RL breaks this entanglement, proving that skills can be independently recombined (e.g., pairing Skill A with Skill C).
Compound Traces Outperform Isolated Atoms
A surprising finding is that training on complex, multi-step traces (compound data) yields stronger generalization than training on isolated, single-step skills. In synthetic tests, RL on compound traces (depth $L=3$) achieved a +27.8% advantage over RL trained only on isolated atomic tasks when evaluated on novel, deeper problems ($L=4$). Compound traces teach the model the interfaces—how to effectively pass data between different modules. Furthermore, RL added a 43.7% accuracy gain on atomic skills over SFT-only training, even when RL was exclusively trained on multi-step problems.
The Optimal Training Curriculum
The strongest reasoning performance emerges from a carefully designed curriculum. The authors identified an effective protocol where SFT ensures coverage of the entire "inventory" of atomic skills, while RL focuses on novel compositions beyond the SFT support. A disjoint distribution—where RL explores problem configurations that SFT did not cover—achieves the most robust compositional generalization.
Internal Representations
Supporting the theoretical model, SAE analysis of Gemma-2 confirmed the existence of specific internal features corresponding to "skills" (computational steps) and "routing" (deciding which intermediate result to use). This provides concrete mechanistic evidence for the Hierarchical Latent Selection Model.
Limitations and Future Work
While the synthetic string transformation tasks allow for perfect experimental control, they are inherently simpler than natural language reasoning. Scaling this "coverage-controlled" methodology to richer domains, such as complex coding or tool use, remains a necessary next step.
Additionally, while the paper suggests co-designing SFT and RL to cover complementary parts of the "composition space," automatically discovering the most informative novel compositions for RL remains an open challenge. Future work could explore "identification-driven" RL, where models actively steer their exploration toward unmastered interfaces and skill combinations.
Summary updated