Why do larger AI models perform better? We’ve known for years that neural networks follow "scaling laws"—predictable power laws where performance improves as you add more parameters, data, or compute. While this is well-documented in Large Language Models (LLMs), the underlying "why" remains a bit of a mystery.
In a new paper, "AlphaZero Neural Scaling and Zipf’s Law: a Tale of Board Games and Power Laws," researchers Oren Neumann and Claudius Gros from Goethe University Frankfurt bridge the gap between Reinforcement Learning (RL) and linguistic theory. They demonstrate that the same mathematical patterns governing human language also dictate how an AlphaZero agent masters a game of chess or Connect Four.
TL;DR
This paper shows that board game states follow Zipf’s Law (a power law of frequency) due to the underlying tree structure of the games. By applying the "quantization model" of scaling to AlphaZero, the authors reveal that agents learn tasks in order of frequency rather than simplicity, and they provide a structural explanation for inverse scaling—where larger models actually perform worse by overfitting on trivial end-game states.
What Problem Does This Paper Address?
Despite the ubiquity of neural scaling laws, we lack a universal theory for their origin. One leading hypothesis in the LLM world is the quantization model, which suggests that models learn discrete "task quanta" in descending order of their frequency in the training data.
However, scaling laws in RL are much rarer and less understood than in supervised learning. The authors wanted to see if the quantization model holds up in the world of AlphaZero. Specifically:
- Do game states follow a Zipfian distribution (where a few states appear very often, and most appear rarely)?
- Does the frequency of a state determine when and how well an agent learns it?
- Can this explain "inverse scaling," the frustrating phenomenon where a bigger model suddenly stops improving or even regresses?
Methods and Datasets
The researchers analyzed AlphaZero agents trained on four board games: Connect Four, Pentago, Oware, and Checkers. They utilized open-source AlphaZero models for Connect Four and Pentago, and trained new models for Oware and Checkers using the OpenSpiel framework.
To test the connection between data distribution and performance, they:
- Measured State Frequency: Tracked how often specific board positions occurred during self-play to build Zipf curves.
- Calculated Ground-Truth Loss: Used alpha-beta pruning solvers to determine the "perfect" value for millions of states, identifying exactly where the neural network made mistakes.
- Manipulated Temperature ($T$): Changed the move-selection temperature at inference time to artificially "bend" the Zipf distribution and observe if scaling laws shifted accordingly.
- Analyzed Learning Dynamics: Tracked loss on specific "early-game" vs. "late-game" states across the entire training process.
Key Insights and Ideas
- Zipf’s Law is a property of trees: The authors show that Zipf’s Law isn't just a quirk of human language; it emerges naturally from the branching tree structure of board games. Even playing randomly produces a Zipf-like distribution of states.
- Frequency Trumps Complexity: Counter-intuitively, agents minimize loss on the most frequent states first, even though those states (like opening moves) are often the most strategically complex with the highest branching factors.
- The "Inverse Scaling" Culprit: In games like Oware and Checkers, the game tree "contracts" toward the end. This creates an unusual distribution where certain end-game states become extremely frequent.
- Strategic Forgetting: Larger models have enough capacity to "memorize" these frequent, trivial end-game states. However, due to the non-stationary nature of RL training, they end up "forgetting" the crucial early-game strategies that actually lead to victory, causing their overall Elo score to drop as they grow in size.
Key Results
- Universal Exponents: Across all four games, the Zipf exponent $\alpha$ (the slope of the frequency curve) hovered between 0.8 and 1.05, remarkably close to the $\alpha \approx 1$ found in natural language.
- Causal Link: By modulating the policy temperature, the researchers showed a direct correlation between the Zipf curve of the data and the scaling exponent of the model's performance.
- The Oware Spike: In Oware, the researchers observed a massive spike in loss at the "transition point" where late-game states begin to dominate the distribution. While small models simply ignore these states, large models pivot their focus toward them, sacrificing their understanding of the opening game.
Limitations and Future Work
The authors acknowledge a few hurdles. Using individual game states as a proxy for "task quanta" is an approximation, as strategic concepts likely span many related states. Furthermore, while frequency anomalies in Oware are easy to see, they are much subtler in Checkers, requiring massive amounts of data to plot accurately.
Ultimately, these findings suggest that the standard "Zipfian" way RL agents collect data might be sub-optimal. Future work could explore whether a "curriculum" that enforces a more uniform state distribution could prevent inverse scaling and lead to more robust agents.
Reference: Neumann, O., & Gros, C. (2025). AlphaZero Neural Scaling and Zipf’s Law: a Tale of Board Games and Power Laws. 39th Conference on Neural Information Processing Systems (NeurIPS 2025).
Summary updated