How does Vanishing & Exploding Gradients work
Short answer
As gradients are calculated backward through many layers, repeated multiplication can shrink them toward zero or grow them very large, making training either stall or become unstable.
Advertisement
AModel answer
As gradients are calculated backward through many layers, repeated multiplication can shrink them toward zero or grow them very large, making training either stall or become unstable.
Real-world example
A very deep network without proper design may suffer from vanishing gradients, causing its earliest layers to barely learn anything at all.
Likely follow-ups
- What is Neural Networks, How is Vanishing & Exploding Gradients evaluated in practice, What tools are commonly used for Vanishing & Exploding Gradients
Related topics