Manuscript Offprint

arXiv:2610.19281

Exact Scaling Laws for a Random-Features Bigram Model

Julian Enoch, Elvis Dohmatob

Abstract

Understanding neural scaling laws is increasingly important for theory and practice, yet first-principles explanations remain limited even in simple settings. In this work, we study capacity-limited scaling in a bottlenecked bigram model with power-law (Zipf) token statistics, viewed as an analytically tractable toy model of a large language model. Fixed random embeddings serve as a proxy for representational capacity and induce an explicit bottleneck of width, allowing us to derive scaling laws for prediction regret as a function of model width, vocabulary size, and the Zipf exponent. Our results complement recent theoretical accounts based on optimization dynamics by isolating scaling due purely to representational constraints. In the appropriate regime, the theory recovers the functional form of classical neural scaling laws and suggests that heavy-tailed language statistics may underlie both optimization- and capacity-driven scaling. Experiments natural language datasets (WikiText2, OpenWebText) closely match the predicted curves.

1. Introduction

Neural scaling laws describe systematic relationships between predictive performance, model size, training data, and compute, providing an empirical basis for allocating resources in language-model training (Kaplan et al., 2020). Theoretical studies have connected these relationships to data distributions, model capacity, and optimization dynamics (Maloney et al., 2022; Cabannes et al., 2024; Kunstner and Bach, 2025). An important challenge is to distinguish these mechanisms: similar learning curves can reflect insufficient observations, a restricted representation, or incomplete optimization.

In language modeling, the highly uneven frequencies of tokens make the role of representational capacity particularly interesting. An unconstrained bigram model assigns a separate next-token distribution to every context, regardless of how frequently that context occurs. Does accurate prediction require this degree of flexibility, or can a substantially smaller representation suffice? More broadly, how does the power-law structure of language determine the cost of compressing its predictive information? Addressing these questions provides a way to connect empirical capacity scaling to explicit properties of the underlying data distribution.

References (14)

  • Explaining neural scaling laws
  • On the convergence of the empirical distribution
  • Scaling laws for associative memories
  • Generalization error rates in kernel regression: The crossover from the noiseless to noisy regime
  • A tale of tails: Model collapse as a change of scaling laws
  • The Pile: An 800GB Dataset of Diverse Text for Language Modeling
  • Scaling laws for neural language models, 2020
  • Scaling laws for gradient descent and sign descent for linear bigram models under Zipf's law
  • A solvable attention for neural scaling laws
  • A solvable model of neural scaling laws, 2022
  • Pointer sentinel mixture models
  • The quantization model of neural scaling
  • An exactly solvable model for emergence and scaling laws in the multitask sparse parity problem
  • Ai models collapse when trained on recursively generated data (opens the publisher in a new tab)