How machines learn
Learning Curves and When More Data Helps
Use training-set-size experiments to distinguish estimation limits, coverage gaps, underfitting, noisy labels, and diminishing returns.
By the end you can
- Explain what a learning curve shows as training data increases
- Recognize curve patterns consistent with data limitation, underfitting, or noisy evaluation
- Distinguish more rows from more independent and representative evidence
- Decide whether to collect, relabel, rebalance, or stop based on observed bottlenecks
Key idea
“Get more data” is a hypothesis, not a plan
Additional examples can reduce uncertainty and expose variation, but they can also duplicate what the model already knows, amplify bad labels, or extend a biased collection process. A useful data request names which conditions, entities, outcomes, or disagreements are missing and predicts how performance should change when they are added.
Sometimes the question is not how much data. It is how a fixed budget is divided between data and model. That trade has been measured. Hoffmann and colleagues at DeepMind trained “over 400 language models ranging from 70 million to over 16 billion parameters on 5 to 500 billion tokens”, and reported in March 2022 that “for compute-optimal training, the model size and the number of training tokens should be scaled equally”. The rule is stated plainly: “for every doubling of model size the number of training tokens should also be doubled”. Their test of it was Chinchilla. It spent the same compute as the 280-billion-parameter Gopher, on 70 billion parameters and four times the data. It reached 67.5% average accuracy on MMLU, “greater than a 7% improvement over Gopher”. At a fixed budget the extra examples were worth more than the extra parameters.
Ask what new evidence the next thousand examples will contribute.
Visual
Train on progressively larger subsets
A learning curve plots performance against the amount of training evidence. The evaluation policy stays fixed.
The procedure has a canonical published run. In 2001 Banko and Brill, at Microsoft Research, trained four learners on nested subsets of a one-billion-word corpus: Winnow, a perceptron, naive Bayes and a simple memory-based learner. The task was confusion-set disambiguation. Every one of those subsets was scored against the same held-out evaluation — 1 million words of Wall Street Journal text kept out of training. Averaged over ten confusion sets, accuracy was still climbing at the largest subset. That subset was three orders of magnitude beyond the largest corpus previously used for the problem. Their own summary of the plot is a single sentence: “Note that the curves appear to be log-linear even out to one billion words.”
The curve also moved the conclusions, not just the scores. Complementarity between two of the learners fell from 0.2612 at 10^6 words to 0.1612 at 10^9 words. At the small end the two methods were failing on noticeably different examples. At the large end they were failing on much the same ones. A comparison run only at 10^6 words would have reported a difference that had largely dissolved by 10^9. That is what the ladder of subsets is for. One dataset size gives you one point on a curve, and no way to know which part of it you are standing on.
- 1
Small subset
Fit the same procedure on a limited sample and record training and validation behavior.
- 2
Medium subsets
Add independent examples while keeping features, model family, and metric stable.
- 3
Full dataset
Measure whether validation improvement continues, slows, or stops.
- 4
Projected collection
Estimate the likely value and cost of additional targeted data.
Comparison
Four stories told by data-size curves
Curves do not prove a cause, but they narrow the investigation.
Read each pattern as a statement about the range you actually measured. A curve still rising at the largest subset — as Banko and Brill's was at one billion words — is evidence that the sizes you tried were data-limited. It is not a promise that the next decade of collection behaves the same way. A curve that flattens is evidence about the representation, the labels or the metric at those sizes. It is not yet evidence about the problem itself.
Data-limited pattern
Validation improves steadily and the train-validation gap narrows.
- More representative data may help
- Training score may fall slightly
- Independent entities matter
- Projection remains uncertain
Underfitting plateau
Training and validation level off at similarly poor performance.
- More identical data may add little
- Representation or capacity may limit fit
- Target may lack signal
- Optimization should be checked
Persistent gap
Training remains strong while validation improves slowly.
- More data may reduce variance
- Regularization may also help
- Shortcuts should be audited
- Coverage matters more than raw volume
Noisy evaluation
Validation jumps unpredictably across subset sizes.
- Holdout may be too small
- Rare cases may dominate variation
- Repeated runs are needed
- Metric confidence should be reported
Ten photographs of one object are not ten new objects
More rows help most when they add independent variation relevant to deployment, and frames from the same video, repeated windows from one machine, or templated messages may increase compute without increasing the diversity of situations learned.
In medical devices this is not advice, it is a published expectation. Three regulators — the U.S. Food and Drug Administration, Health Canada and the UK Medicines and Healthcare products Regulatory Agency — jointly issued 10 Guiding Principles for Good Machine Learning Practice for Medical Device Development in October 2021. Guiding Principle 4 names the dependencies a row count hides: “Training and test datasets are selected and maintained to be appropriately independent of one another. All potential sources of dependence, including patient, data acquisition, and site factors, are considered and addressed to assure independence.” Three named axes: the same patient, the same scanner, the same hospital. Each one has to be addressed rather than counted around. Principle 3 asks that the intended population be “sufficiently represented in a sample of adequate size”. Principle 8 asks for test plans that generate performance information “independently of the training data set”.
Track distinct entities, sites, time periods, devices, annotators, and outcome types alongside row count. Sampling design determines the information gained.
Example
Collect where the error analysis points
Data acquisition becomes more efficient when linked to a diagnosed gap.
The coverage gap has the best-documented worked example. Three commercial gender classifiers were tested in 2018, and the error rate ran as high as 34.7% for darker-skinned females against a maximum of 0.8% for lighter-skinned males. Buolamwini and Gebru did not stop at the symptom. They measured the benchmarks the field was scoring itself on, and then built the missing data: “We find that these datasets are overwhelmingly composed of lighter-skinned subjects (79.6% for IJB-A and 86.2% for Adience) and introduce a new facial analysis dataset which is balanced by gender and skin type.” The slice was named, quantified, and collected against. That is the full sequence this section is asking for.
A federal agency then found the same class of gap at scale. NIST's Face Recognition Vendor Test Part 3, published in December 2019, ran 18.27 million images of 8.49 million people through 189 mostly commercial algorithms from 99 developers. Its finding: “Across demographics, false positives rates often vary by factors of 10 to beyond 100 times.” False negative effects varied by factors usually below 3. Two error types, two very different magnitudes of disparity. The gap between them is itself an argument for diagnosing before collecting, since the two point at different data.
- Coverage gap: collect examples from the missing language, site, device, or environmental condition — the gap Buolamwini and Gebru filled was a skin-type and gender imbalance they first measured in the benchmarks at 79.6% and 86.2% lighter-skinned.
- Rare outcome: use broader screening, expert review, or carefully designed oversampling to obtain more positives.
- Label ambiguity: fund double annotation and adjudication rather than collecting more single labels.
- Boundary uncertainty: label cases near the current decision threshold while preserving a representative audit sample.
- Temporal drift: collect recent examples under the current policy and feature pipeline.
- Shortcut dependence: gather counterexamples where the shortcut and intended concept disagree.
Key idea
Model-selected examples change the dataset
Selecting uncertain or high-score cases can make labeling more informative per example, but the resulting set is not representative of natural prevalence. Metrics computed on it need appropriate interpretation.
Maintain separate streams for targeted learning, representative evaluation, and safety surveillance. A single selection policy rarely serves all three purposes. Medical-device developers are held to the same separation by Guiding Principle 8: a test plan whose performance information is generated independently of the training data. It is also why Banko and Brill scored every subset size against one fixed 1-million-word held-out set, rather than against a sample drawn alongside each subset. From the smallest subset to the one-billion-word run, the yardstick never moved.
Data chosen to improve the model is not automatically valid for measuring the model.
Analogy
An analogy: filling a reservoir from several rivers
A reservoir receives its water from one polluted stream. Adding more water from the same stream increases volume without improving quality or diversity of supply. Adding cleaner water from other sources changes the system more meaningfully.
Data scale works similarly because source diversity and quality matter alongside quantity. Examples have no single measurable purity. They carry labels, dependencies, and task-specific value. Water you would not drink can still fill a reservoir usefully. Whether it does is an empirical question about the task, answered by the curve and not by the purity of the source.
Steps
Estimate value before launching a collection program
Data work is expensive enough to require an explicit expected benefit.
Write the expected benefit down as a number before the first collection contract is signed, because the published numbers are sobering. A checkpoint that says “we will collect 30× and expect the curve to keep its slope” is a testable claim. “We need more data” is not.
1. Diagnose the curve
Identify whether the project is data-limited, underfit, unstable, or shifted.
2. Name the missing variation
Specify entities, slices, outcomes, or counterexamples needed.
3. Design collection
Choose source, sampling, labeling, privacy, and quality controls.
4. Set a checkpoint
Define how much data will be collected before testing the hypothesis.
5. Measure marginal gain
Compare improvement per example, cost, and affected slice.
6. Stop or redirect
End collection when gains flatten or a different bottleneck becomes dominant.
Learning curves support decisions, not promises
A smooth curve fitted to past gains may fail when the next data source differs, or when the remaining errors are irreducible. Report projections as uncertain scenarios, not guaranteed returns.
The decay has a measured shape. Hestness and colleagues at Baidu Research measured learning curves for six deep network models across four domains: machine translation, language modeling, image classification and speech recognition. Their 2017 finding was that generalization error falls as a power law in training-set size. The exponents came out empirically between -0.07 and -0.35, far shallower than the -0.5 or -1 that theory predicts. The exponent is what decides whether the next order of magnitude of data is worth buying. It is also the one thing better engineering did not move: “Improved model architectures and optimizers can improve the power-law intercept, but not the exponent”. A better architecture shifts the whole curve down. It does not make the curve fall faster.
And a projection fitted to learning curves can be followed by an entire field, then overturned by a redesigned experiment. In January 2020 OpenAI concluded that “optimally compute-efficient training involves training very large models on a relatively modest amount of data”. Kaplan and colleagues put numbers on it: an exponent of 0.73 on parameters against 0.27 on tokens, nearly three to one in favour of size. Two years later Hoffmann and colleagues at DeepMind re-ran the sweep, with the learning-rate schedule matched to each run's token count. Their three methods returned 0.46 to 0.50 on parameters and 0.50 to 0.54 on tokens. Near-equal, not three to one. Their diagnosis is about experimental design rather than about data: “First, the authors use a fixed number of training tokens and learning rate schedule for all models; this prevents them from modelling the impact of these hyperparameters on the loss.” The curve was real. The runs underneath it had each been trained in a way that misrepresented what the data axis was worth. The field scaled the wrong axis for two years on the strength of it.
The important result may be that more data is no longer the most efficient intervention. Better labels, features, workflow, or problem framing can dominate the next improvement.
Key takeaways
- More data is useful when it adds independent, representative, accurately labeled evidence relevant to deployment.
- Learning curves compare training and validation behavior across controlled dataset sizes. Banko and Brill ran four learners across nested subsets of a one-billion-word corpus, and scored every subset against the same 1 million words of held-out Wall Street Journal text.
- Curve patterns can suggest data limitation, underfitting, persistent variance, or unstable evaluation. Each conclusion holds only over the range of sizes actually measured: complementarity between two of Banko and Brill's learners fell from 0.2612 at 10^6 words to 0.1612 at 10^9.
- Rows, entities, sites, time periods, and source diversity describe different kinds of dataset scale. The FDA, Health Canada and the UK Medicines and Healthcare products Regulatory Agency name patient, data acquisition and site factors as the dependencies that must be addressed rather than counted.
- Targeted labeling can accelerate improvement, but it must be separated from representative evaluation. Buolamwini and Gebru built a balanced dataset only after measuring the benchmarks at 79.6% (IJB-A) and 86.2% (Adience) lighter-skinned, and NIST later found false positive rates varying by factors of 10 to beyond 100 across demographic groups.
- Data collection should have a diagnosed gap, a sampling plan, a checkpoint, a marginal-gain measure and a stopping rule, because the marginal gain is an exponent that has to be fitted per problem: between -0.07 and -0.35 across the six models Hestness and colleagues measured, and 0.73/0.27 versus roughly 0.50/0.50 once Kaplan and colleagues' projection was re-measured at DeepMind.