Overfitting
Overfitting occurs when a model fits the training data in ways that do not generalize well to new data. It may exploit noise or incidental patterns. Evaluation on held-out data helps reveal the gap, although a new deployment environment can introduce additional distribution changes.
What does Overfitting mean in simple terms?
A student who memorizes answers can do well on familiar questions and struggle with new ones. A model can similarly rely on details specific to its training examples. Low training error is therefore insufficient evidence of useful performance. Test with examples that represent the intended use and that were not used to tune the model.
How can Overfitting be explained with an analogy?
It is memorizing the answer positions in an old exam instead of learning how to solve the questions.
Where is Overfitting used?
A learning curve
In a hypothetical experiment, training loss continues falling while validation loss worsens. The team investigates overfitting and compares regularization or early stopping using the validation set.
Hospital-specific patterns
A 2018 PLOS Medicine study found that pneumonia-screening models could exploit hospital-related information and perform worse externally. Its pooled model had internal AUC 0.931 and external AUC 0.815 in the reported comparison. The case shows generalization risks, not that every external performance drop has only one cause. [1]
A source-aware split
A hypothetical team separates data by patient or collection period where needed, preventing closely related examples from leaking across training and evaluation. It checks a new site separately before deployment.
Double descent
Research on deep double descent reports that test performance can vary non-monotonically with model size, training duration, or sample size. This complicates a simple bigger-models-always-overfit rule; it does not eliminate the need for evaluation. [2]
Learning steps, limitations and developments
Separate training, validation, and final test data and document how each is used. Repeated tuning on a test set compromises its independence. Use suitable regularization, data quality checks, and representative evaluation rather than treating a single technique as a cure. External validation and monitoring are especially useful when the operating environment differs.
Which sources explain Overfitting?
- Zech et al.: Variable generalization performance — https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.1002683
- Deep Double Descent — https://arxiv.org/abs/1912.02292
Tell us what you think
Your feedback helps us improve the content.