TL;DR
When building reasoning AI, how should you split your compute budget between reading the internet (pretraining) and learning from trial-and-error (reinforcement learning)? By treating chess as a clean, miniature laboratory for LLM training, researchers discovered a mathematical scaling law that connects pretraining directly to RL returns—and settled a heated debate by showing that RL doesn't just polish existing skills, it actually uncovers hidden solutions on hard problems. Best of all, these exact rules hold up when tested on real-world math language models.
What Problem Does This Paper Address?
Modern reasoning LLMs follow a standard recipe: massive pretraining on text, supervised fine-tuning (SFT) on step-by-step examples, and reinforcement learning (RL) where rewards are given for verifiable, correct answers.
Right now, AI labs face a trillion-dollar dilemma: if you have a fixed compute budget, should you spend more of it building a smarter base model (pretraining), or give a smaller base model more time to practice and figure things out via trial-and-error (RL)? Relatedly, researchers passionately disagree on what RL actually does under the hood. Does it merely "sharpen" the model's distribution—amplifying good habits the base model already knew—or does it genuinely discover new reasoning behaviors?
Answering these questions on frontier natural language models is nearly impossible. Compute sweeps are astronomically expensive, internet pretraining data is messy and unverified, and grading intermediate reasoning sentences is subjective. We lacked a clean "model organism" to isolate how pretraining and RL interact.
Methods
To get clean, exact answers, the authors recreated the entire LLM training pipeline inside the game of chess—where the vocabulary is tiny (81 tokens) and every single reasoning step can be objectively verified.
- Pretraining: Dense Qwen3-style models (ranging from 5M to 1B parameters) are trained via standard next-token prediction on billions of serialized human chess moves. No natural language is used—just raw move tokens.
- SFT with Synthetic Chain-of-Thought (CoT): Instead of attaching an external search engine like Monte Carlo Tree Search, the authors force the LLM to "think out loud" in move tokens. They sample candidate continuations from a pretrained model, merge shared opening moves into a prefix tree, and serialize that tree depth-first inside
<T>...</T>thinking tags before outputting the final chosen move. - Reinforcement Learning: Using standard Group Relative Policy Optimization (GRPO), the model solves multi-step tactical puzzles against an environment. It earns a strict binary reward:
1if every move in the multi-step sequence is optimal, and0for a single mistake.
Datasets
- Chess Pretraining: A 54B-token corpus of human Blitz and Rapid games played on Lichess in 2022.
- Chess Post-Training & Evaluation: 156K quality-filtered Lichess puzzles for SFT and RL, plus a newly curated, contamination-free benchmark of 1,480 tactical puzzles spanning five difficulty bins (B1–B5) balanced by theme and length.
- Math Transfer Case Study: To verify that chess insights apply to natural language, a 1B OLMo-2 model was pretrained on a 200B-token mix (70% Nemotron-CC-Math-v1, 30% Dolma3) and evaluated on a 500-problem held-out set, GSM8K, and MATH.
Key Insights and Ideas
- More pretraining makes RL learn faster: Pretraining doesn't just give RL a higher starting floor; it steepens the learning curve. The more tokens a model sees during pretraining, the more reward it extracts per unit of RL compute.
- Scale shifts the budget toward RL: RL is heavily initialization-limited—if your base model is too weak, throwing RL compute at it is a waste. However, once the base model crosses a competence threshold, pretraining hits diminishing returns. As your total compute budget grows, you should allocate an increasingly larger percentage of it to RL.
- RL is not just sharpening: On easy puzzles, RL acts as an amplifier, boosting correct moves the SFT model already liked. On hard puzzles, however, RL performs "tail discovery"—rescuing brilliant moves that had less than a 5% probability under SFT—while also occasionally falling into traps and reinforcing confident, wrong moves. This explains why single-try accuracy (
pass@1) skyrockets during RL while multi-try coverage (pass@16) often stays flat! - Wider thinking, not deeper thinking: Watching the model's CoT evolve during RL reveals that it learns to brainstorm broader variations (higher branching factor) and propose higher-quality moves, rather than calculating significantly deeper down a single line.
Key Results
Across 36 pretraining–RL sweeps, the authors formulated a Joint Pretraining–RL Scaling Law that predicts post-RL performance ($R$) in the non-saturated regime: $$R(C_{\text{RL}}, N, T) = f(L_{\text{pt}}) + g(N, T) \log_{10}(C_{\text{RL}} / C_{\text{ref}})$$
- Near-perfect predictability: Pretraining validation loss ($L_{\text{pt}}$) predicts post-RL
pass@1with a Spearman correlation tightening from $|\rho| = 0.93$ to $0.99$ ($R^2 = 0.98$) at high RL compute. Meanwhile, a joint linear fit of log pretraining tokens ($\log_{10} T$) and log model size ($\log_{10} N$) predicts the RL learning slope with $R^2 = 0.84$ ($r = +0.92$), dominated primarily by token exposure. - Optimal Compute Splits: Extrapolating their scaling law alongside Chinchilla pretraining laws, the optimal RL share of total compute rises steadily with scale—growing from ~20% for a 50M model up to 28% for a 680M model.
- Transfer to Math LLMs: On the 1B math language model pretrained from 10B to 200B tokens, the exact same physics emerged: pretraining loss predicted high-compute RL accuracy with $R^2 = 1.00$ ($\rho = -0.99$), and the RL improvement slope grew linearly with $\log_{10} T$ ($R^2 = 0.90$).
Limitations and Future Work
- Local vs. Global Scaling: Because total compute budgets were capped, most RL runs operated in the early, non-saturated regime. When strong models approach saturation on easy benchmarks, their learning slopes compress, breaking the linear approximation.
- FLOPs vs. Wall-Clock Time: Compute is measured in algorithmic FLOPs rather than wall-clock time. Because RL requires autoregressive rollout generation, an RL FLOP can be much slower and pricier in real hardware hours than a pretraining FLOP.
- Long-Horizon Struggles: Even after RL, models struggle to solve chess continuations requiring more than 5 moves, expanding search breadth rather than depth. Future work could use these structural insights to engineer synthetic SFT reasoning traces that explicitly teach deeper, systematic long-horizon planning.
Summary updated