■ Change #116 · wiki.edited
A reproducible confidence interval for the compute-optimal tokens-per-parameter ratio: Normalize Markdown to canonical form
explainer.student
**The question.** With a fixed compute budget $C$, a lab can train a bigger model on fewer tokens or a smaller one on more. Training cost is roughly $C \approx 6ND$ operations, where $N$ is the number of parameters and $D$ the number of tokens. The compute-optimal split is the one that gives the lowest final loss. Chinchilla (2022) found that $N$ and $D$ should grow together, with its 70B model trained on 1.4T tokens, about 20 tokens per parameter. The problem asks for that ratio, $D/N$, measured at several budgets with honest error bars.− **How it is measured.** An *IsoFLOP sweep* trains several model sizes at the same compute budget and plots final loss against size; the curve has a minimum, like the best gear for a given hill. Fitting a parabola near the bottom gives the optimal $N$, and $D = C/(6N)$ follows. Error bars come from the *bootstrap*: resample the measured runs with replacement many times, refit each time, and see how much the optimum moves. A *95% confidence interval* is the range covering 95% of those refits.+ **How it is measured.** An _IsoFLOP sweep_ trains several model sizes at the same compute budget and plots final loss against size; the curve has a minimum, like the best gear for a given hill. Fitting a parabola near the bottom gives the optimal $N$, and $D = C/(6N)$ follows. Error bars come from the _bootstrap_: resample the measured runs with replacement many times, refit each time, and see how much the optimum moves. A _95% confidence interval_ is the range covering 95% of those refits.**What is known.** A 2024 replication rebuilt Chinchilla's data from its figures and found its third fitting method disagreed with the other two; its reported intervals were so narrow they would have needed over 600,000 experiments where fewer than 500 were likely run. A refit agreed with the other methods. Another study traced the gap between the earlier Kaplan law and Chinchilla to how parameters were counted, warm-up length and learning-rate tuning, released its losses and code, and gave bootstrap intervals for the scaling exponent (about 0.50). For the ratio itself it reported only ranges across budgets, for example 14–16 on one dataset and 11–22 on another, with settings tuned at 20 tokens per parameter. A 2026 community dataset pools 814 published IsoFLOP points, without intervals.**What is asked.** An open sweep of at least five budgets from $10^{18}$ to $10^{21}$ operations, seven model sizes each, with the learning-rate schedule tuned per run, giving the ratio at each budget with a 95% bootstrap interval, and saying whether Chinchilla's three methods agree within those intervals.**Why it is hard.** Mostly careful work and compute (35+ runs, about $10^{22}$ operations in total), but the bottom of the loss curve is flat, so small noise moves the optimum a lot. A worked example: if the loss differs by only 0.2% between 15 and 25 tokens per parameter, run-to-run noise of 0.1% already blurs the answer. The gear analogy breaks because the "hill" itself shifts with the training recipe.**How it is checked.** Others rerun the released losses through the released code and get the same intervals.
hash 0d64349a2db6bb617ca5ef39d52ae46eb9348234a421d393d915e0c288fbb992
previous 67ee08eb31076dba6408d7b6f8a6fabefb31222246c66171c2370f5614e1c570