Frontier Lab Notes

Scaling Laws and Compute Optimal Training

Scaling Laws
Scaling Laws Loss vs compute — the compute-optimal frontier (log–log) loss (log) training compute C = 6·N·D (log) small N large N, undertrained compute-optimal frontier lower envelope of all model sizes ● best size for each budget Chinchilla lesson For a fixed compute budget, scale parameters N and tokens D together. Many big models were undertrained. A smaller model on more tokens can beat a larger one. Fit curves on small runs, extrapolate before you spend.

Stylized log-log loss-versus-compute curves for different model sizes with the compute-optimal frontier as their lower envelope, illustrating the Chinchilla parameter-versus-data tradeoff.

Scaling laws are empirical rules that relate model loss to compute, parameter count, and data size. They matter because frontier labs spend enormous budgets, and even small allocation mistakes can waste millions of dollars.

Primary sources:

The Basic Idea

Language model performance tends to improve predictably as:

But these resources trade off. A model can be:

Kaplan-Style Scaling

The earlier scaling-law picture emphasized smooth power-law improvements with larger models, larger datasets, and more compute.

Important mental model:

loss ~= irreducible_loss + scale_terms

The exact fitted equations matter less than the discipline:

Chinchilla Correction

Chinchilla argued that many large language models were undertrained. For a fixed compute budget, the compute-optimal model should use fewer parameters and more training tokens than earlier practice suggested.

The practical lesson:

Compute Allocation

Rough training compute for dense transformers is often estimated as proportional to:

parameters * training_tokens

That hides many details, but it is useful for first-pass reasoning.

When thinking like a researcher, ask:

Scaling Beyond Loss

Cross-entropy loss is not the whole story.

Frontier labs care about:

Some capabilities appear gradually; some appear sharply on certain evaluations. Be careful with "emergence" claims because metric choice and scaling axis can create artifacts.

Data Quality And Repetition

Token count is not enough. Tokens differ in value.

Important dimensions:

This links to Data Tokenization and Pretraining Objective.

Research Questions

What To Practice

Run tiny scaling experiments:

The habit matters more than the toy result.

Related