Skip to content
Query Feedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  • News
  • Business
    • Digital Marketing
      • Marketing & Sales
      • SEO
      • Content Marketing
      • AEO and GEO
    • Startups
      • Founder Stories
      • Funding & VC
      • Product & Growth
    • Money
      • Investing
      • Markets & Economy
      • Saving & Budgeting
  • AI & Technology
    • Technology
      • Consumer Tech
      • CRM
      • Cyber Security
      • Software Engineering
      • WordPress
      • Hardware
    • Artificial IntelligenceAI Glossary
      • LLMs
      • Machine Learning
      • AI Fundamentals
      • Generative AI
      • Deep Learning
    • AI Use Cases
      • Automation
      • Content
      • Customer Support
      • Finance
      • Marketing
      • View All
  • Tools & Software
  • Account
    • Submit Guest Post
    • Submit a tool
    • My listing
  • Contact
QueryFeedz
  1. Home /
  2. AI Glossaries /
  3. Deep Learning /
  4. What is Backpropagation?
Deep Learning

What is Backpropagation?

Updated September 21, 2026 Read 3 min

Backpropagation is the algorithm neural networks use to learn. After a prediction, it works backwards from the error through each layer, using the chain rule of calculus to calculate how much every weight contributed, so the weights can be adjusted.

Contents 12
  1. 01Key takeaways
  2. 02Backpropagation explained in simple terms
  3. 03The learning loop
  4. 04The chain rule, briefly
  5. 05A worked example: one weight
  6. 06A brief history
  7. 07Common problems
  8. 08Backpropagation vs gradient descent
  9. 09Limitations
  10. 10Common Use Cases
  11. 11Frequently Asked Questions
  12. 12Related Terms

Backpropagation (short for “backward propagation of errors”) is the algorithm that calculates how much each weight in a neural network contributed to the prediction error. It starts at the output, where the error is measured, and works backwards layer by layer using the chain rule of calculus. The results, called gradients, tell gradient descent how to adjust each weight to reduce the error.

Key takeaways

  • Backpropagation computes gradients; gradient descent uses them to update weights.
  • It relies on the chain rule to pass error signals backwards through layers.
  • It is efficient: one backward pass gives gradients for every weight at once.
  • It was popularised for neural networks in 1986 by David Rumelhart, Geoffrey Hinton and Ronald Williams.
  • Almost every modern deep learning model is trained with it.

Backpropagation explained in simple terms

Imagine a relay team loses a race by three seconds. The coach watches the replay backwards: the last runner lost one second, but partly because the third runner handed over the baton late, which was partly because the second runner started slowly. By tracing backwards, the coach works out how much of the lost time each runner caused, and gives each one specific advice. Backpropagation does this for every weight in a network.

The learning loop

  1. Forward pass: input flows through the network to produce a prediction.
  2. Loss: a loss function measures how wrong the prediction is.
  3. Backward pass (backpropagation): the error signal flows back through each layer, computing the gradient of the loss for every weight and bias.
  4. Update: an optimiser such as gradient descent or Adam adjusts each parameter slightly against its gradient.
  5. Repeat across many batches and epochs.

The chain rule, briefly

A network is a chain of functions: layer 3 depends on layer 2, which depends on layer 1. The chain rule says the effect of an early weight on the final loss equals the product of the effects along the path: how the loss changes with the output, times how the output changes with the hidden layer, times how the hidden layer changes with that weight. Backpropagation computes these products efficiently by reusing results from later layers as it moves backwards.

A worked example: one weight

Take the simplest possible network: prediction = w × x. Let x = 2, weight w = 0.5, and the true answer y = 3. Use squared error loss = (prediction − y)².

  • Forward pass: prediction = 0.5 × 2 = 1. Loss = (1 − 3)² = 4.
  • Backward pass: how does the loss change with w? The chain rule gives: d(loss)/d(prediction) = 2 × (1 − 3) = −4, and d(prediction)/d(w) = x = 2. So the gradient = −4 × 2 = −8.
  • Update with learning rate 0.1: new w = 0.5 − 0.1 × (−8) = 1.3.
  • Check: prediction = 1.3 × 2 = 2.6, loss = (2.6 − 3)² = 0.16. The error fell from 4 to 0.16 in one step.

Real networks do exactly this, but for millions or billions of weights at once, using matrix maths on GPUs.

A brief history

The mathematics behind backpropagation, reverse-mode automatic differentiation, was described by Seppo Linnainmaa in 1970. Paul Werbos proposed applying it to neural networks in his 1974 thesis. The 1986 paper by Rumelhart, Hinton and Williams showed that it could train multi-layer networks to learn useful internal representations, reviving interest in neural networks. Today, frameworks such as PyTorch and TensorFlow perform backpropagation automatically.

Common problems

ProblemWhat happensCommon fixes
Vanishing gradientsGradients shrink through many layers, so early layers barely learnReLU activations, residual connections, careful initialisation, normalisation
Exploding gradientsGradients grow huge and training becomes unstableGradient clipping, lower learning rate, normalisation
Memory useActivations from the forward pass must be storedSmaller batches, gradient checkpointing
Recurrent networksGradients must flow back through timeBackpropagation through time, LSTM and GRU gates

Backpropagation vs gradient descent

These are often confused. Backpropagation answers “which direction should each weight move, and how strongly?”. Gradient descent answers “take the step”. You need both to train a network.

Limitations

  • Requires the whole network to be differentiable.
  • Stores intermediate values, which uses a lot of memory for large models.
  • Can suffer from vanishing and exploding gradients.
  • Is not how the brain is believed to learn, which motivates research into alternatives.

Common Use Cases

01

Training neural networks

Compute gradients for every weight in image, speech and language models.

02

Fine-tuning pre-trained models

Adjust model weights for company-specific tasks and data.

03

Training recurrent models

Use backpropagation through time for LSTMs and GRUs on sequences.

04

Training generative models

Update generators, discriminators and diffusion networks.

05

Automatic differentiation in science

Optimise physical simulations and scientific models.

06

Debugging model training

Inspect gradients to diagnose vanishing or exploding gradients.

Frequently Asked Questions

A method that traces a network's error backwards through its layers to find how much each weight contributed, so the weights can be corrected.

Backpropagation calculates gradients. Gradient descent uses those gradients to update the weights.

Its maths was described by Seppo Linnainmaa in 1970 and applied to networks by Paul Werbos in 1974. Rumelhart, Hinton and Williams popularised it in 1986.

When gradients shrink as they flow back through many layers, so early layers learn very slowly or not at all.

No. Frameworks like PyTorch and TensorFlow compute gradients automatically.

Related Terms

  • Gradient Descent
  • Loss Function
  • Chain Rule
  • Neural Network
  • Vanishing Gradient
  • Weight in Neural Networks

Related AI Terms

What is a Variational Autoencoder (VAE)?A variational autoencoder (VAE) is a generative model that encodes data into a probability distribution rather than a…What is an Autoencoder?An autoencoder is a neural network trained to compress its input into a small representation and then reconstruct…What is a Diffusion Model?A diffusion model is a generative AI model that learns to create data by reversing a noising process:…What is a GAN (Generative Adversarial Network)?A GAN (generative adversarial network) is a generative model made of two competing neural networks: a generator that…What is a Decoder in Deep Learning?A decoder is the part of a neural network that turns an internal numeric representation into output, such…What is LSTM (Long Short-Term Memory)?LSTM (long short-term memory) is a type of recurrent neural network that uses a memory cell and three…

Contents

  1. 01Key takeaways
  2. 02Backpropagation explained in simple terms
  3. 03The learning loop
  4. 04The chain rule, briefly
  5. 05A worked example: one weight
  6. 06A brief history
  7. 07Common problems
  8. 08Backpropagation vs gradient descent
  9. 09Limitations
  10. 10Common Use Cases
  11. 11Frequently Asked Questions
  12. 12Related Terms

AI Topic

  • Deep Learning

Related Terms

  • What is a Variational Autoencoder (VAE)?
  • What is an Autoencoder?
  • What is a Diffusion Model?
  • What is a GAN (Generative Adversarial Network)?
  • What is a Decoder in Deep Learning?
  • What is LSTM (Long Short-Term Memory)?

Quick Navigation

  • Common Use Cases
  • Frequently Asked Questions
  • Related Terms
  • Back to top

Details

Updated
September 21, 2026
Read
3 min
  • Forum
  • Submit a tool
  • Submit Guest Post
  • List Your Startup
  • Privacy Policy
  • Editorial Policy
  • Account
  • Contact
  • AI Productivity
  • AI Video
  • AI Coding
  • AI Chatbots
  • Sales
  • AI Business
  • View All Tools

Subscribe our Newsletter

Get weekly exclusive content - No spam.

Copyright © 2026 -  Query Feedz

Manage Consent
To provide the best experiences, we use technologies like cookies to store and/or access device information. Consenting to these technologies will allow us to process data such as browsing behavior or unique IDs on this site. Not consenting or withdrawing consent, may adversely affect certain features and functions.
Functional Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes. The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.
  • Manage options
  • Manage services
  • Manage {vendor_count} vendors
  • Read more about these purposes
View preferences
  • {title}
  • {title}
  • {title}