Accelerating Natural Gradient Descent for PINNs with Randomized Nyström Preconditioning
Ivan Bioli, Carlo Marcati, Giancarlo Sangalli
TL;DR
This work tackles the optimization bottleneck in neural-network PDE solvers by addressing the ill-conditioning of the NGD Gramian $\mathbf{G}(\boldsymbol{\theta})$. It introduces NyströmNGD, which combines matrix-free NGD with randomized Nyström preconditioning to accelerate the inner Conjugate Gradient solves for $(\mathbf{G}(\boldsymbol{\theta})+\mu\mathbf{I})\mathbf{d}=\nabla L(\boldsymbol{\theta})$; this yields substantial improvements in both iteration count and wall-clock time across PINNs and FEINNs on diverse PDEs. The method leverages fast Gramian matvecs via automatic differentiation and exploits strong Gramian spectral decay to obtain an effective low-rank preconditioner, with adaptive updates of $\mu$ and the Nyström rank $\ell$. Empirically, NyströmNGD achieves higher final accuracy and significantly faster convergence than NGD variants and BFGS across Poisson, heat, and Navier–Stokes-like problems, while providing explicit memory control through $\ell_{\max}$. These results indicate NyströmNGD's practical impact for scalable, mesh-free PDE solvers with variational formulations.
Abstract
Natural Gradient Descent (NGD) has emerged as a promising optimization algorithm for training neural network-based solvers for partial differential equations (PDEs), such as Physics-Informed Neural Networks (PINNs). However, its practical use is often limited by the high computational cost of solving linear systems involving the Gramian matrix. While matrix-free NGD methods based on the conjugate gradient (CG) method avoid explicit matrix inversion, the ill-conditioning of the Gramian significantly slows the convergence of CG. In this work, we extend matrix-free NGD to broader classes of problems than previously considered and propose the use of Randomized Nyström preconditioning to accelerate convergence of the inner CG solver. The resulting algorithm demonstrates substantial performance improvements over existing NGD-based methods and other state-of-the-art optimizers on a range of PDE problems discretized using neural networks.
