wPINNs: Weak Physics informed neural networks for approximating entropy solutions of hyperbolic conservation laws

Tim De Ryck, Siddhartha Mishra, Roberto MolinaroSIAM J. Numer. Anal 2022

TL;DR

This paper introduces "weak PINNs" (wPINNs), a novel neural network approach designed to accurately approximate solutions of hyperbolic conservation laws, which often exhibit sharp discontinuities (shocks). By reformulating the problem using weak formulations and entropy conditions, wPINNs overcome the limitations of traditional Physics-Informed Neural Networks (PINNs) that struggle with such discontinuous solutions, demonstrating strong theoretical guarantees and promising numerical results.

What Problem Does This Paper Address?

Many real-world phenomena, like fluid dynamics and wave propagation, are described by hyperbolic conservation laws. These laws often lead to solutions with sharp discontinuities, such as shock waves, even when the initial conditions are smooth. Traditional Physics-Informed Neural Networks (PINNs) rely on the smoothness of solutions to accurately approximate the partial differential equation (PDE) residuals. This reliance makes them perform poorly when faced with discontinuous solutions, leading to significant errors. The challenge, therefore, is to develop a neural network-based method that can reliably and accurately approximate these discontinuous "entropy solutions" of hyperbolic conservation laws, which are unique and physically relevant.

Methods

The core innovation is the development of weak PINNs (wPINNs). Instead of minimizing the pointwise PDE residual (as in standard PINNs), wPINNs utilize a weak formulation of the conservation law. This involves integrating the PDE against smooth "test functions." Crucially, wPINNs incorporate Kruzkhov entropy conditions into this weak formulation, creating an "entropy residual."

The training process for wPINNs is framed as a min-max optimization problem. The neural network approximating the solution is trained to minimize this entropy residual, while the test functions are chosen to maximize it. This min-max structure is inspired by Generative Adversarial Networks (GANs). The paper also provides theoretical analysis, deriving rigorous error bounds on the approximation accuracy of wPINNs, showing that their error can be made arbitrarily small by controlling the training error, network size, and number of collocation points.

Datasets

The paper does not introduce new datasets. Instead, it uses the inviscid Burgers' equation as a testbed for numerical experiments. This equation is a canonical example of a scalar conservation law that exhibits shock formation. The "data" for training and evaluation are generated by the exact solutions of the Burgers' equation under various initial conditions (standing shock, moving shock, rarefaction wave, and sine wave).

Key Insights and Ideas

  • Entropy is Key for Discontinuities: The paper strongly emphasizes that for hyperbolic conservation laws with discontinuous solutions, simply enforcing the PDE in a weak sense is insufficient. Incorporating entropy conditions is crucial for ensuring unique and physically meaningful solutions.
  • Min-Max for Robustness: Framing the training as a min-max problem, rather than a pure minimization, helps to robustly handle the complexities introduced by discontinuous solutions and the weak formulation.
  • Theoretical Guarantees: A significant contribution is the rigorous mathematical analysis that provides error bounds for wPINNs. This theoretical backing is essential for building confidence in the method's reliability.
  • PINNs' Regularity Limitation: The work clearly highlights a fundamental limitation of standard PINNs: their dependence on solution regularity, which is violated in many important physical scenarios.

Key Results

The paper demonstrates that wPINNs can accurately approximate entropy solutions of the inviscid Burgers' equation, even in the presence of shocks.

  • Low Total Error: Numerical experiments show very low relative total errors (Er) for wPINNs, often below 2% for the average prediction and even lower for the best hyperparameter configuration. For instance, the standing shock solution achieved an error of 0.01, and the moving shock solution had an error of 0.019.
  • Accurate Shock Capturing: Figures in the paper visually confirm that wPINNs successfully capture both standing and moving shocks, as well as rarefaction waves, with high fidelity.
  • Comparison to Standard PINNs: The paper shows that a naive weak formulation of PINNs (without entropy conditions) fails to accurately approximate non-entropic solutions, underscoring the necessity of the entropy-based approach.

Limitations and Future Work

  • Computational Cost: Training wPINNs is computationally more expensive than standard PINNs due to the min-max optimization problem. The authors suggest exploring faster training algorithms inspired by GAN literature.
  • Extension to Systems: The current work focuses on scalar conservation laws. Extending wPINNs to systems of conservation laws (e.g., Euler equations) is non-trivial, as there isn't a general analogue of infinitely many Kruzkhov entropies for systems. This is a significant area for future research.
  • Multi-dimensional Extension: While the theoretical framework is presented for one spatial dimension, extending the algorithm and estimates to multi-dimensional scalar conservation laws is considered straightforward.
  • Parametric PDEs and Operator Learning: The authors envision using wPINNs within physics-informed operator learning frameworks and for approximating solutions of parametric PDEs, which would allow for fast inference once trained.

Summary updated

BibTeX
@article{ryck2022wpinns,
  author = {Tim De Ryck and Siddhartha Mishra and Roberto Molinaro},
  title = {{wPINNs: Weak Physics informed neural networks for approximating entropy solutions of hyperbolic conservation laws}},
  journal = {SIAM J. Numer. Anal.},
  year = {2022},
  url = {https://openreview.net/forum?id=y9WvMLOsgA},
}
Figure