Compositional Generalization from Learned Skills via CoT Training: A Theoretical and Structural Analysis for Reasoning
On the map: LLM reasoning → Prompting and chain-of-thought reasoning
Abstract (arXiv)
Chain-of-Thought (CoT) training has markedly advanced the reasoning capabilities of large language models (LLMs), yet the mechanisms by which CoT training enhances generalization remain inadequately understood. In this work, we demonstrate that compositional generalization is fundamental: models systematically combine simpler learned skills during CoT training to address novel and more complex problems. Through a theoretical and structural analysis, we formalize this process: 1) Theoretically, the information-theoretic generalization bounds through distributional divergence can be decomposed into in-distribution (ID) and out-of-distribution (OOD) components. Specifically, the non-CoT models fail on OOD tasks due to unseen compositional patterns, whereas CoT-trained models achieve strong generalization by composing previously learned skills. In addition, controlled experiments and real-world validation confirm that CoT training accelerates convergence and enhances generalization from ID to both ID and OOD scenarios while maintaining robust performance even with tolerable noise. 2) Structurally, CoT training internalizes reasoning into a two-stage compositional circuit, where the number of stages corresponds to the explicit reasoning steps during training. Notably, CoT-trained models resolve intermediate results at shallower layers compared to non-CoT counterparts, freeing up deeper layers to specialize in subsequent reasoning steps. A key insight is that CoT training teaches models how to think-by fostering compositional reasoning-rather than merely what to think, through the provision of correct answers alone. This paper offers valuable insights for designing CoT strategies to enhance LLMs' reasoning robustness.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Placed in Prompting and chain-of-thought reasoning, one of 17 directions in LLM reasoning. Builds on 90 of its 139 references that are in the map. First posted on arXiv 7 Feb 2025.
Builds on
90 of 139 references.
Closest ancestors · 19
Same direction, newest first
- 2025Enhancing Generalization in Chain of Thought Reasoning for Smaller Models16 Jan
- 2024Training Large Language Models to Reason in a Continuous Latent Space9 Dec
- 2024Transformers Provably Solve Parity Efficiently with Chain of Thought11 Oct
- 2024From Sparse Dependence to Sparse Attention: Unveiling How Chain-of-Thought Enhances Transformer Sample Efficiency7 Oct
- 2024Training Nonlinear Transformers for Chain-of-Thought Inference: A Theoretical Generalization Analysis3 Oct
- 2024Unveiling the Statistical Foundations of Chain-of-Thought Prompting Methods25 Aug
- 2024Deciphering the Factors Influencing the Efficacy of Chain-of-Thought: Probability, Memorization, and Noisy Reasoning1 Jul
- 2024Iteration Head: A Mechanistic Study of Chain-of-Thought4 Jun
- 2024From Explicit CoT to Implicit CoT: Learning to Internalize CoT Step by Step23 May
- 2024Chain of Thought Empowers Transformers to Solve Inherently Serial Problems20 Feb
- 2023Implicit Chain of Thought Reasoning via Knowledge Distillation2 Nov
- 2023Towards Revealing the Mystery behind Chain of Thought: A Theoretical Perspective24 May
7 more
- 2023The CoT Collection: Improving Zero-shot and Few-shot Learning of Language Models via Chain-of-Thought Fine-Tuning23 May
- 2023Why think step by step? Reasoning emerges from the locality of experience7 Apr
- 2022Large Language Models Are Reasoning Teachers20 Dec
- 2022Text and Patterns: For Effective Chain of Thought, It Takes Two to Tango16 Sep
- 2022Least-to-Most Prompting Enables Complex Reasoning in Large Language Models21 May
- 2022Iteratively Prompt Pre-trained Language Models for Chain of Thought16 Mar
- 2022Chain-of-Thought Prompting Elicits Reasoning in Large Language Models28 Jan
Other references · 71
- 2017Attention Is All You Needcited by 59,932
- 2019PyTorch: An Imperative Style, High-Performance Deep Learning Librarycited by 20,160
- 2023LLaMA: Open and Efficient Foundation Language Modelscited by 13,958
- 2021Training Verifiers to Solve Math Word Problemscited by 9,743
- 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 8,851
- 2020Scaling Laws for Neural Language Modelscited by 6,411
- 2023Let's Verify Step by Stepcited by 3,598
- 2023Tree of Thoughts: Deliberate Problem Solving with Large Language Modelscited by 3,155
- 2022Locating and Editing Factual Associations in GPTcited by 2,609
- 2022Interpretability in the Wild: a Circuit for Indirect Object Identification in GPT-2 smallcited by 1,130
- 2022Measuring and Narrowing the Compositionality Gap in Language Modelscited by 1,054
- 2022STaR: Bootstrapping Reasoning With Reasoningcited by 895
38 more
- 2023Math-Shepherd: Verify and Reinforce LLMs Step-by-step without Human Annotationscited by 895
- 2023Reasoning with Language Model is Planning with World Modelcited by 846
- 2023Progress measures for grokking via mechanistic interpretabilitycited by 822
- 2023MetaMath: Bootstrap Your Own Mathematical Questions for Large Language Modelscited by 724
- 2023Distilling Step-by-Step! Outperforming Larger Language Models with Less Training Data and Smaller Model Sizescited by 710
- 2023Towards Automated Circuit Discovery for Mechanistic Interpretabilitycited by 700
- 2022Grokking: Generalization Beyond Overfitting on Small Algorithmic Datasetscited by 599
- 2022Decomposed Prompting: A Modular Approach for Solving Complex Taskscited by 554
- 2023Dissecting Recall of Factual Associations in Auto-Regressive Language Modelscited by 512
- 2023MAmmoTH: Building Math Generalist Models through Hybrid Instruction Tuningcited by 483
- 2024Generative Verifiers: Reward Modeling as Next-Token Predictioncited by 465
- 2023Towards Best Practices of Activation Patching in Language Models: Metrics and Methodscited by 328
- 2025Demystifying Long Chain-of-Thought Reasoning in LLMscited by 323
- 2017Information-theoretic analysis of generalization capability of learning algorithmscited by 299
- 2023MQuAKE: Assessing Knowledge Editing in Language Models via Multi-Hop Questionscited by 292
- 2024PiSSA: Principal Singular Values and Singular Vectors Adaptation of Large Language Modelscited by 261
- 2023Evaluating the Ripple Effects of Knowledge Editing in Language Modelscited by 238
- 2024ReFT: Reasoning with Reinforced Fine-Tuningcited by 236
- 2024Patchscopes: A Unifying Framework for Inspecting Hidden Representations of Language Modelscited by 225
- 2023Looped Transformers as Programmable Computerscited by 224
- 2023How does GPT-2 compute greater-than?: Interpreting mathematical abilities in a pre-trained language modelcited by 199
- 2023Self-Evaluation Guided Beam Search for Reasoningcited by 195
- 2024Do Large Language Models Latently Perform Multi-Hop Reasoning?cited by 165
- 2024Teaching Large Language Models to Reason with Reinforcement Learningcited by 158
- 2024The pitfalls of next-token predictioncited by 156
- 2020Reasoning About Generalization via Conditional Mutual Informationcited by 145
- 2024Stream of Search (SoS): Learning to Search in Languagecited by 141
- 2022Analyzing Transformers in Embedding Spacecited by 131
- 2023Non-Parametric Outlier Synthesiscited by 129
- 2022Is Out-of-Distribution Detection Learnable?cited by 109
- 2023How do Language Models Bind Entities in Context?cited by 102
- 2015How much does your data exploration overfit? Controlling bias via information usagecited by 95
- 2024Looped Transformers for Length Generalizationcited by 91
- 2023A Mechanistic Interpretation of Arithmetic Reasoning in Language Models using Causal Mediation Analysiscited by 88
- 2023Testing the General Deductive Reasoning Capacity of Large Language Models Using OOD Examplescited by 84
- 2024Hopping Too Late: Exploring the Limitations of Large Language Models on Multi-Hop Queriescited by 78
- 2024LLM Reasoners: New Evaluation, Library, and Analysis of Step-by-Step Reasoning with Large Language Modelscited by 70
- 2023Can LMs Learn New Entities from Descriptions? Challenges in Propagating Injected Knowledgecited by 66
50 most cited of 71 All 71 (JSON)
Built on by
Citing papers per year: 2025: 5; 2026: 5.
10 papers.
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Modelscited by 381
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systemscited by 125
- 2026Are Your Reasoning Models Reasoning or Guessing? A Mechanistic Analysis of Hierarchical Reasoning Modelscited by 9
- 2026GRACE: Reinforcement Learning for Grounded Response and Abstention under Contextual Evidencecited by 6
- 2026OneSearch-V2: The Latent Reasoning Enhanced Self-distillation Generative Search Frameworkcited by 6
- 2025Can GRPO Help LLMs Transcend Their Pretraining Origin?cited by 5
- 2025Symbolic Analysis of Grover Search Algorithm via Chain-of-Thought Reasoning and Quantum-Native Tokenizationcited by 2
- 2025Mind the Gap: Bridging Thought Leap for Improved Chain-of-Thought Tuningcited by 2
- 2026Opening the Black Box: A Survey on the Mechanisms of Multi-Step Reasoning in Large Language Modelscited by 1
- 2026Scaling Reasoning Hop Exposes Weaknesses: Demystifying and Improving Hop Generalization in Large Language Modelscited by 1
- 2026OneSearch-V2: The Latent Reasoning Enhanced Self-distillation Generative Search Framework25 Mar 2026
- 2026Scaling Reasoning Hop Exposes Weaknesses: Demystifying and Improving Hop Generalization in Large Language Models29 Jan 2026
- 2026Are Your Reasoning Models Reasoning or Guessing? A Mechanistic Analysis of Hierarchical Reasoning Models15 Jan 2026
- 2026GRACE: Reinforcement Learning for Grounded Response and Abstention under Contextual Evidence8 Jan 2026
- 2026Opening the Black Box: A Survey on the Mechanisms of Multi-Step Reasoning in Large Language Models2 Jan 2026
- 2025Can GRPO Help LLMs Transcend Their Pretraining Origin?14 Oct 2025
- 2025Mind the Gap: Bridging Thought Leap for Improved Chain-of-Thought Tuning20 May 2025
- 2025Symbolic Analysis of Grover Search Algorithm via Chain-of-Thought Reasoning and Quantum-Native Tokenization8 May 2025
- 2025Advances and Challenges in Foundation Agents: From Brain-Inspired Intelligence to Evolutionary, Collaborative, and Safe Systems31 Mar 2025
- 2025Towards Reasoning Era: A Survey of Long Chain-of-Thought for Reasoning Large Language Models12 Mar 2025
Similar, not cited
Close in wording, no citation either way
- 2025Beyond In-Distribution Success: Scaling Curves of CoT Granularity for Language Model Generalization
- 2025Learning Composable Chains-of-Thought
- 2023Skills-in-Context Prompting: Unlocking Compositionality in Large Language Models
- 2023Dissecting Chain-of-Thought: Compositionality through In-Context Filtering and Learning
- 2026Learning to Reason with Curriculum II: Compositional Generalization
- 2025Unveiling the Key Factors for Distilling Chain-of-Thought Reasoning
- 2025The Kinetics of Reasoning: How Chain-of-Thought Shapes Learning in Transformers?
- 2026Compositional Reasoning in Language Models under Reinforcement Learning Post-Training