Back to Generalization and independent debugging
Step 3 of 6· Investigate: Automatic differentiation
Shared AI lesson · Generalization and independent debugging
Investigate: Automatic differentiation
Inspect the default row arithmetic and graph. Follow the final mean node backward and compare the tape, manual and finite-difference gradients.
Loading this browser experiment…
More things to try · optional
- Use the overwrite fault and inspect the two slots of error × error. Restore the correct rule and explain the recovered contribution.
- Compare one row with three rows under the missing-mean fault. Explain why a batch of one fails to expose this bug.
- Reuse w₁ for both features, add tanh and inspect all consumers of w₁. Explain why w₂ has zero gradient.
- Capture a faulty run and a corrected run at the same starting parameters and learning rate. Compare gradient checks, updates and loss; download the evidence.
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