AlphaZero Neural Scaling and Zipf's Law: a Tale of Board Games and Power Laws

Oren Neumann, Claudius Gros
12/16/2024
cs.LG

No official code found. Best implementation: OrenNeumann/alphazero_zipfs_law (2 stars, Apache-2.0, last commit 2025-10-13).

Abstract

Neural scaling laws are observed in a range of domains, to date with no universal 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 model 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 the quanta scaling model, 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.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Code & data for the paper "AlphaZero Neural Scaling and Zipf's Law: a Tale of Board Games and Power Laws"

20PythonFeb 22, 20241 years agoApache-2.0

Similar Papers

Cite this paper

@article{neumann2024alphazero,
  title  = {AlphaZero Neural Scaling and Zipf's Law: a Tale of Board Games and Power Laws},
  author = {Oren Neumann and Claudius Gros},
  year   = {2024},
  eprint = {2412.11979},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.11979v2}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2412.11979.svg)](https://codeofpaper.com/paper/2412.11979)

Discussion