←Primers
    Primer · 3 min

    Backpropagation: how neural networks learn from their errors

    Backpropagation is the procedure that tells each adjustable setting inside a neural network how to change so that the network's predictions become less wrong.

    Updated 23 November 2026 · numbered links go to the papers behind each claim

    What it is

    Backpropagation is the standard method for working out how a neural network should adjust itself to reduce its errors. For every adjustable number in the network, known as a weight, it calculates how much a small change to that weight would raise or lower the overall error.

    Training happens in a loop. In the forward pass, the network takes an input, such as an image, passes it through successive layers and produces an output. A loss function then scores how far that output is from the correct answer. In the backward pass, backpropagation applies the chain rule of calculus layer by layer, starting at the output and moving back towards the input. The result is a gradient, a set of numbers saying which direction to nudge each weight and by roughly how much. A separate update rule, usually a form of gradient descent, then makes those small adjustments. Repeating this over many examples gradually improves the network.

    The method is efficient because it reuses the intermediate results from the forward pass, so computing every gradient costs roughly the same order of effort as running the network once. It has one firm requirement: each step in the network must be differentiable, meaning its output changes smoothly as its input changes. Mathematicians describe backpropagation as a special case of reverse-mode automatic differentiation, and modern software libraries carry it out automatically.

    What research is finding

    Much of the published research treats backpropagation less as a subject of study and more as the shared engine that makes new designs trainable. A review of convolutional neural networks in radiology describes how these networks, built from convolution, pooling and fully connected layers, learn hierarchies of visual features through backpropagation, and it discusses small datasets and overfitting as two challenges in applying them to radiological tasks[2]. In remote sensing, a research article on classifying hyperspectral images reports that linking layers with shortcut connections eases the backward flow of gradients, and that the resulting network achieved state-of-the-art accuracy on three named benchmark datasets of agricultural, rural-urban and urban scenes[5].

    Because backpropagation works with any differentiable component, researchers can invent new building blocks and train them end to end. A research article on visual place recognition presents a new layer that can be plugged into a convolutional network and trained via backpropagation, and reports that the approach significantly outperformed non-learnt and off-the-shelf image representations on challenging benchmarks[4]. Another research article describes recurrent convolutional models that handle sequences such as video and can map variable-length inputs to variable-length outputs like text, while still being optimised with backpropagation; the authors report advantages over models that are defined or optimised separately[6].

    The same machinery also underpins generative models. A research article proposing generative adversarial networks describes training two networks against each other, one generating samples and one judging whether they are real, and notes that when both are multilayer perceptrons the whole system can be trained with backpropagation; its experiments are presented as demonstrating the potential of the framework[1]. A later review explains that such networks derive their backpropagation signals from this competitive process, and points to remaining challenges in their theory and application[3].

    Open questions

    Backpropagation computes gradients reliably, but it does not guarantee that training will go well. In very deep or long-running networks, gradients can shrink towards zero or grow uncontrollably as they pass backwards, problems known as vanishing and exploding gradients. One hyperspectral imaging study reports that shortcut connections ease the backward flow of gradients[5]. How best to design networks so that useful learning signals reach every layer remains an active area of work. Adversarial training, in which two networks pull in opposite directions, is a further case where a review points to remaining challenges in theory and application[3].

    There are also wider questions. Small datasets and overfitting are identified as challenges in applying convolutional networks to radiological tasks[2]. The method's memory demands, since intermediate results must be stored for the backward pass, shape how large models can be trained. And whether brains learn through anything resembling backpropagation is debated; many researchers doubt they could implement it directly, which has prompted interest in alternative learning rules whose merits are not yet settled.

    Papers

    1. GAN(Generative Adversarial Nets). Journal of Japan Society for Fuzzy Theory and Intelligent Informatics, 2017. doi:10.3156/jsoft.29.5_177_2
    2. Convolutional neural networks: an overview and application in radiology. Insights into Imaging, 2018. doi:10.1007/s13244-018-0639-9
    3. Generative Adversarial Networks: An Overview. IEEE Signal Processing Magazine, 2018. doi:10.1109/msp.2017.2765202
    4. NetVLAD: CNN Architecture for Weakly Supervised Place Recognition. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2016. doi:10.1109/tpami.2017.2711011
    5. Spectral–Spatial Residual Network for Hyperspectral Image Classification: A 3-D Deep Learning Framework. IEEE Transactions on Geoscience and Remote Sensing, 2017. doi:10.1109/tgrs.2017.2755542
    6. Long-Term Recurrent Convolutional Networks for Visual Recognition and Description. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2016. doi:10.1109/tpami.2016.2599174