Improving Energy Natural Gradient Descent through Woodbury, Momentum, and Randomization
Andrés Guzmán-Cordero, Felix Dangel, Gil Goldshlager, Marius Zeinhofer
TL;DR
This work tackles the high computational cost of energy natural gradient descent (ENGD) for Physics-Informed Neural Networks (PINNs) by introducing three key enhancements. First, ENGD-W uses the Woodbury matrix identity to replace a $P\times P$ inverse with a kernel-based $N\times N$ inversion, achieving $\mathcal{O}(N^2P)$ per-iteration cost. Second, SPRING inserts momentum into the natural-gradient updates, accelerating convergence without requiring line searches. Third, a GPU-efficient Nyström sketch-and-solve approach further reduces costs for large batches in some settings. Empirically, the combination yields up to $75\times$ faster convergence to the same $L^2$ error on challenging high-dimensional PDEs, with SPRING delivering state-of-the-art performance in several cases; randomization helps mainly in early phases for low-dimensional problems and shows barriers in higher dimensions due to effective dimension constraints.
Abstract
Natural gradient methods significantly accelerate the training of Physics-Informed Neural Networks (PINNs), but are often prohibitively costly. We introduce a suite of techniques to improve the accuracy and efficiency of energy natural gradient descent (ENGD) for PINNs. First, we leverage the Woodbury formula to dramatically reduce the computational complexity of ENGD. Second, we adapt the Subsampled Projected-Increment Natural Gradient Descent algorithm from the variational Monte Carlo literature to accelerate the convergence. Third, we explore the use of randomized algorithms to further reduce the computational cost in the case of large batch sizes. We find that randomization accelerates progress in the early stages of training for low-dimensional problems, and we identify key barriers to attaining acceleration in other scenarios. Our numerical experiments demonstrate that our methods outperform previous approaches, achieving the same $L^2$ error as the original ENGD up to $75\times$ faster.
