TL;DR
Reinforcement Learning with Verifiable Rewards (RLVR) often hits a performance ceiling because models quickly master the training prompts, leading to zero gradient signals. Composition-RL solves this by automatically combining multiple "easy" prompts into complex, multi-step problems. This simple data-recycling strategy significantly boosts the reasoning capabilities of Large Language Models (LLMs) from 4B to 30B parameters without requiring expensive new human annotations.
What Problem Does This Paper Address?
State-of-the-art reasoning models (like OpenAI's o1 and DeepSeek-R1) rely heavily on RLVR, where the model is trained using problems that have easily verifiable answers (e.g., math or coding tasks). However, as training progresses, the model becomes highly proficient, achieving a 100% success rate ("solve_all") on a large portion of the training set.
In popular RL algorithms like Group Relative Policy Optimization (GRPO), these perfect rollouts yield zero advantage variance, which means they generate zero gradient updates. Essentially, the model stops learning from them, effectively shrinking the useful dataset size by up to 75%. While previous research has focused on fixing "too hard" prompts (0% success rate), this paper tackles the opposite bottleneck: how to extract value from prompts that have become "too easy."
Methods
The authors introduce Sequential Prompt Composition (SPC), an automated pipeline that takes simple problems and chains them together into a single, more challenging prompt.
1. Sequential Prompt Composition (SPC)
To combine two math problems ($q_1$ and $q_2$):
- Modify $q_1$: Extract its numerical answer ($gt_1$) and turn it into a variable definition (e.g., "Let $X$ be the answer to $q_1$").
- Modify $q_2$: Replace a constant in $q_2$ with a new variable, $Y$.
- Connect them: Introduce a natural language constraint relating the two variables (e.g., "$Y$ is 6 less than $X$").
The final answer to the combined prompt ($q_{1:2}$) is still verifiable because it directly depends on the solution to the second problem.
2. Curriculum Composition-RL
Instead of training on complex problems from the start, the authors use a curriculum approach. The model begins training on the original dataset (Depth 1). Once performance saturates and the "solve_all" ratio spikes, the training set transitions to Depth 2 (two composed problems), and eventually to Depth 3.
3. Cross-Domain Composition
The method isn't limited to a single topic. The authors demonstrate that you can sample $q_1$ from a physics dataset and $q_2$ from a math dataset, forcing the model to bridge multiple domains to find the solution.
Datasets
- Seed Datasets: The MATH training set (~12K prompts) and the physics subset of MegaScience (~23K prompts, filtered down to 8.2K reliable prompts using rule-based verifiers).
- Newly Introduced Datasets:
MATH-Composition-199K: A dataset of multi-step math problems generated via SPC.Physics-MATH-Composition-141K: A cross-domain dataset blending physics and mathematics.- Evaluation Benchmarks: In-domain math tasks (AIME24, AIME25, BeyondAIME, IMOBench) and out-of-domain multi-task benchmarks (GPQA-Diamond, MMLU-Pro).
Key Insights and Ideas
- The "Solve-All" Bottleneck is Real: The paper empirically demonstrates that as an LLM improves, the effective training set size drastically shrinks because perfect scores yield no learning signals. Making easy prompts harder is a highly efficient way to combat data scarcity.
- Implicit Process Supervision: Even though the reward verifier only checks the final answer of the composed problem, composition forces the model to get the intermediate steps right. The model must correctly solve the first sub-problem to have any hope of solving the second, providing a form of structural guidance for the model's internal chain-of-thought (CoT).
- Composition Beats Mixing: Simply mixing math and physics problems into a single training batch provides minimal cross-domain benefits. However, composing them into a single prompt forces the model to synthesize knowledge, leading to massive generalization gains even in unrelated fields like law and chemistry.
Key Results
- Consistent Scaling Gains: Composition-RL consistently outperformed standard RLVR across all tested model sizes (Qwen3-4B, 8B, 14B, and 30B-A3B). Overall math performance improved by +3.6% for the 4B model and up to +14.3% for the 30B model.
- Punching Above Its Weight Class: Thanks to the curriculum approach (Depth 1 $\rightarrow$ 2 $\rightarrow$ 3), the Composition-RL-4B model achieved a 37.9% pass@1 score on AIME24. This allowed it to outperform several 8B baselines, including Beyond-80/20-8B (34.6%) and Alpha-RL-8B (28.3%), despite being half the size.
- Cross-Domain Generalization: Training on
Physics-MATH-Composition-141Kimproved MMLU-Pro scores by +4.3% and AIME24 scores by +9.1% compared to training on math alone, outperforming sequential training ("Math-then-Physics") and joint training ("Mix Training").
Limitations and Future Work
- Numeric Dependency: The current SPC implementation requires the first question's answer to contain at least one numeric value. This makes it difficult to extend the method to purely textual reasoning or other non-numeric, unverifiable domains.
- Generation Anomalies: While the authors implemented a multi-step LLM self-verification pipeline to filter out bad data, a small fraction (under 2%) of the generated compositional prompts may still be awkward or invalid.
- Future Work: The authors suggest scaling Composition-RL to larger seed datasets (like Polaris-53K), expanding the composition logic to non-numeric domains, and adapting the framework for on-policy distillation.
Summary updated