Ask what should change when the equation is manipulated, then let the visualization test that expectation.
Foundation Lab
Natural Gradient & Riemannian Optimization
Natural gradient is coordinate-invariant—it gives the same update regardless of parameterization
\tilde{\nabla} L = F(\theta)^{-1} \nabla_\theta LSelected Foundation Object
Keep the equation fixed; move through the evidence.
The gradient is a covector, not a vector—the metric turns it into a direction of steepest descent
\tilde{\nabla} L = F(\theta)^{-1} \nabla_\theta LUse the runnable panel, the key equation, and canonical papers as separate forms of evidence for the same object.
The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.
Use prerequisites, dependents, and semantic links to repair the next gap without leaving the object behind.
Why It Matters for Modern Models
- Natural gradient is coordinate-invariant—it gives the same update regardless of parameterization
- TRPO and PPO are approximations to natural gradient updates for policy optimization
- Adam can be viewed as a diagonal approximation to natural gradient with adaptive preconditioning
What Tutorials Skip
What is still poorly explained in textbooks and papers:
- The gradient is a covector, not a vector—the metric turns it into a direction of steepest descent
- Euclidean gradient depends on how you parameterize; natural gradient depends only on the distributions
- Natural gradient avoids plateaus faster because it accounts for local curvature in distribution space
Interactive Visualization
Core Math (Optional Deep Dive)
If you want intuition first, start with the key equation and the visualization. Come back here for the full walkthrough.
Natural gradient uses the Fisher metric instead of Euclidean:
Update rule:
Variational characterization (why it's "natural"):