the.ai

Foundations / Optimization

verified

Vanishing Gradient

Train a deep network and the early layers barely move. The signal that tells them how to change has to travel back through every layer above, being multiplied at each one, and if those multipliers are typically below one the signal is exponentially small by the time it arrives. The network is not stuck — it is learning at a rate that would take longer than anyone has.

Viz primitive · budget-splitattenuated-layers = 4

attenuated-layers holds 17% of the budget; rest holds the remaining 83%.

Depth over which the gradient has effectively vanished, against the layers still receiving a usable signal, in layers. Drag the attenuated depth up to watch the trainable part shrink to the top of the stack — the collapse is exponential in depth, not linear.

4

Reviewed by opendroid · 2026-08-18

  • arXiv:1211.5063 — On the difficulty of training Recurrent Neural Networks
  • arXiv:1502.01852 — Delving Deep into Rectifiers: Surpassing Human-Level Performance on ImageNet Classification

Origin · not linkable

  • Bengio, Simard & Frasconi 1994 — Learning Long-Term Dependencies with Gradient Descent is Difficult · IEEE Transactions on Neural Networks 5(2) · doi:10.1109/72.279181