AIExplainer
Deep Learning Advanced 2 min read

What is exploding gradient problem?

A challenge in training neural networks where gradients become extremely large, causing unstable updates

The exploding gradient problem occurs when the gradients used to update the neural network's weights become very large, leading to unstable and unpredictable updates. This can cause the network's weights to be updated in an uncontrolled manner, making it difficult to train the network effectively.

Imagine a car accelerating down a hill with no brakes. The car's speed (gradients) keeps increasing, making it harder to control, just like how exploding gradients make it harder to control the updates to the neural network's weights.

Self-driving cars use complex neural networks to recognize objects and make decisions. If the exploding gradient problem occurs during training, the network may not learn to recognize objects correctly, leading to poor performance on the road.

The exploding gradient problem is often addressed using techniques such as gradient clipping, weight regularization, and batch normalization, which help to stabilize the training process and prevent gradients from becoming too large.

Some people think that the exploding gradient problem only occurs in deep neural networks, but it can also occur in shallower networks with large gradients.

The exploding gradient problem was first identified in the 1990s as a challenge in training recurrent neural networks, but it has since been recognized as a more general problem that can occur in many types of neural networks.

exploding gradients gradient explosion

Three products for different needs — explore what’s relevant to you.