The Quantization Model of Neural Scaling

Eric J. Michaud, Ziming Liu, Uzay Girit, Max Tegmark
3/23/2023
cs.LGcond-mat.dis-nn

No official code found. Best implementation: ejmichaud/quantization-model (10 stars, MIT, last commit 2023-10-28).

Abstract

We propose the Quantization Model of neural scaling laws, explaining both the observed power law dropoff of loss with model and data size, and also the sudden emergence of new capabilities with scale. We derive this model from what we call the Quantization Hypothesis, where network knowledge and skills are "quantized" into discrete chunks ($\textbf{quanta}$). We show that when quanta are learned in order of decreasing use frequency, then a power law in use frequencies explains observed power law scaling of loss. We validate this prediction on toy datasets, then study how scaling curves decompose for large language models. Using language model gradients, we automatically decompose model behavior into a diverse set of skills (quanta). We tentatively find that the frequency at which these quanta are used in the training distribution roughly follows a power law corresponding with the empirical scaling exponent for language models, a prediction of our theory.

View on arXivView PDF

Code Implementations(1)

MIT

Cleaned up code for reproducing our paper "The Quantization Model of Neural Scaling"

104TeX, ShellOct 26, 20232 years agoMIT

Cite this paper

@article{michaud2023quantization,
  title  = {The Quantization Model of Neural Scaling},
  author = {Eric J. Michaud and Ziming Liu and Uzay Girit and Max Tegmark},
  year   = {2023},
  eprint = {2303.13506},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2303.13506v3},
  journal = {NEURIPS 2023 2023}
}

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/2303.13506.svg)](https://codeofpaper.com/paper/2303.13506)

Discussion