This paper, presented at NeurIPS 2019, provides a theoretical breakthrough in understanding why second-order optimization methods like Natural Gradient Descent (NGD) are so effective for training deep neural networks.
TL;DR
The authors provide the first theoretical proof that Natural Gradient Descent (NGD) achieves fast, linear convergence to a global minimum in overparameterized nonlinear neural networks. They demonstrate that NGD can utilize significantly larger step sizes than standard gradient descent, leading to a massive theoretical speedup without compromising the model's ability to generalize to unseen data.
The Optimization Problem
Training deep neural networks is a notoriously difficult optimization problem because the "loss landscape" is non-convex and non-smooth. While standard Gradient Descent (GD) is the workhorse of the field, it often struggles with "pathological curvature"—regions where the landscape is very flat in some directions and very steep in others, leading to slow progress.
Natural Gradient Descent was proposed decades ago to solve this by navigating the landscape using the "intrinsic geometry" of the network's probability distribution rather than just the raw parameter values. While NGD works exceptionally well in practice, the field lacked a theoretical guarantee of its convergence speed for nonlinear networks. Researchers recently proved that GD converges for very wide ("overparameterized") networks, but a critical question remained: Does NGD actually optimize these networks faster than GD, and if so, by how much?
Theoretical Framework and Methods
The authors analyze NGD by focusing on the Jacobian matrix, which describes how the network's outputs change with respect to its parameters. They identify two "Goldilocks" conditions that guarantee optimization success:
- Full Row Rank: At initialization, the Jacobian must have full row rank. This means the network possesses enough "expressive power" to move the outputs in any direction required for the training data.
- Stability: The Jacobian must be "stable," meaning it does not fluctuate wildly when small tweaks are made to the parameters near their starting values.
The researchers mathematically prove that for two-layer ReLU networks, these conditions naturally hold as long as the network is sufficiently wide (overparameterized). They also extend this analysis to K-FAC (Kronecker-factored Approximate Curvature), a popular and computationally efficient approximation of NGD frequently used in large-scale deep learning.
Key Insights and Results
- The Speedup Factor: The paper proves that NGD improves the convergence rate by a factor of $O(\lambda_0/n)$ compared to standard gradient descent (where $\lambda_0$ is the smallest eigenvalue of the data's Gram matrix). In practical terms, NGD is theoretically much faster.
- Massive Step Sizes: One of the most striking findings is that while GD requires tiny steps to maintain stability, NGD can handle a step size of $O(1)$. In the theoretical limit of an infinitely wide network, NGD can actually reach the global minimum in just one iteration.
- Linear Convergence: The authors prove that the error drops exponentially (linear convergence) during training. They also show that K-FAC converges to global minima at a linear rate, though it requires the network to be even wider than exact NGD does.
- The "Stable Jacobian" Bridge: The authors link NGD to classical optimization theory by showing that a stable Jacobian acts similarly to "Lipschitz smoothness" in convex optimization. This provides a rigorous way to handle non-convex neural networks.
- Generalization is Safe: There is a common myth that fast-converging second-order methods "overfit" or find "sharp" minima that fail to generalize. This paper mathematically demonstrates that NGD's generalization bounds match those of GD, meaning practitioners get the optimization speed essentially for free.
Limitations and Future Work
While a significant theoretical step forward, the paper has a few limitations common to this area of research:
- The "Width" Requirement: Like much of the theory in the "Neural Tangent Kernel" regime, the proofs require the network to be extremely wide—polynomially large relative to the number of training samples. This is much wider than the networks typically deployed in practice.
- Architecture Scope: The rigorous proofs for the two Jacobian conditions are currently limited to two-layer ReLU networks. Extending this framework to deeper architectures, such as ResNets or Transformers, is a logical next step.
- Loss Functions: The primary focus of the analysis is on squared-error loss. While the authors touch on other strongly convex losses, more work is needed to fully adapt these proofs for the cross-entropy loss commonly used in classification tasks.
Summary updated