From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoning
On the map: LLM reasoning → Reasoning benchmarks and evaluation
Abstract (arXiv)
Post-training pipelines that combine supervised fine-tuning (SFT) with reinforcement learning (RL) have emerged as the key recipe for transforming large language models (LLMs) into robust reasoners. We argue that this combined success is driven by compositional generalization, which we formalize through a hierarchical latent selection model. In this framework, reasoning traces are generated by a cascade of discrete latent selection variables corresponding to reusable atomic modules, including both skills (local operations) and routing mechanisms (how intermediate information is selected, reused, and composed). Within this model, we theoretically show that SFT and RL play asymmetric, complementary roles: SFT supplies the raw module materials in compositional traces, and RL decomposes those traces to identify the latent atomic modules and enable compositional generalization. We design controlled experiments to validate this theory. Our results demonstrate that RL can extract atomic modules from compound traces supplied by SFT and recombine them to solve new configurations. Moreover, we find that training on compound traces yields stronger generalization than training on isolated atomic modules. Finally, we investigate the relationship between SFT and RL data and identify an effective protocol in which SFT ensures coverage of all atomic modules through compositional traces, while RL focuses on novel compositions outside the SFT support to drive exploration.
Key facts. Cited by 5 papers in the map (data through 14 Oct 2026). Placed in Reasoning benchmarks and evaluation, one of 17 directions in LLM reasoning. Builds on 57 of its 78 references that are in the map. First posted on arXiv 16 Jun 2026.
Builds on
57 of 78 references.
Closest ancestors · 4
Same direction, newest first
- 2025ProtoReasoning: Prototypes as the Foundation for Generalizable Reasoning in LLMs18 Jun
- 2025Resa: Transparent Reasoning Models via SAEs11 Jun
- 2025Qwen3 Technical Report14 May
- 2024Quiet-STaR: Language Models Can Teach Themselves to Think Before Speaking14 Mar
Other references · 53
- 2024The Llama 3 Herd of Modelscited by 14,715
- 2021Training Verifiers to Solve Math Word Problemscited by 10,109
- 2025DeepSeek-R1: Incentivizing Reasoning Capability in LLMs via Reinforcement Learningcited by 6,330
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
- 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
- 2025SFT Memorizes, RL Generalizes: A Comparative Study of Foundation Model Post-trainingcited by 672
- 2025Beyond the 80/20 Rule: High-Entropy Minority Tokens Drive Effective Reinforcement Learning for LLM Reasoningcited by 559
- 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 485
- 2025Demystifying Long Chain-of-Thought Reasoning in LLMscited by 326
- 2025Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMscited by 289
- 2025Reasoning with Exploration: An Entropy Perspectivecited by 281
- 2025Spurious Rewards: Rethinking Training Signals in RLVRcited by 209
38 more
- 2025The Unreasonable Effectiveness of Entropy Minimization in LLM Reasoningcited by 166
- 2025Reasoning Models Know When They're Right: Probing Hidden States for Self-Verificationcited by 159
- 2025AdaptThink: Reasoning Models Can Learn When to Thinkcited by 147
- 2025Thinkless: LLM Learns When to Thinkcited by 113
- 2025Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoningcited by 106
- 2025TreeRL: LLM Reinforcement Learning with On-Policy Tree Searchcited by 80
- 2025Understanding Reasoning in Thinking Language Models via Steering Vectorscited by 72
- 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Modelscited by 69
- 2025Reasoning Models Better Express Their Confidencecited by 65
- 2025All Roads Lead to Likelihood: The Value of Reinforcement Learning in Fine-Tuningcited by 59
- 2025UFT: Unifying Supervised and Reinforcement Fine-Tuningcited by 59
- 2025Just Enough Thinking: Efficient Reasoning with Adaptive Length Penalties Reinforcement Learningcited by 52
- 2025Do Language Models Use Their Depth Efficiently?cited by 50
- 2025From Flat to Hierarchical: Extracting Sparse Representations with Matching Pursuitcited by 49
- 2025Reasoning to Learn from Latent Thoughtscited by 45
- 2025First Return, Entropy-Eliciting Explorecited by 45
- 2025From f(x) and g(x) to f(g(x)): LLMs Learn New Skills in RL by Composing Old Onescited by 42
- 2025Beyond Semantics: The Unreasonable Effectiveness of Reasonless Intermediate Tokenscited by 41
- 2025Exploring the Impact of Temperature on Large Language Models:Hot or Cold?cited by 40
- 2025Towards a Unified View of Large Language Model Post-Trainingcited by 36
- 2025Retro-Search: Exploring Untaken Paths for Deeper and Efficient Reasoningcited by 34
- 2023A Versatile Causal Discovery Framework to Allow Causally-Related Hidden Variablescited by 33
- 2025Uncertainty-Guided Chain-of-Thought for Code Generation with LLMscited by 32
- 2025The Coverage Principle: How Pre-Training Enables Post-Trainingcited by 30
- 2024Thinking Tokens for Language Modelingcited by 24
- 2025To Backtrack or Not to Backtrack: When Sequential Search Limits Model Reasoningcited by 24
- 2025RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?cited by 23
- 2025Overclocking LLM Reasoning: Monitoring and Controlling Thinking Path Lengths in LLMscited by 22
- 2025Thought calibration: Efficient and confident test-time scalingcited by 21
- 2025SuperRL: Reinforcement Learning with Supervision to Boost Language Model Reasoningcited by 18
- 2025Feature Hedging: Correlated Features Break Narrow Sparse Autoencoderscited by 16
- 2025Enhancing Latent Computation in Transformers with Latent Tokenscited by 14
- 2025Incorporating Hierarchical Semantics in Sparse Autoencoder Architecturescited by 14
- 2025Fractional Reasoning via Latent Steering Vectors Improves Inference Time Computecited by 14
- 2025AdapThink: Adaptive Thinking Preferences for Reasoning Language Modelcited by 11
- 2025How Reinforcement Learning After Next-Token Prediction Facilitates Learningcited by 10
- 2025Verbalized Confidence Triggers Self-Verification: Emergent Behavior Without Explicit Reasoning Supervisioncited by 9
- 2025Atomic Skills are the Prerequisite: When Reinforcement Learning Synthesizes Compositional Reasoning, and When It Only Amplifiescited by 8
50 most cited of 53 All 53 (JSON)
Built on by
Citing papers per year: 2026: 5.
5 papers.
- 2026SP-Mind: An Autonomous Reasoning Agent for Spatial Proteomics Analysiscited by 4
- 2026Learning Generalizable Behaviors for Terminal Agentscited by 2
- 2026Selecting Diverse SFT Traces Improves Post-RL Generalizationcited by 0
- 2026What Pretraining and Midtraining Make Learnable from Rewards?cited by 0
- 2026Tropical Reinforcement Learningcited by 0
- 2026Tropical Reinforcement Learning1 Oct 2026
- 2026What Pretraining and Midtraining Make Learnable from Rewards?29 Sep 2026
- 2026Selecting Diverse SFT Traces Improves Post-RL Generalization27 Sep 2026
- 2026Learning Generalizable Behaviors for Terminal Agents23 Aug 2026
- 2026SP-Mind: An Autonomous Reasoning Agent for Spatial Proteomics Analysis23 Jun 2026
Similar, not cited
Close in wording, no citation either way
- 2026Compositional Reasoning in Language Models under Reinforcement Learning Post-Training
- 2025How and Why LLMs Generalize: A Fine-Grained Analysis of LLM Reasoning from Cognitive Behaviors to Low-Level Patterns
- 2026Learning to Reason with Curriculum II: Compositional Generalization
- 2025SRFT: A Single-Stage Method with Supervised and Reinforcement Fine-Tuning for Reasoning
- 2025Learning Composable Chains-of-Thought
- 2025Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning
- 2026Rethinking Generalization in Reasoning SFT: A Conditional Analysis on Optimization, Data, and Model Capability
- 2026Recursive Concept Evolution for Compositional Reasoning in Large Language Models