Skip to content

By scaling laws, how much data are you actually short of

THE ARGUMENT

A scaling law estimates how many tokens to train on under a fixed compute budget, not how many unique tokens to buy. It is usable as an order-of-magnitude reference only if data is homogeneous, the target is pretraining loss and compute is the binding constraint; miss one and the gap cannot be converted into a purchase quantity.

On this page

Three vendors, three quotes, all selling you roughly the same corpus. You ask yourself one question: how much are we actually short of? Someone produces a formula. Parameters times twenty gives the token count you need. Your model has eight billion parameters, so you need 160 billion tokens, you have 40 billion, and you are three times short. Every step of that arithmetic is correct. The problem is that it is not computing the thing you are about to buy.

Three numbers on a quote sheet

Set the scene. You are training an eight-billion-parameter base model. You have accumulated 40 billion tokens: public web text, two purchased industry corpora, and a pile of internal documents. You want to know how much more you need, because you intend to negotiate on that number.

Someone hands you a rule: parameters times twenty. Eight billion times twenty is 160 billion. The gap is 120 billion tokens. At one vendor's unit price that becomes a specific amount of money that fits in a budget spreadsheet. Every step reproduces cleanly, which is why it looks like a conclusion.

The real question is at step one: where does that twenty come from, and under what conditions does it hold? If you cannot answer that, you are making a seven-figure decision on a number you remembered rather than derived.

What that paper actually answered

The source is a 2022 paper. The authors trained more than four hundred models between 70 million and 16 billion parameters and fitted how loss moves with a fixed compute budget in three independent ways: minima over training curves at fixed model sizes, IsoFLOP profiles, and a parametric loss fit. All three point the same way: parameter count and training tokens should grow roughly in proportion with compute. Section 3.4 reports N_opt ∝ C^a and D_opt ∝ C^b with a/b = 0.50/0.50, 0.49/0.51 and 0.46/0.54 for the three methods, against 0.73/0.27 in Kaplan et al.[1][2] "In proportion" means equal exponents, not doubling both numbers: with training compute roughly C ≈ 6ND, doubling C scales N and D by about √2 each. Doubling both would need roughly four times the compute.

The comparison everyone quotes is this one: a 70-billion-parameter model trained on 1.4 trillion tokens beat a 280-billion-parameter model trained on roughly 300 billion tokens on most evaluations, and also beat the 175-billion-parameter models of the day. It became famous because it cut against the habit of the previous era. Those models were not too small. They had simply read too little.

Notice what question it answers. Given a fixed compute budget, how large should the model be and how many tokens should it see. That is an allocation problem, and the answer is a ratio. It does not ask how many records your business needs. The two questions look alike and have completely different shapes of answer: one returns a proportion, the other returns a quantity plus a description of quality.

One more thing about the twenty. Chinchilla itself is 70B parameters trained on 1.4T tokens, exactly 20 tokens per parameter, and Table 3 in section 3.4 projects D/N of roughly 20–22 from 400M to 1T parameters under the first fit.[1][2] The other two fits disagree: Table A3 gives 22 at 10B and 25.4 at 67B for IsoFLOP, while the parametric fit already gives 41 at 10B and keeps climbing with compute.[2] So 20 is a marker for one fit at this scale, not a constant in the paper and not a cross-method law. Fine for an order-of-magnitude judgement, useless in a contract.

Three premises before you estimate a gap

Moving this curve into a procurement setting means passing three assumptions. If all three hold, the number means something. If one fails, you can still do the arithmetic, but it now describes a different world.

PremiseWhat the paper assumedHow procurement usually differs
Homogeneous data of equal qualityThe fit rests on one corpus where tokens are interchangeableYour 40 billion tokens come from five or six sources with different cleaning, languages and domain mixes
The target is pretraining lossThe curve fits cross-entropy, not any downstream metricYou care about ticket classification accuracy, or pass rates on code completion
Compute is fixed and you are allocating itGiven FLOPs, find the best split between parameters and tokensYour constraint is usually a frozen model size or an approved data budget

The second row is the one people gloss over. Lower loss and better task metrics usually move together, but together is not the same as at the same rate. A model with lower loss on general text can be worse on your vertical task, because much of that gain comes from the distribution it is already good at. Nothing in the scaling law promises the curve holds for your metric.

The third row is subtler. If inference cost pins your model size, tokens are the only dial left. You are not allocating, you are adding, and advice to scale both sides in proportion has no grip. What the paper does discuss is different: at the same compute budget, a smaller model trained on more tokens also reduces memory footprint, fine-tuning and inference cost, as stated in the abstract and sections 1 and 4.[1][2] It does not analyse whether training a fixed-size model past its compute-optimal point pays off, and it does not supply that conclusion. Using inference cost as a licence to overshoot is a common extrapolation; this piece will not underwrite it. That decision needs a joint training-plus-inference cost calculation of your own.

Compute the gap, then ask whether it is a money problem

The example below is fictional and meant only to make the steps reproducible. It does not describe any real project.

given (fictional teaching example, no real project)
  P = 8.0e9 parameters
  U = 4.0e10 unique tokens
  r = 20 tokens/param (Chinchilla 70B / 1.4T)

reference training volume
  T_ref = P × r = 1.6e11 training tokens

nominal gap (training-token units)
  gap = T_ref − U = 1.2e11

fill the training volume by repetition
  4.0e10 × 4 passes = 1.6e11   matches T_ref
  extra training tokens = 1.2e11 = 3 additional passes
  unique tokens still 4.0e10

conclusion
  1.2e11 is the shortfall in training-token passes
  not 1.2e11 new unique tokens to purchase
  whether the two are equivalent needs a separate
  repetition-versus-fresh-data experiment

An earlier version of this example said that 4.0e10 repeated three times (1.2e11) matches T_ref. That is arithmetic error: 1.2e11 falls short of 1.6e11 by 4.0e10, and four passes are needed to match. The correction sharpens the point. Those 120 billion tokens can be assembled by three extra passes or by purchase. On a budget sheet the two look identical; in a model they do not. This curve says nothing about how many passes over the same tokens equal one pass over fresh ones. That is a different question requiring a different experiment, and the answer depends on data quality and domain saturation. So "we are 120 billion tokens short" has to specify: short of passes, or short of unseen content.

If the shortage is unseen content, the following actions become meaningful:

  • 1. 1. Count equivalent volume, not records. Convert every source into tokens, lay it out by language, domain and quality tier, and keep a separate column for unique tokens. Without that table, every estimate is a guess.
  • 2. 2. Treat the reference as a range, not a point. At the same scale the paper's three fits give different D/N values: roughly 20 (training curves), 22 (IsoFLOP) and 41 (parametric fit) near 10B in Table 3 / Table A3.[2] Substitute each one and see whether the conclusion survives. If the ends imply different purchases, your decision is over-sensitive to a parameter you should measure before you order.
  • 3. 3. Ask the vendor for evidence of comparability, not for volume. You are short an equivalent volume, so the question is whether their corpus has a similar source mix, what remains after deduplication, and whether you can see a sample. Volume is the easiest thing to promise.
  • 4. 4. Write the conclusion as a sentence that can be attacked. For example: assuming comparable quality, we are short roughly 120 billion training-token passes, and the share that repetition can cover is unknown. That reads worse than we are three times short, and it puts the uncertainty where it belongs.

One of those four steps is usually skipped: the first. Most teams cannot say how many unique tokens they hold, because the corpus sits in several buckets with inconsistent deduplication. Bad gap estimates are rarely a formula problem. They are a what-do-we-own problem.

Where the curve breaks

The first boundary is extrapolation. The fit stops at 16 billion parameters, and you want to steer something much larger. Inside the observed range the curve has evidence. Outside it, the curve is an assumption. That does not make it wrong; it makes it unsupported.

The second boundary is quality. The entire curve assumes tokens substitute for one another, while in reality a human-written ticket and a templated ticket can carry the same token count and wildly different value. The moment you start paying a premium for quality, you have left the domain where this curve applies.

The third boundary is the most practical: this curve is about pretraining only. Half your budget may sit in post-training and evaluation, where the allocation logic is entirely different. Using a pretraining ratio to justify a post-training data purchase merges two sets of books into one.

So the next time someone computes your gap with parameters times twenty, do two things: make them confirm the three premises one by one, and make them write equivalent tokens and unique tokens as separate lines. You usually do not need the answers to tell whether the number was derived or recited.

References

  1. Training Compute-Optimal Large Language Models
  2. Training Compute-Optimal Large Language Models full HTML (section 3.4 Tables 2/3, Appendix D Table A3, sections 1/4 on inference cost)

Read next

All articles

Sign in to Padda

A code in your inbox. No password to remember.

Connecting to sign-in…