Gradient

Courses

∇\nabla∇The maths behind AI0/72
π\piπMaths0/84
⋆\star⋆AI for everyone0/10
Γ\GammaΓGame theory0/49
py\texttt{py}pyPython for AI0/15
y^\hat{y}y^​Build your own AI0/15
All courses

Tuition

My tuitionOlympiad trackCompetitions

Practice

ProjectsAsk a questionTrain on a GPUExplorationsMaths StoriesUnsolved problemsPlaygroundScience labsMock testsOlympiad

Reference

GlossaryBlogDiscoveries
Glossary › Backpropagation

What is backpropagation?

The algorithm that computes the gradient of the loss for every parameter by applying the chain rule backwards through the network, one operation at a time.

Where it is taught

Backpropagation by hand. Run a tiny model forwards to get its error, then send the blame backwards with the chain rule. This is how every network finds its gradient.

What the lesson leaves you with

  • Forward pass: compute and store every intermediate value, ending with the loss.
  • Backward pass: walk the steps in reverse, multiplying by each step's local slope.
  • One forward and one backward pass give the gradient for every parameter at once.
Open the lesson

Questions

What is backpropagation?
The algorithm that computes the gradient of the loss for every parameter by applying the chain rule backwards through the network, one operation at a time.
Where is backpropagation used in AI?
Run a tiny model forwards to get its error, then send the blame backwards with the chain rule. This is how every network finds its gradient.
What is the key idea to remember about backpropagation?
Forward pass: compute and store every intermediate value, ending with the loss.
Where can I learn backpropagation step by step?
In the lesson “Backpropagation by hand” in Gradient’s course on the maths behind AI, with interactive diagrams and questions.

Related terms

  • Chain rule
  • Derivative
  • Gradient
  • Saddle point