Efficient training of physics-informed neural networks via importance sampling

04/26/2021
by   Mohammad Amin Nabian, et al.
0

Physics-Informed Neural Networks (PINNs) are a class of deep neural networks that are trained, using automatic differentiation, to compute the response of systems governed by partial differential equations (PDEs). The training of PINNs is simulation-free, and does not require any training dataset to be obtained from numerical PDE solvers. Instead, it only requires the physical problem description, including the governing laws of physics, domain geometry, initial/boundary conditions, and the material properties. This training usually involves solving a non-convex optimization problem using variants of the stochastic gradient descent method, with the gradient of the loss function approximated on a batch of collocation points, selected randomly in each iteration according to a uniform distribution. Despite the success of PINNs in accurately solving a wide variety of PDEs, the method still requires improvements in terms of computational efficiency. To this end, in this paper, we study the performance of an importance sampling approach for efficient training of PINNs. Using numerical examples together with theoretical evidences, we show that in each training iteration, sampling the collocation points according to a distribution proportional to the loss function will improve the convergence behavior of the PINNs training. Additionally, we show that providing a piecewise constant approximation to the loss function for faster importance sampling can further improve the training efficiency. This importance sampling approach is straightforward and easy to implement in the existing PINN codes, and also does not introduce any new hyperparameter to calibrate. The numerical examples include elasticity, diffusion and plane stress problems, through which we numerically verify the accuracy and efficiency of the importance sampling approach compared to the predominant uniform sampling approach.

READ FULL TEXT

page 11

page 17

research
05/02/2022

RANG: A Residual-based Adaptive Node Generation Method for Physics-Informed Neural Networks

Learning solutions of partial differential equations (PDEs) with Physics...
research
11/25/2022

DMIS: Dynamic Mesh-based Importance Sampling for Training Physics-Informed Neural Networks

Modeling dynamics in the form of partial differential equations (PDEs) i...
research
06/08/2021

Coresets for Classification – Simplified and Strengthened

We give relative error coresets for training linear classifiers with a b...
research
07/05/2022

Rethinking the Importance of Sampling in Physics-informed Neural Networks

Physics-informed neural networks (PINNs) have emerged as a powerful tool...
research
07/09/2020

Discovering Phase Field Models from Image Data with the Pseudo-spectral Physics Informed Neural Networks

In this paper, we introduce a new deep learning framework for discoverin...
research
11/17/2021

A Neural Solver for Variational Problems on CAD Geometries with Application to Electric Machine Simulation

This work presents a deep learning-based framework for the solution of p...
research
10/11/2018

Physics-Informed Regularization of Deep Neural Networks

This paper presents a novel physics-informed regularization method for t...

Please sign up or login with your details

Forgot password? Click here to reset