Dual Natural Gradient Descent for Scalable Training of Physics-Informed Neural Networks
Anas Jnini, Flavio Vella
TL;DR
This work introduces Dual Natural Gradient Descent (D-NGD) for Physics-Informed Neural Networks, reframing the Gauss–Newton step from parameter space to a much smaller residual space of dimension $m=\sum_\gamma N_\gamma d_\gamma$. It adds a geodesic-acceleration correction and provides both a dense direct solver and a Hessian-free, Nyström-preconditioned iterative solver, enabling scalable second-order optimization for PINNs with millions of parameters on a single GPU. Across a broad set of high-dimensional PDE benchmarks, D-NGD achieves state-of-the-art accuracy, often improving final $L^2$ errors by one to three orders of magnitude over first-order and quasi-Newton baselines. The approach makes curvature-aware PINN training practical at scale and opens avenues for efficient operator learning and large-scale physics-informed modeling.
Abstract
Natural-gradient methods markedly accelerate the training of Physics-Informed Neural Networks (PINNs), yet their Gauss--Newton update must be solved in the parameter space, incurring a prohibitive $O(n^3)$ time complexity, where $n$ is the number of network trainable weights. We show that exactly the same step can instead be formulated in a generally smaller residual space of size $m = \sum_γ N_γ d_γ$, where each residual class $γ$ (e.g. PDE interior, boundary, initial data) contributes $N_γ$ collocation points of output dimension $d_γ$. Building on this insight, we introduce \textit{Dual Natural Gradient Descent} (D-NGD). D-NGD computes the Gauss--Newton step in residual space, augments it with a geodesic-acceleration correction at negligible extra cost, and provides both a dense direct solver for modest $m$ and a Nystrom-preconditioned conjugate-gradient solver for larger $m$. Experimentally, D-NGD scales second-order PINN optimization to networks with up to 12.8 million parameters, delivers one- to three-order-of-magnitude lower final error $L^2$ than first-order methods (Adam, SGD) and quasi-Newton methods, and -- crucially -- enables natural-gradient training of PINNs at this scale on a single GPU.
