Introduction
In deep learning, Stochastic Gradient Descent (SGD) remains the primary optimization tool. However, it frequently encounters "ill-conditioned" loss surfaces—regions where the gradient provides poor direction, leading to slow convergence. Natural Gradient Descent (NGD) was proposed as a solution, leveraging information geometry to take steps invariant to model parameterization. Despite its theoretical elegance, NGD has often been viewed as too abstract or computationally expensive for practical use.
This paper by James Martens demystifies NGD by re-framing it as a practical second-order optimization method. By establishing a formal link between the Fisher Information Matrix and the Generalized Gauss-Newton (GGN) matrix, Martens bridges the gap between information geometry and classical numerical analysis.
Notation and Definitions
A rigorous analysis of second-order optimization requires a precise mathematical language. The following table summarizes the notation used to describe vectors, matrices, and the probabilistic distributions that underpin the natural gradient framework.
The Fisher-GGN Equivalence
A central contribution of this work is the proof of equivalence between the Fisher Information Matrix ($F$) and the Generalized Gauss-Newton matrix ($G$). Martens demonstrates that for most common loss functions used in deep learning—specifically those where the loss is the negative log-likelihood of an exponential family distribution (e.g., Mean Squared Error or Cross-Entropy)—the two matrices are identical.
This realization is transformative: it allows researchers to treat NGD not as a mysterious geometric entity, but as a GGN-based second-order method. Consequently, well-established techniques from numerical optimization, such as Tikhonov regularization (damping) and trust regions, can be directly applied to stabilize and improve NGD.
The "Empirical Fisher" Warning
The paper provides a critical analysis of the "empirical Fisher" matrix, a common approximation used in various optimizers. The empirical Fisher is constructed using the gradients of the training data rather than the model's predictive distribution. Martens argues that this is a poor approximation of both the true Fisher and the Hessian.
Unlike the true Fisher, the empirical Fisher lacks the theoretical justifications of NGD and can actually hinder convergence. It captures different information than the curvature of the loss surface, and its use as a preconditioner is often motivated more by computational convenience than mathematical soundness.
Convergence and Pre-asymptotic Speed
While asymptotic theory suggests that SGD with Polyak averaging can eventually match the speed of second-order methods, Martens highlights the "pre-asymptotic" advantage of NGD. In practical deep learning scenarios, we rarely train models to absolute convergence. NGD excels in the early and middle stages of training, navigating ill-conditioned regions far more efficiently than SGD.
The paper derives new convergence bounds for stochastic second-order methods, showing a more favorable dependence on the starting point and noise levels compared to standard first-order methods. This explains why NGD-based approaches, like K-FAC, often reach high accuracy in significantly fewer iterations.
Invariance in Practice
A hallmark of NGD is its theoretical invariance to reparameterization. In principle, the optimization path should be the same regardless of how the weights are defined. However, Martens proves that this invariance only holds approximately when taking finite discrete steps. The error in invariance depends on the smoothness of the parameter transformation and the size of the update step. This clarification helps practitioners understand the limits of the geometric "ideal" in real-world implementations.
Limitations and Future Work
Despite its insights, the paper acknowledges several challenges:
- Quadratic Assumptions: Much of the convergence analysis assumes a convex quadratic objective, which does not fully capture the non-convex complexity of neural network landscapes.
- Computational Complexity: Computing and inverting the Fisher matrix remains a significant bottleneck, necessitating continued research into efficient approximations.
- GGN vs. Hessian: An open question remains as to why the GGN often outperforms the actual Hessian in deep learning, particularly in how it handles negative curvature.
Conclusion
By unifying the geometric and optimization-based views of the natural gradient, this work provides a solid theoretical foundation for the next generation of deep learning optimizers. It moves NGD from the realm of abstract theory into the toolkit of practical, high-performance optimization.
Summary updated