Skip to content

Overfitting

Excessive adaptation to details of training data that reduces a model’s ability to generalise to new examples.

Machine learning

What happens in overfitting?

Overfitting means that a model adopts details of its training data so closely that it does not generalise adequately to new relevant examples. These details may include chance patterns or features with little relevance to the real task. Good results on training examples alone are therefore insufficient for assessment. Investigation considers results on separate data, the data split and the course of learning, among other factors.

In a fictional spare-part project, certain item classes often appear against the same background colour in training photos. The model could use that background as a shortcut instead of learning the important characteristics of the parts. The team therefore plans checks with previously unused images and changed backgrounds. It also examines whether the data covers the intended use and how different model variants generalise. A single incorrect assignment under different lighting does not establish overfitting; other causes need investigation too.

Sources