TL;DR
This paper re-imagines Subsampled Natural Gradient (SNG) descent—a key optimizer for high-precision scientific machine learning—through the lens of sketch-and-project methods. By using a novel theoretical proxy based on squared volume sampling, the authors provide the first meaningful convergence guarantees for SNG in realistic "small-sample" settings and reveal that its primary advantage over SGD is its ability to exploit spectral decay in the model Jacobian.
What Problem Does This Paper Address?
Natural Gradient Descent (NGD) is a powerful optimization technique that mimics gradient descent in function space, often dramatically outperforming standard optimizers like Adam for scientific tasks (e.g., solving Schrödinger's equation or PDEs). To make NGD practical for large models, researchers use subsampling (SNG), which estimates the Fisher information matrix using a small "mini-batch" of data.
However, there has been a persistent gap between theory and practice. Standard mathematical analyses typically use a "two mini-batch" proxy—assuming the gradient and the preconditioner are calculated from independent samples—to make the proofs work. In reality, practitioners use a single mini-batch. In the "small-sample" regime (where the number of samples is much smaller than the number of parameters), the two-batch theory fails to provide useful insights, often predicting behavior that contradicts what researchers see in their experiments.
Methods
The authors bridge this gap by shifting the conceptual framework from stochastic preconditioning to sketch-and-project methods.
- Sketch-and-Project Lens: They show that an SNG update is mathematically equivalent to finding the minimal-norm solution to a subsampled (sketched) linear system. This connects SNG to well-studied randomized linear algebra algorithms like the randomized block Kaczmarz method.
- Squared Volume Sampling (SVS): To analyze the algorithm without the unrealistic "two-batch" decoupling, they introduce SVS as a new theoretical proxy. SVS selects samples with a probability proportional to the "volume" they span in the Jacobian's row space. This allows for exact expectation calculations even when the gradient and preconditioner are coupled.
- Linear Least-Quadratics (LLQ): They focus their analysis on a model problem called LLQ, which serves as a local second-order approximation for consistent parametric optimization problems near a minimizer.
- SPRING Derivation: They demonstrate that SPRING, a popular structured momentum scheme for SNG, arises naturally as a Nesterov-accelerated version of their sketch-and-project formulation.
Datasets
The paper uses synthetic and scientific-inspired benchmarks to validate the theory:
- Discrete Poisson Problem: A standard benchmark for scientific ML, solved using a periodic ResNet ansatz with ~7,800 parameters.
- Random Gaussian Matrices: Used to test the "Linear Least-Quadratics" setting, specifically designed to explore different types of spectral decay (flat vs. fast decay).
Key Insights and Ideas
- A More Faithful Proxy: Numerical experiments show that SVS-SNG behavior closely matches realistic, uniformly sampled SNG, whereas the old "two-batch" proxy fails completely at small sample sizes.
- Exploiting Spectral Decay: The "secret sauce" of SNG is its ability to exploit spectral decay in the model Jacobian. If a few singular values dominate (a common trait in neural networks), SNG's convergence rate can scale superlinearly with the sample size. In contrast, SGD's rate typically scales only linearly.
- The $\alpha/\gamma$ Trade-off: The authors identify two key quantities controlling SNG: $\alpha$ (the standard sketch-and-project rate) and $\gamma$ (a new second-moment quantity). The optimal convergence rate scales as $\alpha/\gamma$.
- Principled Acceleration: By showing SPRING is accelerated sketch-and-project, the authors provide a theoretical foundation for why it works so well, particularly when sample sizes are small and the underlying steps are slow.
Key Results
- Global Convergence: Theorem 4.2 establishes global convergence for SVS-SNG using a single mini-batch of any size, removing the need for the two-batch assumption.
- Linear Convergence Rates: For consistent problems, the authors prove an explicit linear convergence rate (Theorem 5.1).
- Empirical Validation of Scaling: As shown in the figure below, SNG exhibits superlinear scaling in its empirical rate constant when the Jacobian has fast spectral decay, whereas it scales linearly when the spectrum is flat.
- SPRING Performance: Experiments confirm that SPRING provides substantial acceleration over standard SNG at small sample sizes, exactly where the theory predicts the greatest benefit.
Limitations and Future Work
- Practicality of SVS: While SVS is a powerful theoretical tool, implementing it exactly is computationally expensive. The authors suggest it could inspire new practical sampling strategies, such as using "negative correlations" within mini-batches.
- Linear vs. Nonlinear: The detailed convergence rates are derived for a linear ansatz (LLQ). Extending these results to fully nonlinear neural network regimes remains a challenge.
- Conjectures: The convergence rate for SPRING in the LLQ setting (Conjecture 6.2) is currently a conjecture based on strong theoretical evidence but lacks a formal proof due to the complexity of constructing a suitable Lyapunov function.
- Future Directions: The authors point toward leveraging other tools from randomized linear algebra, such as adaptive acceleration and oblique projections, to further refine SNG algorithms.
Summary updated