What overfitting actually looks like
Overfitting is when your training loss keeps going down while your validation loss starts going up. The model is memorizing patterns specific to the training set that don't transfer to held-out data. Big neural networks can fit pure noise (Zhang et al., 2017) — capacity is rarely the bottleneck. The art is keeping the model honest.
Three signals you should learn to read on a loss-curve plot: (1) the gap between train and val loss; (2) the slope of val loss after the gap opens; (3) whether the gap shows up in epoch 1 (data leak / no regularization) or epoch 30 (capacity catching up to dataset size).
The standard regularization toolbox
- Weight decay (L2 / AdamW) — penalizes large weights, the cheapest default.
- Dropout — randomly zero units during training, smooth the gradient noise.
- Data augmentation — synthetically expand the training set (the highest-leverage move when you have it).
- Early stopping — stop training when val loss stops improving.
- Smaller model — sometimes the right answer.
The 'just give it more data' answer
The single most reliable cure for overfitting is more (good) data. Augmentation is the cheap version. Pretraining on a related domain is the medium version. Active learning to label hard examples is the expensive version. All three beat any clever regularizer.