Tabellab
AI & Data Science Intermediate

How Neural Networks Learn: Gradient Descent, Momentum, RMSProp, Adam, Learning-Rate Schedules & Warm-Up by Hand

Watch optimisers work step by step on small loss functions: plain gradient descent, momentum, adaptive step sizes, bias correction, learning-rate schedules with warm-up and weight decay, with every cell checked as you go.

8 lessons 8 labs 2.2 h Certificate

One-time payment · lifetime access · lessons, labs, exam and certificate included · no subscription.

About this course

This course shows how neural networks actually learn, one cell at a time. You compute a squared loss and its gradient by formula and by finite differences, run plain gradient descent and see small learning rates crawl and large ones diverge. You add a momentum velocity on a stretched two-weight bowl, scale steps per weight with RMSProp, and build Adam's two running averages with bias correction. You model mini-batch noise and smoothing, build step-decay, cosine and warm-up schedules with weight decay, and finish with an optimiser race: loss after N steps, time to target and a chart of the loss curves.

Lessons

  1. Loss & Gradient: Which Way Is Downhill?Lab14 min Pro
  2. Plain Gradient Descent: Step Tables, Learning Rates & DivergenceLab16 min Pro
  3. Momentum: A Velocity Term, Overshoot & Faster Progress on a Stretched BowlLab17 min Pro
  4. RMSProp: Running Averages of Squared Gradients & Per-Weight Step SizesLab16 min Pro
  5. Adam: First & Second Moments, Bias Correction and the Adam StepLab18 min Pro
  6. Noisy Gradients: Mini-Batch Noise, Batch Size & the Smoothing EffectLab16 min Pro
  7. Learning-Rate Schedules: Step Decay, Cosine, Linear Warm-Up & Weight DecayLab17 min Pro
  8. The Optimiser Race: Loss after N Steps, Time to Target & Loss CurvesLab17 min Pro