Optimization / Regularization
verifiedRegularization
Anything you do to a model to stop it memorising the training set. Weight decay, dropout, early stopping, data augmentation and label smoothing are all the same move in different clothes — deliberately making the training objective harder to satisfy, so that the easy way out stops being available.
The unifying description is that each one removes capacity the model could otherwise spend on the training set specifically. That is also why the classical story of it as a capacity limit is incomplete: a large network can fit pure noise, so it plainly has capacity to spare, and it still generalises when trained on real data. Whatever regularisation is doing is therefore about which solution the optimiser lands on rather than about which solutions exist, and the implicit regularisation of the optimiser itself is often the larger term.
Every explicit form buys the same thing: some training-set fit is given up in exchange for a smaller gap between training and held-out error. So the training loss is the currency and not the scoreboard: a regularised run sitting above an unregularised one on training loss is the method working rather than failing, and in the overparameterised regime, where both runs can drive it near zero, it says nothing at all. The only place the trade can be read is the held-out curve, which is why tuning any of these on training loss silently selects for no regularisation.
Loss over 4000 training steps, starting near 7.8. It falls to about 1.83, with 95% of the total improvement arriving in the first half. A second line shows held-out, ending higher at about 2.24.
Training loss against the same run measured on data it did not train on, dashed. Drag the holdout up to watch the gap open — regularisation is judged on that gap and never on the solid line, which is why tuning it on training loss picks the unregularised run every time.
Reviewed by opendroid · 2026-09-07
- arXiv:1611.03530 — Understanding deep learning requires rethinking generalization
- arXiv:1711.05101 — Decoupled Weight Decay Regularization
Watch & read
- Optimization and Deep Learning — Zhang, Lipton, Li & Smola · on Optimization
- NN - 16 - L2 Regularization / Weight Decay (Theory + @PyTorch code) — Meerkat Statistics · video · on Regularization