Gradient descent
Update parameters opposite a local loss gradient; step size affects the result.
Shared AI lesson · One neuron learning
Predict: The answer should be 4. Do you think a bigger change will always get there faster?
Start here: Move Number to double. Watch the computer’s answer. Can you make it match the target, 4?
What to look for: Start from the same numbers each time. Compare the error before and after the change, not just which way the weight moved.
Try these steps in the experiment.
Loading this browser experiment…
Here the loss slope is 8 × weight − 16. At weight 0.5 it is −12; at weight 2 it is zero. Slope describes a local direction, not a safe step size.
If the slope is negative, which way does subtracting a small multiple move the weight?
Slope refresherCompare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…
Use a connection to review, then return.
Update parameters opposite a local loss gradient; step size affects the result.
Gradient descent uses as a foundation Slope.
To explain the direction of this scalar gradient update, interpret the local slope of loss with respect to weight. A negative slope suggests increasing the weight for a sufficiently small step.
Gradient descent can review Learning rate.
The gradient supplies direction and scale; the learning rate multiplies it. Comparing proposed steps with actual losses explains overshoot.
Gradient descent applies to Neural networks.
Once gradients are calculated, an optimizer can update network parameters. Backpropagation computes sensitivities; it is not itself the update.
11 concepts in this cross-subject pilot, not a complete curriculum graph. The existing AI lesson map and progress records remain separate and available below or through AI discovery.