Back to Optimization in practice
Step 3 of 6· Investigate: Optimizer memory
Shared AI lesson · Optimization in practice
Investigate: Optimizer memory
Take one SGD step and inspect the exact gradient, applied direction and new coordinates on the equal-scale loss map.
Loading this browser experiment…
More things to try · optional
- Switch to momentum or Adam, restarting from the same point. Trace the first state, squared-gradient state and actual delta.
- Save a complete checkpoint after several updates, reset only optimizer memory, and compare proposals before restoring the checkpoint.
- Compare all three methods under a declared update allowance. Vary the rate or surface in a separate comparison and report early stops and limits.
Notes, help and related ideas
My notes and reflection
Compare with your prediction
Compare your result with your prediction. Explain a mismatch, then change one condition and try a new case.
Loading your journal…
Your prediction, observation and next question
Prerequisites and related ideas
Key terms: Gradient