Search

Search IconIcon to open search

Regularization

Last updatedUpdated: by Jakub Žovák · 1 min read

Properties
created 15.03.2026, 09:28
modified 26.07.2026, 13:38
published Empty
topics Regularization, Overfitting, Generalization
authors Jakub
ai-assisted Yes

Regularization refers to any technique that reduces generalization error (overfitting) without necessarily reducing training error. Most methods add a penalty, constraint, or structural change that discourages the model from fitting noise in the training set ( Deep Learning, Ch. 7).

# Methods

  • L1 Regularization
    • Adds sum of absolute weights to the loss; promotes sparse weight vectors
  • L2 Regularization
    • Adds sum of squared weights to the loss; shrinks all weights smoothly toward zero
  • Weight Decay
    • Directly decays weights each step; equivalent to L2 in SGD, decoupled in Adam (Adamw)
  • Dropout
    • Randomly zeroes activations during training; acts as ensemble of thinned networks
  • Early Stopping
    • Halts training when validation loss stops improving; cheapest form of regularization
  • Batch Normalization
    • Normalizes layer inputs per mini-batch; has an implicit regularizing effect