Skip to content

    Backpropagation

    AI fundamentals & modelsBackward propagation of the gradientGradient backpropagation
    Reading time: 2 min.Editorially reviewed on:

    Definition

    Efficient method for calculating gradients in multilayer neural networks.

    In the case of backpropagation, the influence of the model parameters on the loss function is determined backwards by the computational graph after a forward run. The basis is the chain rule of differential calculus. An optimization method such as Gradient Descent then uses these gradients to change parameters; backpropagation itself is not the optimizer.

    Simply explained

    The network first calculates a result. After that, it calculates backwards how small changes in weights would change the calculated error.

    Why it matters in practice

    Basis for the training of many neural networks. The distinction to the optimization algorithm prevents a frequent misunderstanding.

    Example from business

    Example scenario: After calculating a classification error, backpropagation provides the gradients with which an optimizer updates the weights.

    Limits and pitfalls

    • Equate backpropagation with gradient descent; call it the entire training algorithm; ignore numerical stability and disappearing or exploding gradients.

    Origin & history

    Modern frameworks such as PyTorch provide automatic differentiation. They calculate gradients over the computational graph that an optimizer can use for training.

    Use in mid-sized companies

    • Above all, basic technical knowledge. In our own model projects, architecture, optimizers, data preparation and evaluation are also crucial.

    Frequently asked questions

    Does backpropagation itself change the weights?

    It primarily computes gradients; the optimizer uses them for updates.

    Do all ML models need backpropagation?

    No.

    Why is the chain rule important?

    It decomposes derivatives through multiple computational steps.

    Sources

    Source check: 09.10.2026. Definition and documented classification verified; examples describe possible applications.

    Editorially reviewed on:

    On this page

    Next step

    Put knowledge into practice