The Ill-Posed Foundations of Physics-Informed Neural Networks and Their Finite-Difference Variants
Andreas Langer
TL;DR
The paper addresses the analytical foundations of physics-informed neural networks (PINNs) in both gradient-based AD-PINN and finite-difference (FD-PINN) formulations, showing that their optimization problems are ill-posed with non-unique minimizers. It develops a unified framework, proves existence of minimizers under mild regularity and that neural networks of finite width can realize these minimizers, and establishes a precise grid-level equivalence between FD-PINN minimizers and discrete finite-difference solutions. The results reveal a structural distinction: FD-PINNs are effectively tied to the underlying discrete scheme on the stencil, ensuring grid-consistent zero-loss solutions when the discrete PDE is unique, whereas AD-PINNs can admit unbounded families of minimizers that diverge from the true PDE solution. Numerical experiments on Poisson, Schrödinger, and Navier–Stokes problems corroborate the theory, showing FD-PINNs’ robustness and explaining the instability often observed in AD-PINNs, with implications for designing more reliable PDE solvers based on neural networks.
Abstract
Physics-informed neural networks based on automatic differentiation (AD-PINNs) and their finite-difference counterparts (FD-PINNs) are widely used for solving partial differential equations (PDEs), yet their analytical properties remain poorly understood. This work provides a unified mathematical foundation for both formulations. Under mild regularity assumptions on the activation function and for sufficiently wide neural networks of depth at least two, we prove that both the AD- and FD-PINN optimization problems are ill-posed: whenever a minimizer exists, there are in fact infinitely many, and uniqueness fails regardless of the choice of collocation points or finite-difference stencil. Nevertheless, we establish two structural properties. First, whenever the underlying PDE or its finite-difference discretization admits a solution, the corresponding AD-PINN or FD-PINN loss also admits a minimizer, realizable by a neural network of finite width. Second, FD-PINNs are tightly coupled to the underlying finite-difference scheme: every FD-PINN minimizer agrees with a finite-difference minimizer on the grid, and in regimes where the discrete PDE solution is unique, all zero-loss FD-PINN minimizers coincide with the discrete PDE solution on the stencil. Numerical experiments illustrate these theoretical insights: FD-PINNs remain stable in representative forward and inverse problems, including settings where AD-PINNs may fail to converge. We also include an inverse problem with noisy data, demonstrating that FD-PINNs retain robustness in this setting as well. Taken together, our results clarify the analytical limitations of AD-PINNs and explain the structural reasons for the more stable behavior observed in FD-PINNs.
