An Expert's Guide to Training Physics-informed Neural Networks
About
Physics-informed neural networks (PINNs) have been popularized as a deep learning framework that can seamlessly synthesize observational data and partial differential equation (PDE) constraints. Their practical effectiveness however can be hampered by training pathologies, but also oftentimes by poor choices made by users who lack deep learning expertise. In this paper we present a series of best practices that can significantly improve the training efficiency and overall accuracy of PINNs. We also put forth a series of challenging benchmark problems that highlight some of the most prominent difficulties in training PINNs, and present comprehensive and fully reproducible ablation studies that demonstrate how different architecture choices and training strategies affect the test accuracy of the resulting models. We show that the methods and guiding principles put forth in this study lead to state-of-the-art results and provide strong baselines that future studies should use for comparison purposes. To this end, we also release a highly optimized library in JAX that can be used to reproduce all results reported in this paper, enable future research studies, as well as facilitate easy adaptation to new use-case scenarios.
Related benchmarks
| Task | Dataset | Result | Rank | |
|---|---|---|---|---|
| Velocity and pressure prediction in vessel-like tube domains | Aneurysm 28.4% Deformation, 7.00 mm Length (test) | Velocity Relative L2 Error0.005 | 40 | |
| Velocity and pressure prediction for Navier-Stokes equations | Stenosis 51.2% Deformation, 13.0mm Length (test) | Velocity Relative L2 Error3.4 | 40 | |
| Learning PDEs | Helmholtz 2D a=10 | Relative L2 Error5.76e-4 | 15 | |
| Solving Time-Dependent PDEs | Allen-Cahn | Relative L2 Error3.51 | 12 | |
| Learning PDEs | Helmholtz 2D a=20 | Relative L2 Error0.12 | 7 | |
| Learning PDEs | Convection c=30 | Relative L2 Error8.54e-4 | 7 | |
| Time-dependent PDE approximation | JAX-PI Gray-Scott | L2 Error1.31 | 3 | |
| Physics-Informed Neural Network PDE Solving | Kuramoto–Sivashinsky full solution | Relative L2 Error0.161 | 3 | |
| Time-dependent PDE approximation | JAX-PI Ginzburg-Landau | L2 Error2.07 | 3 | |
| Physics-Informed Neural Network PDE Solving | Advection c = 80 | Relative L2 Error0.0688 | 3 |