Skip to content

Overfitting

A situation where a model memorizes the dataset instead of understanding the underlying pattern. Performs almost perfectly on training examples but fails on new ones.

Analogy

A student has memorized the exam questions and answers but hasn't understood the subject. Familiarly formulated questions — they answer correctly, but slightly differently formulated — they get lost.

Signs

  • low error on training, high error on test;
  • the model is 'smart' only on familiar data.

How to Combat

  • more data — the most reliable way;
  • regularization — weight decay, dropout;
  • early stopping — stop training when quality on validation stops improving;
  • simplify the model.

See Also

← All terms