Understanding and mitigating gradient pathologies in physics-informed neural networks

By Sifan Wang, Yujun Teng, Paris Perdikaris. 2020

361 citations recorded by the source corpus.

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{this https URL}.

Subfields: Aerospace Engineering, Statistical and Nonlinear Physics, Optimization & Training, AI for Physical Sciences

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Aerospace Engineering

  1. G. Em Karniadakis
  2. Shengze Cai
  3. Zhiping Mao
  4. Zhicheng Wang
  5. Jian-Xun Wang
  6. Han Gao
  7. Zhongqiang Zhang
  8. Shuhao Cao

In Statistical and Nonlinear Physics

  1. G. Em Karniadakis
  2. Zhiping Mao
  3. Jian-Xun Wang
  4. Lu Lu
  5. Han Gao
  6. Shengze Cai
  7. Ameya Dilip Jagtap
  8. Yang Liu

In Optimization & Training

  1. G. Em Karniadakis
  2. Shuhao Cao
  3. Ulisses M. Braga-Neto
  4. Levi D. McClenny
  5. Shengze Cai
  6. Michael W. Mahoney
  7. A. Gholami
  8. Lesia Semenova

In AI for Physical Sciences

  1. G. Em Karniadakis
  2. Lu Lu
  3. Paris Perdikaris
  4. Xuhui Meng
  5. Zhiping Mao
  6. Sifan Wang
  7. Ameya Dilip Jagtap
  8. Jian-Xun Wang

Citations in the corpus