Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Understanding and mitigating gradient pathologies in physics-informed neural networks

About

The widespread use of neural networks across different scientific domains often involves constraining them to satisfy certain symmetries, conservation laws, or other domain knowledge. Such constraints are often imposed as soft penalties during model training and effectively act as domain-specific regularizers of the empirical risk loss. Physics-informed neural networks is an example of this philosophy in which the outputs of deep neural networks are constrained to approximately satisfy a given set of partial differential equations. In this work we review recent advances in scientific machine learning with a specific focus on the effectiveness of physics-informed neural networks in predicting outcomes of physical systems and discovering hidden physics from noisy data. We will also identify and analyze a fundamental mode of failure of such approaches that is related to numerical stiffness leading to unbalanced back-propagated gradients during model training. To address this limitation we present a learning rate annealing algorithm that utilizes gradient statistics during model training to balance the interplay between different terms in composite loss functions. We also propose a novel neural network architecture that is more resilient to such gradient pathologies. Taken together, our developments provide new insights into the training of constrained neural networks and consistently improve the predictive accuracy of physics-informed neural networks by a factor of 50-100x across a range of problems in computational physics. All code and data accompanying this manuscript are publicly available at \url{https://github.com/PredictiveIntelligenceLab/GradientPathologiesPINNs}.

Sifan Wang, Yujun Teng, Paris Perdikaris• 2020

Related benchmarks

TaskDatasetResultRank
Velocity and pressure prediction in vessel-like tube domainsAneurysm 28.4% Deformation, 7.00 mm Length (test)
Velocity Relative L2 Error0.006
40
Velocity and pressure prediction for Navier-Stokes equationsStenosis 51.2% Deformation, 13.0mm Length (test)
Velocity Relative L2 Error3.6
40
PDE solvingHelmholtz equation
Relative L2 Error0.66
32
Heat Equation Simulation2D battery pack
MAE0.0621
32
PDE solvingKlein-Gordon equation
Relative L2 Error0.0069
31
Forward PDE solvingHelmholtz
Relative Error1
26
Forward PDE problem solvingBurgers
Relative L2 Error0.4032
19
PDE solvingHeat2D-CG
Relative L2 Error0.9999
18
Solving PDEsHelmholtz Equation (test)
Max Relative L2 Error0.0108
11
Solving PDEsKlein-Gordon Equation (test)
Max Relative L2 Error0.0166
11
Showing 10 of 45 rows

Other info

Follow for update