TL;DR
This paper presents the first systematic empirical study of scaling laws for reinforcement learning (RL) post-training in LLMs, specifically focusing on mathematical reasoning. By evaluating models ranging from 0.5B to 72B parameters, the authors demonstrate that RL post-training follows a predictable power-law relationship across compute and data budgets. However, they uncover a critical catch: learning efficiency eventually saturates as model size increases, and in data-constrained environments, reusing high-quality data is surprisingly effective.
What Problem Does This Paper Address?
While scaling laws for LLM pre-training (such as the famous Kaplan and Chinchilla laws) are well-established and guide how AI labs allocate billions of dollars in compute, the scaling behavior of RL post-training has remained a black box.
RL post-training (e.g., RLHF, RFT) has recently become the secret sauce for unlocking advanced reasoning capabilities in models like DeepSeek-R1 and Kimi. Despite its widespread adoption, researchers haven't had a clear mathematical framework to answer fundamental questions: Is it better to train a smaller model for more steps or a larger model for fewer steps? How does data scarcity affect RL performance? This paper fills this gap by formalizing the compute, data, and data-reuse scaling behaviors of RL post-training.
Methods
The authors conduct a massive empirical sweep using Group Relative Policy Optimization (GRPO), a popular, memory-efficient RL algorithm that normalizes rewards across a group of sampled outputs for a single prompt.
To model the relationship between test loss ($L$), model size ($N$), and resource budget ($X$, which can represent either Compute $C$ or Data $D$), they propose a log-linear power-law:
$$\log L(N, X) = -k(N) \cdot \log X + E(N)$$
Here, $k(N)$ represents the learning efficiency. Crucially, the authors introduce a novel saturation formulation for $k(N)$:
$$k(N) = \frac{K_{\text{max}}}{1 + \frac{N_0}{N}}$$
This equation captures the idea that while larger models are more efficient learners, the marginal efficiency gains diminish asymptotically towards a theoretical limit ($K_{\text{max}}$). They validate this framework using two protocols:
- Inter-model Extrapolation: Fitting parameters on smaller models (0.5B to 32B) to predict the performance of a held-out 72B model.
- Intra-model Prediction: Using only the first 30% of training steps of a specific model to forecast its final convergence trajectory.
Datasets
- Training Data: A carefully curated mathematics subset of the
guru-RL-92kdataset from theReasoning360project (consisting of over 50,000 problems). Problems were sorted by increasing difficulty to enable curriculum learning. - Evaluation Data: A multi-domain evaluation suite totaling 2,953 samples. This includes an in-domain held-out set of 500 math problems, alongside standard benchmarks:
GSM8K,MATH500,AMC2023, andAIME2024for mathematics;HumanEvalfor code;Zebra Puzzlefor logic; andSuperGPQAfor STEM.
Key Insights and Ideas
- Learning Efficiency Saturates: Larger models consistently show superior compute and data efficiency, but this advantage isn't infinite. As shown in Figure 4, the learning efficiency coefficient $k(N)$ begins to flatten out significantly after the 32B parameter mark.
- The "Crossover" Effect: Because larger models consume more compute per step, a smaller model (like 32B) can initially outperform a larger model (like 72B) under a strictly limited compute budget because it can complete more training steps.
- Data Reuse is Highly Effective: In data-constrained regimes, the total volume of training steps matters much more than sample uniqueness. Cycling through a smaller dataset multiple times (up to a reuse factor of $\tau = 25$) yields nearly identical performance to using entirely unique data.
- Architecture-Agnostic Dynamics: The authors validated their findings on both the Qwen2.5 and Llama 3 model families. While absolute performance varied, the functional form of the scaling laws remained identical, proving that these dynamics are governed by the RL optimization process itself rather than specific model architectures.
Key Results
The proposed power-law achieved an exceptionally high goodness-of-fit ($R^2 > 0.99$) across 63 fine-tuned LLM configurations.
As shown in Figure 1, the inter-model scaling coefficients fitted on smaller models accurately predicted the performance of the 72B model (dashed lines). Qualitatively, while RL post-training dramatically improved in-domain mathematical reasoning, it showed flat or even negative transfer to out-of-domain tasks. For instance, intensive math RL training actually degraded the performance of larger models on logical puzzles (like the Zebra Puzzle), indicating a potential "damage" to non-mathematical reasoning skills.
Limitations and Future Work
- Domain Limitation: The conclusions are strictly tied to mathematical reasoning. Multi-domain RL scaling laws remain an open question.
- Scale Ceiling: Due to the constraints of the Qwen2.5 series, the authors could not empirically verify the efficiency saturation trend on models larger than 72B parameters.
- Dense Models Only: The study focused entirely on dense architectures; how Mixture-of-Experts (MoE) models scale under RL post-training is left for future research.
- Agentic Workflows: The authors note that integrating external tools (like code execution) or multi-agent setups will likely shift these scaling frontiers upward, marking an exciting avenue for future work.
Summary updated