What is weight decay?
A penalty on large weights that shrinks every weight slightly towards zero on each step.
Where it is taught
Regularisation. Ways of stopping a network from memorising its training data. Each one makes training a little harder so that what is learned is more general.
What the lesson leaves you with
- Regularisation trades a little training accuracy for better results on new data.
- Weight decay shrinks weights, dropout switches off random neurons, early stopping ends training in time.
- More and more varied data beats all of them.
Questions
- What is weight decay?
- A penalty on large weights that shrinks every weight slightly towards zero on each step.
- Where is weight decay used in AI?
- Ways of stopping a network from memorising its training data. Each one makes training a little harder so that what is learned is more general.
- What is the key idea to remember about weight decay?
- Regularisation trades a little training accuracy for better results on new data.
- Where can I learn weight decay step by step?
- In the lesson “Regularisation” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.