Is weight decay always equivalent to L2 regularization?
Reveal the answer and explore the explanation.
08MediumIs weight decay always equivalent to L2 regularization?
Answer
Medium
Is weight decay always equivalent to L2 regularization?
Answer
Shrinks parameters during optimization; decoupled decay is not identical to L2 regularization for adaptive optimizers.
Practical example
Apply AdamW to a neural network.
Reference: Further reading ↗