6.1.2 · D3Scaling & Efficient Architectures

Worked examples — Compute-data-parameter tradeoffs

2,893 words13 min readBack to topic

This page is a case-completeness drill for the parent note Compute–Data–Parameter Tradeoffs. We already know two engine equations from there:

Before touching a single number, let me define the symbols in plain words, because the whole page leans on them:

If any of these feel shaky, re-read the parent's resource triangle first — this page assumes only these four definitions and nothing else.


The scenario matrix

Every problem this topic throws at you falls into one of these cells. The worked examples below are labelled by cell, and together they hit all of them.

Cell (flag) What varies / what's degenerate Example
A. Forward direction Given and , find Ex 1
B. Backward direction Given + the 20× rule, find and Ex 2
C. Ratio diagnosis Given , judge over/under-trained Ex 3
D. Scaling / limiting behaviour Multiply by a factor, predict growth Ex 4
E. Degenerate input , , or a term Ex 5
F. Real-world word problem GPU-hours, wall-clock, dollars Ex 6
G. Deployment twist Inference cost flips the "optimal" answer Ex 7
H. Exam trap The "6", FMAs, units, wrong exponent Ex 8
Figure — Compute-data-parameter tradeoffs

The figure above is the map: the curved blue line is the loss-vs- trench at fixed compute, and each coloured flag is one cell of the matrix. As you work each example below I will point back to its flag — the yellow flag is the optimum (cell B), the red flag is the data-starved big model (cell C, ratio ), the green flag is the small over-trained model (cell G), and the white dashed floor is the degenerate limit (cell E). Keep glancing back at it.


A — Forward direction: given and , find


B — Backward direction: given , find and

See Chinchilla vs GPT-3 for why this 20:1 split beats the alternatives.


C — Ratio diagnosis: is a model over- or under-trained?


D — Scaling / limiting behaviour


E — Degenerate / limiting inputs

Before we can push things to infinity, we must know what every symbol in the loss law means — otherwise "" is a magic trick, not maths.


F — Real-world word problem


G — Deployment twist: inference flips the answer


H — Exam trap: the "6", FMAs, and units


Recall Rapid self-test (cover the answers)

Given , , what is ? ::: FLOPs. Budget , rule : find . ::: . — over- or under-trained? ::: Over-parameterized / data-starved (like GPT-3). 10× compute: model growth factor? ::: (data ). As and , loss tends to? ::: The irreducible loss (never ). Serving cost per token in FLOPs? ::: (forward pass only), one-third of training's . given as FMAs — convert before using ? ::: Yes, multiply by 2 (1 FMA = 2 FLOPs).