Regularization · Neural Networks
DROP — Dropout Randomly Omits Percentages of neurons during training
Batch Normalization speeds training so dramatically it should be used by default
D
Dropout — randomly disabling neurons during training
During each training step, 20-50% of neurons are randomly disabled, forcing the network to learn redundant, more robust representations rather than over-relying on any single neuron. At inference time, outputs are scaled by (1-p) to compensate.
Example: with 30% dropout, roughly a third of neurons in a layer are randomly turned off during each training step, forcing the remaining neurons to compensate.
R
(Batch) Normalization — stabilizing and speeding up training
Normalizes each layer's inputs to have a mean of 0 and standard deviation of 1, which speeds up training dramatically and allows the use of higher learning rates.
Example: without batch normalization, a network might need a very small, cautious learning rate to train stably; with it, a much higher learning rate can be used safely.
O
(L2 weight decay) — penalizing large weights
Adds a penalty to the loss function proportional to the size of the weights, discouraging the network from relying too heavily on any single large weight, which helps prevent overfitting.
Example: a weight that grows unusually large during training gets pulled back down by the L2 penalty added to the loss.
P
(Early) stopping — halting training at the right time
Validation loss is monitored throughout training, and training is stopped as soon as validation loss starts rising, even if training loss is still decreasing — a clear signal that the model is beginning to overfit.
Example: training loss keeps decreasing after epoch 40, but validation loss starts climbing — early stopping would halt training right around epoch 40 rather than continuing further.
1
A network trains for 100 epochs, and the team notices training loss keeps steadily decreasing throughout, but validation loss starts climbing after epoch 35.
2
Ask: what does this pattern signal? Overfitting — the model is increasingly memorizing training data rather than learning generalizable patterns after epoch 35.
3
Early stopping would have halted training right around epoch 35, before the model overfit further, saving the version of the model with the best validation performance.
4
Additional regularization tools — dropout, batch normalization, and L2 weight decay — could also be added to make the model less prone to this overfitting pattern in the first place.

Exams test whether you can match a described training symptom to the appropriate regularization fix, and whether you understand each tool's specific mechanism: dropout randomly disables neurons, batch normalization stabilizes layer inputs (and dramatically speeds training), L2 weight decay penalizes large weights, and early stopping halts training based on validation loss trends.

The most common trap is confusing batch normalization's primary purpose (stabilizing and speeding up training) with a pure regularization technique like dropout or L2 weight decay. While batch normalization does have some regularizing side effects, its main documented benefit is training speed and stability, which is why it's recommended as a near-default choice in modern architectures.

1. What does dropout do during training?
Randomly disables a percentage (typically 20-50%) of neurons at each training step, forcing more redundant, robust representations.
Tap to reveal / hide
2. What is the main benefit of batch normalization?
It speeds up training dramatically and allows higher learning rates by normalizing each layer's inputs to mean 0, standard deviation 1.
Tap to reveal / hide
3. What does L2 weight decay penalize?
Large weights — it adds a penalty to the loss function proportional to weight size, discouraging overreliance on any single large weight.
Tap to reveal / hide
4. What signal does early stopping monitor to decide when to halt training?
Validation loss — training stops as soon as validation loss starts rising, even if training loss keeps decreasing.
Tap to reveal / hide
5. Why is batch normalization often used almost by default in modern architectures?
Because it speeds up training so dramatically and allows higher learning rates, beyond just its regularizing side effects.
Tap to reveal / hide