Abstract
Neural scaling laws are observed in a range of domains, to date with no clear understanding of why they occur. Recent theories suggest that loss power laws arise from Zipf's law, a power law observed in domains like natural language. One theory suggests that language scaling laws emerge when Zipf-distributed task quanta are learned in descending order of frequency. In this paper we examine power-law scaling in AlphaZero, a reinforcement learning algorithm, using a theory of language-model scaling. We find that game states in training and inference data scale with Zipf's law, which is known to arise from the tree structure of the environment, and examine the correlation between scaling-law and Zipf's-law exponents. In agreement with quanta scaling theory, we find that agents optimize state loss in descending order of frequency, even though this order scales inversely with modelling complexity. We also find that inverse scaling, the failure of models to improve with size, is correlated with unusual Zipf curves where end-game states are among the most frequent states. We show evidence that larger models shift their focus to these less-important states, sacrificing their understanding of important early-game states.
Introduction
Neural scaling laws—the observation that model performance improves predictably with increased compute and parameters—are a cornerstone of modern AI. While well-documented in Large Language Models (LLMs), the underlying mechanism remains debated. A prominent theory is the quantization model, which posits that models learn discrete "tasks" in descending order of their frequency in the training data. Since natural language follows Zipf’s law, where a few tokens appear very frequently and most are rare, models encounter diminishing returns as they move into the "long tail" of rare tasks.
This paper investigates whether this theory extends to Reinforcement Learning (RL) by analyzing AlphaZero agents across games like Connect Four, Pentago, Oware, and Checkers.
Zipf’s Law in Game Structures
A key finding is that game state frequencies naturally follow Zipf’s law. This is not a product of human strategy but an inherent property of the branching game-tree structure. Even random play generates a power-law distribution of states, as the number of ways to reach a state dictates its frequency.
As shown in the figure above, the frequency of states relative to their rank follows a clear linear trend on a log-log plot, characteristic of power laws. Across the studied games, state frequencies followed Zipf’s law with exponents $\alpha$ between 0.8 and 1.0, remarkably close to those found in natural language.
The Quantization Model and Scaling Exponents
The authors tested the causal link between data distribution and scaling by modulating the "policy temperature" ($T$) during inference. By adjusting $T$, they could artificially "bend" the Zipf distribution of states the agent encountered, allowing for a direct measurement of how changes in the Zipf exponent affected the scaling law exponent.
The results demonstrate a direct correlation: as the Zipf exponent of the state distribution changes, the scaling law exponent of the model's performance (Elo) shifts accordingly. This supports the idea that the "shape" of the data distribution determines the "speed" of performance scaling.
Inverse Scaling: The Late-Game Trap
The paper also provides a novel explanation for "inverse scaling"—the frustrating phenomenon where larger models actually perform worse than smaller ones. In games like Oware and Checkers, the game tree "contracts" toward the end, creating a "bump" in the Zipf curve where a small set of late-game states become disproportionately frequent.
While smaller models lack the capacity to move beyond the most frequent early-game states, larger models begin to "memorize" these frequent but strategically trivial late-game positions. Because RL is non-stationary (targets change during training), the authors found that large models essentially "forget" crucial early-game strategic knowledge while obsessing over these trivial end-game positions. In Oware, the largest models showed a spike in loss for early-turn states midway through training, causing their overall Elo score to plummet.
Conclusion
By linking neural scaling to the structural Zipfian nature of game trees, this work provides a unified framework for understanding performance in both LLMs and RL. The discovery that inverse scaling is driven by frequency-induced "forgetting" suggests that future RL research could benefit from frequency-informed curricula—essentially teaching models to ignore the "distraction" of frequent but trivial states to ensure they maintain a solid grasp of high-stakes opening strategies.
Summary updated