A quantity that can be measured #

A language model assigns probabilities to possible next tokens. On a held-out text sample, a model receives a lower cross-entropy loss when it consistently assigns more probability to the tokens that actually appear. Averaging over many tokens produces a smoother measurement than scoring whether a few particular answers are exactly correct. This makes loss a convenient quantity for studying changes in scale.

Section sources [1]

Fitting curves to training runs #

In 2020, Jared Kaplan and colleagues reported regular relationships between language-model loss and the amounts of data, model capacity and training compute in their experiments. Over some tested ranges, simple power laws described changes well. That observation gives an engineer a practical tool. Several small runs can help estimate what improving a particular resource would buy before committing to a large run.

Section sources [1]

Spending a fixed budget #

A training budget can fund a larger model seeing fewer tokens, or a smaller model seeing more tokens. In 2022, Jordan Hoffmann and colleagues varied both quantities and found that many large models in the regime they studied had received too few training tokens for their parameter counts. Their fitted allocation suggested increasing parameters and tokens in roughly equal proportions as the budget grew.

A lab paying for repeated inference also cares about the cost of using the finished model. A configuration that minimizes training loss for a given training budget may be expensive to serve millions of times. Two teams can act on the same empirical curves and make different choices because their costs occur at different stages.

Section sources [2]

Limits of extrapolation #

A curve describes training runs conducted with particular model families, data and objectives. New algorithms can change the compute required to reach a familiar performance level. A smooth decrease in average loss also leaves open how often an assistant will solve an unfamiliar research problem. Translating scaling results into a singularity forecast requires a separate argument connecting the measured quantity to the future ability in question. Work on algorithmic efficiency asks a complementary question. If the target loss stays fixed, how much less training compute does a later method need to reach it?

Section sources [1] [2] [3] [4]

A matched training-budget comparison #

Hoffmann and colleagues tested their allocation rule by training Chinchilla. They assigned it 70 billion parameters, while their comparison system Gopher had 280 billion. Chinchilla saw about four times as much training data at roughly the same training compute budget. It scored higher on many of the tasks the authors evaluated. This makes the comparison more informative than a plot showing that a single, larger training run did well. The two models allocated similar training resources in different ways.

Consider a team deciding whether to acquire more high-quality text or build a larger network. A budget estimate makes its assumptions inspectable, including the availability of additional distinct data, the price of training and the anticipated number of future predictions. A smaller trained model can be attractive for frequent use even when obtaining more training data is expensive. Those practical decisions require costs beyond the fitted loss curve. Training data limits change this allocation problem. Another pass over already-seen examples and a pass over fresh material can have different effects even when the compute bill is the same.

Section sources [2] [3] [5]

Sources

  1. Jared Kaplan and colleagues, Scaling Laws for Neural Language Models (2020) arxiv.org
  2. Jordan Hoffmann and colleagues, Training Compute-Optimal Large Language Models (2022) arxiv.org
  3. Danny Hernandez and Tom Brown, Measuring the Algorithmic Efficiency of Neural Networks (2020) arxiv.org
  4. Anson Ho and colleagues, Algorithmic progress in language models (2024) arxiv.org
  5. Niklas Muennighoff and colleagues · Scaling Data-Constrained Language Models (2023) papers.nips.cc