Foundation Lab

Natural Gradient & Riemannian Optimization

Natural gradient is coordinate-invariant—it gives the same update regardless of parameterization

Concept 56 of 100OptimizationPhase 10
#56Natural GradOptimization
key equation
∇~L=F(θ)−1∇θL\tilde{\nabla} L = F(\theta)^{-1} \nabla_\theta L
Reading map and next steps

Selected Foundation Object

Keep the equation fixed; move through the evidence.

Concept 56 of 100Natural GradOptimization / Phase 10: Mathematical foundations & information geometry
Current question

The gradient is a covector, not a vector—the metric turns it into a direction of steepest descent

∇~L=F(θ)−1∇θL\tilde{\nabla} L = F(\theta)^{-1} \nabla_\theta L
PredictionCommit before tracing the equation.

Ask what should change under a concrete input, then trace that expectation through the equation.

EvidenceCompare the equation and source.

Use the key equation and canonical papers as the available witnesses, without implying that a runnable panel exists.

InvariantName what survives notation changes.

The useful learning product is the reusable mechanism you can carry into another model, paper, or engineering tradeoff.

Next moveContinue through the atlas.

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

Visualization Status

Core Math (Optional Deep Dive)

If you want intuition first, start with the key equation and cited sources. Come back here for the full walkthrough.

Key Equation
∇~L=F(θ)−1∇θL\tilde{\nabla} L = F(\theta)^{-1} \nabla_\theta L

Natural gradient uses the Fisher metric instead of Euclidean:

∇~L=F(θ)−1∇θL\tilde{\nabla} L = F(\theta)^{-1} \nabla_\theta L

Update rule:

θt+1=θt−ηF(θt)−1∇L\theta_{t+1} = \theta_t - \eta F(\theta_t)^{-1} \nabla L

Variational characterization (why it's "natural"):

δ∗=arg⁡min⁡δ⟨∇L,δ⟩s.t.KL(pθ∥pθ+δ)≤ϵ\delta^* = \arg\min_\delta \langle \nabla L, \delta \rangle \quad \text{s.t.} \quad \text{KL}(p_\theta \| p_{\theta+\delta}) \leq \epsilon
⇒δ∗∝F−1∇L\Rightarrow \delta^* \propto F^{-1} \nabla L

Canonical Papers

Natural Gradient Works Efficiently in Learning

Amari1998Neural Computation
Read paper →

Trust Region Policy Optimization

Schulman et al.2015ICML
Read paper →

Connections

Next Moves

Choose the next question to carry this object forward.