How does RL Post-training Induce Skill Composition? A Case Study on Countdown
Simon Park, Simran Kaur, Sanjeev Arora
NeurIPS page · OpenReview · Open on the map
Category: LLM Post-Training: RL & Distillation › Post-Training Reasoning and Scaling · Type: empirical study · Keywords: reinforcement learning post-training, skill composition, compositional generalization, expression trees, mathematical reasoning
Areas: LLM Reasoning › Reasoning Strategies › RL Post-Training; RL for LLMs & Agents › LLM Reasoning Reinforcement Learning › Post-training generalization
Summary
The paper studies how RL post-training teaches language models to compose reusable problem-solving skills, using the countdown task to reveal compositional generalization patterns and skill acquisition order.
Explained to a 5-year-old
We look at a game where you have numbers and need to make a target using math operations. A computer program learns to solve this game using a training method. While it learns, we watch how it breaks the problem into smaller pieces and reuses them. We see that it can solve new, bigger problems and that it learns some ways of thinking before others. It also sometimes struggles with certain tricky ways of thinking.
Explained to a 5-year-old, longer
Imagine a puzzle where you are given some numbers and you must combine them with math symbols to reach a target number. A big computer program that understands language is taught to solve this puzzle using a special training technique. As it practices, we draw pictures of its solutions called expression trees, where each small part of the picture can be thought of as a tiny skill. We watch which skills the program learns first and which ones it never gets good at. We find that the program can solve puzzles with more numbers and new shapes it has never seen before, showing it can reuse old skills in new ways. The program prefers to learn skills that are balanced, like a evenly split tree, before it learns skills that are very deep and uneven. However, some tricky shapes, especially those that are right-heavy, keep causing problems even after lots of practice. The study also looks at a different kind of puzzle called formal theorem proving to see if similar patterns appear. This helps us understand how a simple training method can change how a language model thinks about solving problems.
For a technical reader
The paper investigates how reinforcement learning fine-tuning changes the way large language models solve math problems that require combining sub-steps. By representing solutions as expression trees, the authors track which sub-problems (skills) the model learns and in what order. They find that the model can generalize to larger problem sizes and new structures, but it prefers balanced sub-structures and struggles with right-heavy ones. The analysis also shows that standard evaluation metrics miss some of these nuances. The results suggest that RL post-training can be a useful tool for improving compositional reasoning, though careful design is needed to avoid weak spots.
Problem
Understanding how RL post-training induces compositional generalization in language models, and distinguishing this from simple length generalization.
Method
The approach represents model solutions as expression trees where each subtree corresponds to a reusable subtask (skill), tracks the shapes and success rates of these trees during RL post-training, and examines how the order of skill acquisition varies with the composition structure.
Results
The approach shows OOD generalization to larger numbers and unseen tree shapes, demonstrates that models learn shallow balanced skills before deep unbalanced ones, and remains fragile on right-heavy structures, revealing skill composition order and failure modes beyond standard pass@k metrics.
Contributions
The paper provides a diagnostic framework to observe how RL post-training teaches compositional skills, uncovers the order in which different tree structures are mastered, and highlights persistent weaknesses; it also extends the analysis to formal theorem proving.
Limitations and assumptions
The analysis is limited to the countdown task and a preliminary theorem-proving study, and right-heavy tree structures remain fragile under the observed training dynamics.
Practical relevance
Provides insight into how RL post-training can improve compositional reasoning, guiding the development of more robust reasoning models.
Research questions this paper is counted under
This page was written by language models from the title and abstract of each paper, and the answers were checked by two other models. It can be wrong: check the paper itself. Suggest a correction