Skip to content
Preptima
mediumConceptMidSeniorStaff

What is backpropagation doing, and what does a vanishing gradient look like in practice?

4 min readUpdated 2026-08-15

Answer

Short answer

Backpropagation applies the chain rule backwards through a network, reusing each layer's cached activations to get every parameter's gradient in one pass. Gradients vanish when many small factors multiply, and it shows as a stalled loss with early-layer weights barely moving while the last layers still train.

Was this answer helpful?

Likely follow-ups

  • Why does a residual connection help, in terms of the gradient expression?
  • What would you monitor during training to catch this before the loss curve tells you?
  • How is the exploding-gradient case different, and why is clipping an acceptable fix there but not here?
  • Where does batch normalisation fit into this, and what is it actually stabilising?

Related questions

Further reading