Exploding Gradient Problem

Category: Foundations of ML/AI

A training instability where gradients grow exponentially large during backpropagation, causing unstable weight updates.

Full Explanation

The exploding gradient problem occurs when gradients grow exponentially as they are propagated backward through a deep network, leading to extremely large weight updates that destabilize training. This can cause weights to overflow to infinity or oscillate wildly. The problem is particularly common in recurrent neural networks processing long sequences, where gradients are multiplied many times during unrolling. Gradient clipping, which caps the gradient norm at a threshold, is the most common mitigation technique. Proper weight initialization (e.g., Xavier or He initialization) and normalization layers also help prevent gradient explosion. LSTM and GRU architectures were specifically designed with gating mechanisms to control gradient flow in recurrent networks.

Related Terms

More in Foundations of ML/AI

Explore More

  • AI Tools Library — Discover AI tools related to Exploding Gradient Problem
  • AI Education — Courses to learn about Foundations of ML/AI
  • AI News — Latest news and updates