BooleanIQ / Learn

AI from the ground up / Level 350 / LESSON 356

Learning as walking downhill: gradient descent and backpropagation

Loss, small steps, who gets the blame

KnowCore path

Coming soon. This is the lesson outline; the full article is not available yet.

The wrong idea this corrects

"The network is corrected by a person" or "it tries random settings".

What you will learn

  1. The loss is the height: how wrong the network is now
  2. Gradient descent: take a small step in the direction that goes down, repeat millions of times
  3. Backpropagation: work out how much each weight contributed to the error, from the output backwards
  4. The step size (learning rate): too big overshoots, too small never arrives
  5. This one procedure trains everything from the digit reader to the largest chatbots.

The picture to remember

Walking downhill in fog. One of the course's fixed pictures.

The honest part

It finds a good valley, not provably the best; why that works so well is not fully understood.