When and why PINNs fail to train: A neural tangent kernel perspective
arXiv:2007.14527
Abstract
Physics-informed neural networks (PINNs) have lately received great attention thanks to their flexibility in tackling a wide range of forward and inverse problems involving partial differential equations. However, despite their noticeable empirical success, little is known about how such constrained neural networks behave during their training via gradient descent. More importantly, even less is known about why such models sometimes fail to train at all. In this work, we aim to investigate these questions through the lens of the Neural Tangent Kernel (NTK); a kernel that captures the behavior of fully-connected neural networks in the infinite width limit during training via gradient descent. Specifically, we derive the NTK of PINNs and prove that, under appropriate conditions, it converges to a deterministic kernel that stays constant during training in the infinite-width limit. This allows us to analyze the training dynamics of PINNs through the lens of their limiting NTK and find a remarkable discrepancy in the convergence rate of the different loss components contributing to the total training error. To address this fundamental pathology, we propose a novel gradient descent algorithm that utilizes the eigenvalues of the NTK to adaptively calibrate the convergence rate of the total training error. Finally, we perform a series of numerical experiments to verify the correctness of our theory and the practical effectiveness of the proposed algorithms. The data and code accompanying this manuscript are publicly available at \url{https://github.com/PredictiveIntelligenceLab/PINNsNTK}.
29 pages, 8 figures
References in corpus (4)
- Fourier Features Let Networks Learn High Frequency Functions in Low Dimensional Domains
- Physics-Constrained Deep Learning for High-dimensional Surrogate Modeling and Uncertainty Quantification without Labeled Data
- Understanding and mitigating gradient pathologies in physics-informed neural networks
- Physics-Constrained Bayesian Neural Network for Fluid Flow Reconstruction with Sparse and Noisy Data
Cited by in corpus (14)
- Physics-informed neural networks (PINNs) for fluid mechanics: A review
- NVIDIA SimNet^{TM}: an AI-accelerated multi-physics simulation framework
- Solving Partial Differential Equations with Point Source Based on Physics-Informed Neural Networks
- TensorDiffEq: Scalable Multi-GPU Forward and Inverse Solvers for Physics Informed Neural Networks
- Reproducing Activation Function for Deep Learning
- Enforcing exact physics in scientific machine learning: a data-driven exterior calculus on graphs
- Hierarchical Learning to Solve Partial Differential Equations Using Physics-Informed Neural Networks
- Fast PDE-constrained optimization via self-supervised operator learning
- A deep neural network approach on solving the linear transport model under diffusive scaling
- BINet: Learning to Solve Partial Differential Equations with Boundary Integral Networks
- Analysis of Deep Ritz Methods for Laplace Equations with Dirichlet Boundary Conditions
- Reconstructing a dynamical system and forecasting time series by self-consistent deep learning
- Optimal Transport Based Refinement of Physics-Informed Neural Networks
- Investigating a New Approach to Quasinormal Modes: Physics-Informed Neural Networks