mlsanityData to 14 Oct 2026

From f(x) and g(x) to f(g(x)): LLMs Learn New Skills in RL by Composing Old Ones

arXiv 2509.25123 ↗First posted 29 Sep 2025cs.AI cs.CLcited by 42

Not on the map. Why?

Abstract (arXiv)

Does RL teach LLMs genuinely new skills, or does it merely activate existing ones? This question lies at the core of ongoing debates about the role of RL in LLM post-training. On one side, strong empirical results can be achieved with RL even without preceding supervised finetuning; on the other, critics argue that RL contributes little beyond reweighting existing reasoning strategies. This work provides concrete evidence that LLMs can acquire genuinely new skills during RL by composing existing ones, mirroring one of the central mechanisms by which humans acquire new cognitive skills. To mitigate data contamination and other confounding factors, and to allow precise control over task complexity, we develop a synthetic framework for our investigation. Specifically, we define a skill as the ability to infer the output of a string transformation function f(x) given x. When an LLM has already learned f and g prior to RL, our experiments reveal that RL enables it to learn unseen compositions of them h(x)=g(f(x)). Further, this compositional ability generalizes to more difficult problems such as compositions of >2 functions unseen during RL training. Surprisingly, our experiments show that compositional skill acquired on a source task transfers to a different target task. This transfer happens even without compositional training on the target, requiring only prior knowledge of the target's atomic skills. Our qualitative analysis shows that RL fundamentally changes the reasoning behaviors of the models. In contrast, next-token training with the same data yields none of these findings. Our systematic experiments provide fresh insights into LLM learning, suggesting the value of first building base models with basic skills, then using RL to incentivize advanced, generalizable skills for complex problems.

Key facts. Cited by 42 papers in the map (data through 14 Oct 2026). Builds on 29 of its 37 references that are in the map. First posted on arXiv 29 Sep 2025.

Builds on

29 of 37 references.

References · 29

  1. 2024DeepSeekMath: Pushing the Limits of Mathematical Reasoning in Open Language Modelscited by 9,379
  2. 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,796
  3. 2025DAPO: An Open-Source LLM Reinforcement Learning System at Scalecited by 2,810
  4. 2025Understanding R1-Zero-Like Training: A Critical Perspectivecited by 1,345
  5. 2024Tulu 3: Pushing Frontiers in Open Language Model Post-Trainingcited by 1,053
  6. 2025Does Reinforcement Learning Really Incentivize Reasoning Capacity in LLMs Beyond the Base Model?cited by 982
  7. 2017Mastering Chess and Shogi by Self-Play with a General Reinforcement Learning Algorithmcited by 734
  8. 2019Solving Rubik's Cube with a Robot Handcited by 734
  9. 2023RAFT: Reward rAnked FineTuning for Generative Foundation Model Alignmentcited by 686
  10. 2025SimpleRL-Zoo: Investigating and Taming Zero Reinforcement Learning for Open Base Models in the Wildcited by 511
  11. 2025Process Reinforcement through Implicit Rewardscited by 504
  12. 2025The Entropy Mechanism of Reinforcement Learning for Reasoning Language Modelscited by 485
17 more
  1. 2025Cognitive Behaviors that Enable Self-Improving Reasoners, or, Four Habits of Highly Effective STaRscited by 377
  2. 2015Neural Module Networkscited by 376
  3. 2025Reinforcement Learning for Reasoning in Large Language Models with One Training Examplecited by 295
  4. 2025Reinforcement Learning with Verifiable Rewards Implicitly Incentivizes Correct Reasoning in Base LLMscited by 289
  5. 2025Logic-RL: Unleashing LLM Reasoning with Rule-Based Reinforcement Learningcited by 262
  6. 2025Spurious Rewards: Rethinking Training Signals in RLVRcited by 209
  7. 2025ProRL: Prolonged Reinforcement Learning Expands Reasoning Boundaries in Large Language Modelscited by 194
  8. 2025The Unreasonable Effectiveness of Entropy Minimization in LLM Reasoningcited by 166
  9. 2025The Surprising Effectiveness of Negative Reinforcement in LLM Reasoningcited by 162
  10. 2025Echo Chamber: RL Post-training Amplifies Behaviors Learned in Pretrainingcited by 129
  11. 2025Reasoning or Memorization? Unreliable Results of Reinforcement Learning Due to Data Contaminationcited by 82
  12. 2025Rewarding the Unlikely: Lifting GRPO Beyond Distribution Sharpeningcited by 80
  13. 2025Revisiting Reinforcement Learning for LLM Reasoning from A Cross-Domain Perspectivecited by 76
  14. 2025OMEGA: Can LLMs Reason Outside the Box in Math? Evaluating Exploratory, Compositional, and Transformative Generalizationcited by 50
  15. 2018Pre-training with Non-expert Human Demonstration for Deep Reinforcement Learningcited by 8
  16. 2025Mirage or Method? How Model-Task Alignment Induces Divergent RL Conclusionscited by 6
  17. 2025Learning Composable Chains-of-Thoughtcited by 3

Built on by

Cited by year (2026 to 14 Oct)

Citing papers per year: 2025: 4; 2026: 38.

42 papers.

Sort:

By area:

  1. 2026SKILL0: In-Context Agentic Reinforcement Learning for Skill Internalizationcited by 94
  2. 2025On the Interplay of Pre-Training, Mid-Training, and RL on Reasoning Language Modelscited by 69
  3. 2026Maximum Likelihood Reinforcement Learningcited by 36
  4. 2026F-GRPO: Don't Let Your Policy Learn the Obvious and Forget the Rarecited by 11
  5. 2025h1: Bootstrapping LLMs to Reason over Longer Horizons via Reinforcement Learningcited by 9
  6. 2025Atomic Skills are the Prerequisite: When Reinforcement Learning Synthesizes Compositional Reasoning, and When It Only Amplifiescited by 8
  7. 2026Knowledge Graphs are Implicit Reward Models: Path-Derived Signals Enable Compositional Reasoningcited by 7
  8. 2026Do We Need Adam? Surprisingly Strong and Sparse Reinforcement Learning with SGD in LLMscited by 7
  9. 2025How Does RL Post-training Induce Skill Composition? A Case Study on Countdowncited by 6
  10. 2026Towards a Mechanistic Understanding of Large Reasoning Models: A Survey of Training, Inference, and Failurescited by 6
  11. 2026Composition-RL: Compose Your Verifiable Prompts for Reinforcement Learning of Large Language Modelscited by 6
  12. 2026Learning from Synthetic Data Improves Multi-hop Reasoningcited by 6
30 more
  1. 2026On Training Large Language Models for Long-Horizon Tasks: An Empirical Study of Horizon Lengthcited by 6
  2. 2026Debugging code world modelscited by 5
  3. 2026From Reasoning Traces to Reusable Modules: Understanding Compositional Generalization in Language Model Reasoningcited by 5
  4. 2026Understanding Reasoning from Pretraining to Post-Trainingcited by 5
  5. 2026GeoRA: Geometry-Aware Low-Rank Adaptation for RLVRcited by 4
  6. 2026Text Before Vision: Staged Knowledge Injection Matters for Agentic RLVR in Ultra-High-Resolution Remote Sensing Understandingcited by 4
  7. 2026Cog-DRIFT: Exploration on Adaptively Reformulated Instances Enables Learning from Hard Reasoning Problemscited by 4
  8. 2026The Physics of Multi-Turn Long-Horizon Planning: From Pre-training to Post-training via Single- and Multi-Teacher On-Policy Agentic Distillationcited by 3
  9. 2026Typhoon-S: Minimal Open Post-Training for Sovereign Large Language Modelscited by 2
  10. 2026New Skills or Sharper Primitives? A Probabilistic Perspective on the Emergence of Reasoning in RLVRcited by 2
  11. 2026Reasoning Core: A Scalable Procedural Data Generation Suite for Symbolic Pre-training and Post-Trainingcited by 2
  12. 2026Teaching Thinking Models to Reason with Tools: A Full-Pipeline Recipe for Tool-Integrated Reasoningcited by 2
  13. 2026Select and Improve: Understanding the Mechanics of Post-Training for Reasoningcited by 2
  14. 2026RL Post-Training Builds Compositional Reasoning Strategiescited by 2
  15. 2026Learning Generalizable Behaviors for Terminal Agentscited by 2
  16. 2026When Is Compositional Reasoning Learnable from Verifiable Rewards?cited by 1
  17. 2026Breaking the Capability Ceiling of LLM Post-Training by Reintroducing Markov Statescited by 1
  18. 2026Mid-Training with Self-Generated Data Improves Reinforcement Learning in Language Modelscited by 1
  19. 2026Memorization, Emergence, and Explaining Reversal Failures: A Controlled Study of Relational Semantics in LLMscited by 0
  20. 2026Sparsity-Aware Evolution for Model Mergingcited by 0
  21. 2026Learning to Extrapolate to New Tasks: A Relational Approach to Task Extrapolationcited by 0
  22. 2026ArbiGraph: Arbitrarily Scalable Verifiable Task Graphs for Evaluating Context Managementcited by 0
  23. 2026Toward Skill-Native LLMs: Skill Entropy for Benchmarking and Training Long-Horizon Reasoningcited by 0
  24. 2026Reasoning Core: Designing Broad Procedural Data for Completion-Supervised Reasoning Trainingcited by 0
  25. 2026Compositional Reasoning in Language Models under Reinforcement Learning Post-Trainingcited by 0
  26. 2026NVAlign: Direct-Gradient Optimization for Non-Verbal Control in Continuous Autoregressive Flow Matching Text-to-Speechcited by 0
  27. 2026On-Policy or Off-Policy Learning? A Systematic Study of Distillation Dynamicscited by 0
  28. 2026Learning from the Gap Between Pass@K and Pass@1cited by 0
  29. 2026Beyond Compression: Diagnosing How Post-Training Changes Mathematical Reasoningcited by 0
  30. 2026Tropical Reinforcement Learningcited by 0

Similar, not cited

Close in wording, no citation either way

  1. 2025How and Why LLMs Generalize: A Fine-Grained Analysis of LLM Reasoning from Cognitive Behaviors to Low-Level Patterns
  2. 2025RL Grokking Recipe: How Does RL Unlock and Transfer New Algorithms in LLMs?
  3. 2025Neither Stochastic Parroting nor AGI: LLMs Solve Tasks through Context-Directed Extrapolation from Training Data Priors
  4. 2026How RL Reshapes LLM Reasoning: Transferability, Coverage, and Scaling Laws
  5. 2026Beyond Reasoning: Reinforcement Learning Unlocks Parametric Knowledge in LLMs
  6. 2025Front-Loading Reasoning: The Synergy between Pretraining and Post-Training Data
  7. 2025Does Math Reasoning Improve General LLM Capabilities? Understanding Transferability of LLM Reasoning
  8. 2025RL Squeezes, SFT Expands: A Comparative Study of Reasoning LLMs