QamoosTech
AI & DataIntermediate

Backpropagation

PronunciationBAK-prop-uh-GAY-shun

Definition

Backpropagation is the algorithm that works out how much each weight in a neural network contributed to the error, by sending the error backwards through the layers, so gradient descent can adjust the weights.

Where you hear it

In deep learning courses, framework docs (loss.backward()) and explanations of how training works.

Examples

  • PyTorch computes the gradients when you call loss.backward().
  • Each training step is a forward pass, backpropagation, then a weight update.
  • Backpropagation computed the gradient for every layer in one backward pass.

Common mistake

Thinking backpropagation is the learning itself. It only computes gradients; the optimizer does the update.

Don't confuse with

Inference, the forward-only use of a trained model to make predictions.

Say it at work

  • In a meeting or chatZero the gradients before the next backward pass.
  • In an email or ticketBackprop is the expensive part of training.