Abstract
Subsampled natural gradient descent (SNGD) has shown impressive results for parametric optimization tasks in scientific machine learning (SciML), but it has lacked a robust theoretical explanation. This paper addresses this gap by analyzing the convergence of SNGD and its accelerated variant, SPRING, for idealized linear-quadratic model problems. By reframing SNGD as a "sketch-and-project" method and utilizing a novel theoretical proxy based on Squared Volume Sampling (SVS), we provide the first fast convergence rates for SNGD and the first convergence guarantees for SPRING. Our results demonstrate that SNGD can achieve superlinear scaling with batch size by exploiting spectral decay in the model Jacobian, explaining its superior performance over standard SGD in SciML applications.
The Challenge of Subsampling in NGD
Natural Gradient Descent (NGD) is a powerful optimizer but is computationally expensive due to the need to invert a large Fisher Information Matrix. Practical implementations use Subsampled Natural Gradient (SNG), which estimates both the gradient and the preconditioner from a single small mini-batch.
Existing theoretical frameworks for SNG have been insufficient for two reasons. First, they often assume a "decoupling" where independent mini-batches are used for the gradient and preconditioner—a practice rarely followed. Second, they fail to explain the algorithm's effectiveness in the "small-sample" regime, where the batch size is significantly smaller than the number of parameters. This paper bridges this gap by analyzing SNG without forcing artificial decoupling.
Methods: The Sketch-and-Project Lens
We move away from viewing SNG purely as a stochastic preconditioner and instead analyze it through the lens of Sketch-and-Project, a family of randomized linear algebra methods. We focus on Linear Least-Quadratics (LLQ) as a local approximation for neural network training.
A central contribution is the use of Squared Volume Sampling (SVS) as a theoretical proxy. We prove that under SVS, the expected direction of a coupled SNG step is mathematically equivalent to a clean, preconditioned gradient descent step. This framework also allows us to unmask SPRING, showing it arises naturally from Nesterov-like acceleration applied to the sketch-and-project subproblem.
Empirical Validation and Scaling
Numerical experiments confirm that our SVS-SNG proxy matches the behavior of realistic, uniform-sampling SNG almost perfectly, whereas previous "two-batch" theories predict incorrect behavior, particularly regarding hyperparameter sensitivity.
One of the most significant insights is that SNG's advantage over SGD comes from its ability to exploit spectral decay. In many SciML problems, the Jacobian exhibits fast spectral decay, meaning a few directions dominate the dynamics. In these cases, SNG achieves superlinear scaling, where the convergence rate improves faster than the increase in batch size.
Conclusion and Future Work
This work provides the first global convergence guarantees for SNG using a single mini-batch and explains the mechanism behind SPRING's acceleration. While SVS is primarily a theoretical tool due to its computational cost, it suggests that future practical samplers (e.g., MCMC-based) could be designed to approximate SVS-like behavior for even better performance. Extending this analysis to the full non-linear dynamics of deep networks remains a key area for future research.
Summary updated