Scaling laws

Transformer components · component · 2020 · any domain

What it is

Empirical power laws linking loss to parameters, data and compute — plus the finding that data matters more than previously assumed.

When to use it

Deciding model size and data budget before spending money; Chinchilla reversed the early over-parameterization advice.

Caveats

They are empirical fits that hold within the range of sizes, data and architectures tested, not guarantees. Lower loss does not map cleanly to downstream ability, and the fitted exponents shift with data quality and training setup.

Key ideas

  • Compute-optimal means roughly 20 tokens per parameter for dense models
  • Inference cost changes the optimum: over-train small models for serving

Related architectures

Original paper

Scaling Laws for Neural Language Models (2020, arXiv)

Browse all 198 architectures

The architecture landscape, in one place.

Two things get called “ML architecture”: the classical statistical model families, and the neural network wirings. Both are here, tagged by what they are and what data they eat.

Start from your problem

Architectures

0 shortlisted