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

Zijiang Yang, Zhongwei Qiu, Dongmei Fu
11/25/2022
math.NA

Official code: MatrixBrain/DMIS (18 stars, Python, MIT, last commit 2024-01-17).

Abstract

Modeling dynamics in the form of partial differential equations (PDEs) is an effectual way to understand real-world physics processes. For complex physics systems, analytical solutions are not available and numerical solutions are widely-used.

Show full abstract

However, traditional numerical algorithms are computationally expensive and challenging in handling multiphysics systems. Recently, using neural networks to solve PDEs has made significant progress, called physics-informed neural networks (PINNs). PINNs encode physical laws into neural networks and learn the continuous solutions of PDEs. For the training of PINNs, existing methods suffer from the problems of inefficiency and unstable convergence, since the PDE residuals require calculating automatic differentiation. In this paper, we propose Dynamic Mesh-based Importance Sampling (DMIS) to tackle these problems. DMIS is a novel sampling scheme based on importance sampling, which constructs a dynamic triangular mesh to estimate sample weights efficiently. DMIS has broad applicability and can be easily integrated into existing methods. The evaluation of DMIS on three widely-used benchmarks shows that DMIS improves the convergence speed and accuracy in the meantime. Especially in solving the highly nonlinear Schrödinger Equation, compared with state-of-the-art methods, DMIS shows up to 46% smaller root mean square error and five times faster convergence speed. Code are available at https://github.com/MatrixBrain/DMIS.

View on arXivView PDF

Code Implementations(1)

MatrixBrain/DMISOfficial100%
MIT

Official code for "DMIS: Dynamic Mesh-based Importance Sampling for Training Physics-Informed Neural Networks" (AAAI 2023)

181PythonNov 21, 20222 years agoMIT

Similar Papers

Cite this paper

@article{yang2022dmis,
  title  = {DMIS: Dynamic Mesh-based Importance Sampling for Training Physics-Informed Neural Networks},
  author = {Zijiang Yang and Zhongwei Qiu and Dongmei Fu},
  year   = {2022},
  eprint = {2211.13944},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2211.13944}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2211.13944.svg)](https://codeofpaper.com/paper/2211.13944)

Discussion