You plot training and validation loss against epochs. What do the curves look like for (a) underfitting, (b) overfitting and (c) a learning rate that is too high, and what would you do in each case?

Deep learning, Training and regularisation
Level L2 Elementary. Length Short. Nature Th Theoretical.

What's being asked

Whether you can read learning curves and turn each pattern into a concrete fix, including early stopping.

Key idea

An epoch is one full pass over the training data. The gap between training and validation loss measures variance (overfitting). The level of the training loss measures bias (underfitting). The shape of the training curve tells you how the optimiser is behaving.

Steps

  1. Underfitting: both losses are high, close together and flat. The model is too simple to fit even the training data. Fix: a bigger model, longer training, better features or less regularisation.
  2. Overfitting: training loss keeps falling, while validation loss reaches a minimum and then rises, so the gap widens. The model is memorising the training set. Fix: more data or data augmentation (label-preserving changes such as flips and crops), dropout or weight decay, a smaller model, or early stopping.
  3. Early stopping: keep the checkpoint with the lowest validation loss. Stop once it has not improved for a set number of epochs, called the patience.
  4. Learning rate too high: the training loss oscillates, jumps or diverges to NaN (not a number), or it drops fast and then stalls at a high value. Each step overshoots the minimum. Fix: lower the learning rate, add warm-up (start small and ramp up) or clip gradients.
  5. For contrast, a learning rate that is too low gives a smooth but very slow, almost linear decrease.

Common mistakes

How long your answer should be

One or two sentences per case; a quick sketch helps.

Last checked on 4 December 2026.

Read this

Previous in Deep learning: What is data augmentation, why does it reduce overfitting without collecting new labelled examples, and what are two concrete examples where a standard image augmentation like horizontal flipping or 180∘ rotation breaks the ground-truth label?
Next in Deep learning: A three-class classifier outputs the probability vector y^=[0.3, 0.6, 0.1]⊤, and the true class is the second one. What is the cross-entropy loss?