Basis Lab

Answers · How models work

Can a better model make up for a bad training set?

In shortNo. A better model can reduce error on what the training set contains, but it cannot supply a skill or fact the set never demonstrates.

No, not for the faults that decide what the model can do. A better model can get closer to the best loss a corpus allows, and it can learn faster from the text that is there, but it cannot supply a fact, skill or language that the corpus never contains.

$$L = H + R$$

Write the measured loss as L=H+RL = H + R. HH is irreducible uncertainty in the text itself: the next token genuinely cannot be predicted better from the context. RR is reducible structure the model has not yet learned. Parameters, architecture and training time buy down RR. None of them buy down HH, because HH is a property of the corpus. The ceiling is the best loss the data permits, and every improvement a team can purchase is the distance from where it is to that ceiling.

Take three runs with identical architecture. Run 1 is trained on a general web mixture and reaches held-out loss 2.31, but is weak at arithmetic and nobody notices at first. Run 2 adds mathematics at three per cent of the mixture. In a 1.2 trillion token mixture that is 1.2×1012×0.03=3.6×10101.2\times10^{12} \times 0.03 = 3.6\times10^{10}, or 36 billion tokens. Its loss is 2.34, which is 2.34−2.31=0.032.34 - 2.31 = 0.03 worse, yet its arithmetic is much better. Run 3 removes mathematics and increases web text. It has the best loss of the three, 2.29, which is 2.31−2.29=0.022.31 - 2.29 = 0.02 better than run 1 and 2.34−2.29=0.052.34 - 2.29 = 0.05 better than run 2, and it is the worst model for the intended use. The loss ranked the runs in the wrong order.

The natural guess is that a stronger model would have learned the arithmetic anyway. It would not, if the arithmetic was not in its training text. The held-out loss is computed on data drawn from the same mixture, so a corpus missing mathematics is judged by an evaluation that is also missing mathematics. A training run cannot report on text that never entered it. This is why absence is the expensive fault: it is silent in every number the run prints, and it surfaces later when somebody asks the model to do the thing in front of a customer. More parameters do not create information; they only fit the information that reached the weights.

Where the ceiling comes from

The mixture is the specification. In a 1.2 trillion token corpus, 13 per cent code is 1.2×1012×0.13=1.56×10111.2\times10^{12} \times 0.13 = 1.56\times10^{11} tokens, or 156 billion. Two per cent conversation is 1.2×1012×0.02=2.4×10101.2\times10^{12}\times0.02 = 2.4\times10^{10}, or 24 billion. A language that makes up a fraction of a per cent has that fraction of the tokens, and the model's competence in it follows the proportion. A better model can be more efficient with those tokens, but it cannot turn 24 billion tokens of conversation into the same thing as 804 billion tokens of filtered web pages, since 1.2×1012×0.67=8.04×10111.2\times10^{12}\times0.67 = 8.04\times10^{11}. The forecast is available before training from the mixture chart.

If the skill is present but rare, a better model can help. It may reach a lower RR on the same tokens, so it can partly offset a thin slice of the mixture. That is a real effect and it is why scaling sometimes looks like a data fix. But it is bounded by the text that exists. If a language is absent, the count is zero, and no amount of compute changes zero. If the mixture is wrong in proportion, a stronger model can squeeze more from the underweighted slice, but it cannot make that slice the dominant source of competence. The ceiling moves down only when the corpus changes.

What a better model does fix

The opposite mistake is treating every disappointment as a data fault. A model's latency is set by its size and shape, not by what the weights contain. Serving cost is the same arithmetic whatever the corpus was. Context length is an architectural limit. The manner of answers, whether the model is brief or long, refuses or complies, uses lists or prose, is decided overwhelmingly by alignment on a few tens of thousands of examples, not by the trillion tokens underneath. A better alignment stage can repair a manner fault in days; a better base model cannot repair a missing capability at all. The stages fail in distinguishable ways, and the cost of repair differs by orders of magnitude.

FIG 1Which stage can repair which fault
The further left a fault lies, the more it costs to repair.

Where it stops being true is the boundary of the word bad. If bad means the corpus is missing a capability, the answer is no. If bad means the model has not yet extracted structure that is present, a better model or longer training can make up ground, because that is RR and it is for sale. If bad means the answers are the wrong shape, the repair is alignment, not a new corpus. If bad means the service is slow, the repair is serving. The question is not whether a better model can compensate in general; it is which term of L=H+RL = H + R the fault sits in, and whether the fault is in the corpus at all.

Before training, write the mixture down and list what the model is supposed to do. For each item, find the text that demonstrates it. That check takes a day. If an item has no text, no later choice will create it. If it has text, a better model may learn it more efficiently, and that is the only sense in which a better model makes up for a bad training set.

Worth keeping

  • A training set sets a ceiling on what a model can be good at; architecture, scale and tuning can only close the distance to that ceiling.
  • A corpus missing a skill is evaluated by a held-out set that is also missing it, so the gap does not appear in the loss.
  • Latency, serving cost, context length and answer manner are decided by architecture, serving and alignment, not by the pretraining corpus.

Where this goes next

This question is one step of Where Training Data Comes From, a course that works through its subject from the beginning. The page that teaches this part of it is The Data Decides, and it reads the whole way through whether or not you have an account.

What an account changes is the practice: problems standing under every idea, marked with a reason rather than a tick, in a copy of the course that is yours.

Read that pageThe whole course

Other questions people ask about this

  1. What happens to the model if most of the training data comes from one source?The model becomes specialised to that source and loses ground on everything else, because a training mixture is a set of shares that must sum to one.
  2. If it's all just English text, why does where it came from matter?Because the same English words are a record of who was in a position to write them; each source filters for speakers, registers and subjects before you touch it, and no quality filter undoes that.
  3. Why does the model get stuck repeating the same sentence over and over?The model is not stuck in a memory loop: once it has written a phrase, that phrase is in its context and makes writing it again more likely, so a decoder that always picks the top word cannot leave.
  4. Why does diffusion add Gaussian noise instead of any random corruption?Diffusion adds Gaussian noise because Gaussian errors combine exactly: each step keeps the spread fixed and gives a closed-form noisy picture at any later step, which makes the reverse step learnable.
  5. Why does the same request cost more tokens in some languages than in others?A token is learned from a corpus, so a language that was rare in the training text is split into many more pieces for the same meaning, and the price multiplier follows.
  6. How do you turn the predicted noise into the mean of the previous image?Subtract a small scheduled fraction of the predicted noise from the current image, then rescale to undo the forward step's shrinkage.

Read alongside