What is a max-norm constraint on weight vectors?

Last updated 3 November 2026

  • A max-norm constraint caps each unit's incoming weight vector at L2 norm c (typically 3–4). After each gradient step, oversized vectors are rescaled via w ← w · min(1, c/||w||₂).

  • Unlike L2 or weight decay (a soft pull toward zero always), it is a hard constraint: weights inside the ball are left untouched.

  • It prevents weight explosion, allowing large learning rates and momentum. It pairs especially well with dropout, as the original dropout paper found.

  • https://machinelearningmastery.com/dropout-regularization-deep-learning-models-keras/
  • https://keras.io/api/layers/constraints/
  • https://www.masterclassbuddy.com/api-reference/keras/keras-constraints
All Regularization interview questions