Skip to content

Weight Decay

A regularization method: at each training step, all weights are slightly reduced. This prevents the model from 'inflating' individual connections and memorizing noise.

How It Works

A penalty for large weights is added to the loss function. The model is forced to find a simple solution with small weights rather than memorizing each example.

Why

Combatting overfitting: a network with huge weights is too flexible and perfectly fits the training data. Weight decay restrains this flexibility.

Other Names

  • L2 regularization — the mathematical formulation of the penalty;
  • regularization — the general term for methods against overfitting.

See Also

← All Terms