AI Glossary / Graphs and symbolic AI / Beginner
Learning curve
Definition
A learning curve shows how a learning system's measured performance changes as a relevant resource or amount of experience increases. In supervised learning, it often plots training and validation performance against the number of training examples. The term is also used for performance over training steps or epochs, so the horizontal axis must always be stated.
What it means
The curve turns a single score into a picture of progress. A model that performs poorly with little data may improve steadily as examples are added, while another may quickly reach a plateau. Comparing training and validation results helps distinguish fitting the available examples from performing well on separate data.
The two common horizontal axes answer different questions. Increasing dataset size asks how the learning procedure benefits from more examples. Increasing training steps asks how optimization progresses on the available data. A curve over epochs cannot by itself establish what would happen if the dataset became larger or more representative.
How it works
To construct a sample-size learning curve, train the chosen procedure on several dataset sizes and evaluate it consistently. Use appropriate validation splits and repeat the experiment when feasible so that variation is visible. Keep important settings comparable and fit preprocessing only within the training data used for each run.
Plot the chosen metric with clear labels, indicating whether higher or lower values are better. Training and validation scores can reveal useful patterns, but interpretation requires context. A gap may suggest overfitting, while similar poor scores may suggest limited model fit or other problems. These are diagnostic clues, not definitive explanations of every dataset or learning failure.
Three practical examples
- A project team examines whether collecting more labeled examples is likely to help its current classifier.
- A training dashboard tracks validation loss across epochs to identify when further optimization stops improving the chosen metric.
- An analyst compares models at several training-set sizes while reporting the variability across data splits.
Think of it this way
Think of recording practice results after different amounts of experience instead of judging progress from one attempt. The analogy is limited because machine-learning curves depend on data sampling, model settings, and evaluation design. A smooth-looking line can conceal uncertainty, and a person's learning trajectory is not mathematically identical to a model's training process.
Worked example
Consider invented sample-size results for one classifier. With 100 training examples, training accuracy is 0.99 and validation accuracy is 0.70. With 500 examples, the scores are 0.95 and 0.82. With 2,000 examples, they are 0.92 and 0.88.
The training-validation gaps are 0.29, 0.13, and 0.04, or 29, 13, and 4 percentage points. In this experiment, validation performance improves as the sample grows while the gap narrows. Falling training accuracy is not necessarily a problem: fitting a larger, more varied training collection perfectly can be harder, even while generalization improves.
Now suppose the validation set contains 200 cases. A validation accuracy of 0.88 corresponds to 176 correct predictions. Improving to 0.89 means 178 correct predictions, a difference of two cases. Without considering sampling variation and repeat runs, that small change should not be treated as a guaranteed improvement.
The observed curve also does not prove that doubling the training data again will produce a particular score. Extrapolation beyond the measured range introduces assumptions. The example supports a limited conclusion about the recorded runs, not a universal law that more data always yields better performance.
Illustrative case study
In a fictional project, Silver Fern labels additional documents after an early classifier performs poorly. The team plots results at several sample sizes and sees that validation performance has begun to flatten. It checks labeling consistency and whether the features capture the distinctions the task requires.
Rather than assuming that another large labeling purchase must solve the problem, the team compares targeted data collection and model changes. This invented case illustrates how a learning curve can guide investigation without proving the cause of a plateau or prescribing a particular spending decision.
Common misconceptions and mistakes
A learning curve is not automatically a forecast. Its shape within the observed range does not guarantee the same trend at larger scales. More data can also change the task distribution, introduce label problems, or require different training settings.
Do not confuse a sample-size curve with a validation curve that varies a hyperparameter, such as model depth. Also, a small gap between training and validation scores is not sufficient evidence of good performance if both scores are poor. Check metric direction: a downward loss curve can be an improvement, while a downward accuracy curve usually is not.
Business use
Use learning curves to make experimentation and data-collection choices more informed. Define the decision first: whether to gather more examples, train longer, change model capacity, or investigate data quality. Then choose an axis and evaluation protocol that actually address it.
Include the cost of each run and the uncertainty in its score. Keep a final evaluation set separate from repeated development decisions where appropriate. Inspect performance on important classes or operating conditions as well as an overall average. A well-designed curve helps explain where progress is occurring and where more targeted work is needed.
People also ask
Does a learning curve always plot training epochs?
No. It often plots the number of training examples; some uses plot steps or epochs. Read the axis.
Should training accuracy always rise when more data is added?
No. A larger dataset can be harder to fit while improving performance on separate data.
Does a plateau prove that no improvement is possible?
No. It describes the tested procedure and conditions; other data, representations, or methods may behave differently.
Check your understanding
What does the narrowing gap in the worked example establish?
Answer: The recorded training and validation scores become closer as sample size increases. It is useful evidence about those runs, but it does not prove a particular future score or identify every cause of the improvement.
Related terms
- Training curve
- Generalization
- Overfitting
- Underfitting
- Sample size
- Epoch
- Cross-validation
- validation curve
- learning efficiency
Learn next
Sketch the three sample-size points from the example and label both axes. Add repeated-run ranges rather than only a connecting line. Then design a separate epoch-based experiment and explain which question each curve can answer.
More in Graphs and symbolic AI
- Large-scale learning - Large-scale learning is machine learning in a setting where the amount of data, size of the model, or computational workload makes time, memory, or data...
- Late move reduction - Late move reduction is a selective game-search technique that initially examines some later-ranked moves to a shallower depth than the main search.
- Leak node - A leak node is an additional, usually implicit, cause in a probabilistic model that accounts for an effect occurring through causes not represented...
- Learning element - A learning element is the part of a learning-agent architecture that changes the agent's decision-making components using experience and feedback.
- Least commitment - Least commitment is a search and planning principle that delays choices until they are needed, while making the commitments required for progress.
- Least-constraining-value - Least-constraining-value is a value-ordering heuristic for constraint satisfaction problems.
Sources
Sources: scikit-learn, official guide, Validation curves and Learning curve: https://scikit-learn.org/stable/modules/learning_curve.html
Previous: Learning automaton Next: Learning element