What is regularization in deep learning?
Regularization is a set of techniques used to reduce overfitting by discouraging a neural network from fitting the training data too closely.
The goal is to improve generalization—performance on data the model has not seen before.
How regularization helps
A highly flexible model can learn useful patterns, but it can also learn noise or accidental details in the training set.
Regularization adds constraints or training behavior that encourages the model to learn more robust patterns.
Common approaches include:
- L2 regularization / weight decay: discourages excessively large parameter values.
- L1 regularization: encourages some parameters to become exactly or nearly zero.
- Dropout: randomly disables some activations during training.
- Data augmentation: increases training-data diversity using realistic transformations.
- Early stopping: stops training when validation performance stops improving.
These techniques do not all work in the same way, but they share the same goal: reducing overfitting and improving performance on unseen data.
Regularization strength
Too little regularization may leave the model overfitting.
Too much regularization can make the model too constrained and lead to underfitting.
So regularization strength is usually selected using validation performance.
For related concepts, see “What is overfitting in deep learning?”, “What is underfitting in deep learning?”, and “What is dropout in deep learning?”.
In short, regularization helps a neural network generalize better by limiting how strongly it can fit training-specific patterns.
Learning Sequence
Deep Learning Curriculum
Explore Related Questions
Deepen your understanding across related Deep Learning topics.