NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Error Estimation for Physics-informed Neural Networks Approximating Semilinear Wave Equations

Beatrice Lorenz, Aras Bacho, Gitta Kutyniok · DOI

Introduction

Physics-Informed Neural Networks (PINNs) have emerged as a powerful tool for solving partial differential equations (PDEs) by leveraging the universal approximation capabilities of neural networks while enforcing physical laws through the loss function. This mesh-free approach is particularly attractive for complex geometries and high-dimensional problems. However, the rapid empirical adoption of PINNs has historically outpaced the development of a rigorous mathematical foundation. For wave equations—which are characterized by second-order time derivatives and oscillatory behavior—theoretical guarantees regarding error convergence have been notably absent. This paper bridges that gap by establishing the first rigorous theoretical error bounds for PINNs approximating semilinear wave equations.

The Challenge of Semilinear Wave Equations

Wave propagation problems are notoriously difficult for neural networks due to their sensitivity to initial conditions and the potential for complex interference patterns. When a "semilinear" term—a nonlinearity that depends on the solution itself—is introduced, the mathematical complexity increases significantly. Prior to this work, researchers lacked a formal method to determine how far a neural network solution might deviate from the true physical solution. By focusing on this specific class of equations, the authors provide a framework to ensure that the neural network is not merely "curve-fitting" but is truly capturing the underlying physics of the wave motion.

A Three-Step Theoretical Framework

The authors adapt a methodology to decompose the error analysis into three fundamental questions, providing a comprehensive view of the PINN learning process:

  1. Approximation: Does a neural network architecture exist that can represent the solution with arbitrarily small residuals? The authors prove that a tanh network with only two hidden layers is sufficient for this task, provided the layers are wide enough.
  2. Stability: If the training process results in small residuals (the "physics errors"), does that necessarily mean the total error is small? Using energy methods and Grönwall’s inequality, the research demonstrates that the $H^1$ norm of the error is indeed bounded by the residuals.
  3. Generalization: Since training occurs on a finite set of collocation points, how do we guarantee accuracy across the entire continuous domain? The authors employ quadrature error estimates, specifically the midpoint rule, to bridge the gap between discrete training performance and continuous physical validity.

Key Insights: Width, Norms, and Practical Utility

The theoretical analysis yields several critical insights for practitioners:

  • The Importance of Width: The theory suggests that for wave equations, increasing the width of the network layers is more critical than increasing the depth. A relatively shallow network (two hidden layers) is theoretically capable of reaching any desired tolerance, provided it has sufficient neurons per layer.
  • The $H^1$ Norm Advantage: Unlike many studies that focus on the $L^2$ (pointwise) error, this work bounds the $H^1$ norm. This ensures that the network accurately approximates both the solution values and their derivatives (the "velocity" of the wave), which is essential for maintaining physical consistency and energy conservation in wave simulations.
  • A Posteriori Error Estimation: One of the most practical contributions of this paper is the provision of an a posteriori bound. This allows researchers to take the final training loss of their model and calculate a rigorous estimate of the maximum possible error without needing to know the true analytical solution beforehand.

Numerical Validation

The authors evaluated their theoretical bounds using a damped wave equation on a 2D square domain. By comparing the PINN results against an analytical ground truth, they confirmed that as the number of training points ($N$) and the network width ($W$) increase, the total error vanishes at a rate of $O(\ln^2(N)N^{-k+1})$.

While the PINN solutions were virtually indistinguishable from the exact solutions in practice, the theoretical bounds were found to be approximately 2-3 orders of magnitude larger than the observed error. This gap is a common characteristic of theoretical PDE analysis, where bounds are often conservative to ensure they hold under all possible conditions.

Limitations and Future Directions

Despite the breakthrough, the research identifies clear areas for improvement. The current theory suffers from the "curse of dimensionality," as the required network width grows exponentially with the dimension of the problem. Additionally, the bounds assume that the optimization process successfully finds a global minimum, which is not always guaranteed with standard optimizers like Adam or L-BFGS. Future work will likely focus on sharpening these bounds and extending the numerical experiments to more complex, fully nonlinear wave phenomena.

Summary updated

BibTeX
@misc{lorenz2024error,
  author = {Beatrice Lorenz and Aras Bacho and Gitta Kutyniok},
  title = {{Error Estimation for Physics-informed Neural Networks Approximating Semilinear Wave Equations}},
  year = {2024},
  eprint = {2402.07153},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2402.07153},
}
Figure