Optimally weighted loss functions for solving PDEs with Neural Networks

Remco van der Meer, Cornelis Oosterlee, Anastasia Borovykh
2/14/2020
math.NA

Official code: remcovandermeer/Optimally-Weighted-PINNs (42 stars, Python, last commit 2020-05-08).

Abstract

Recent works have shown that deep neural networks can be employed to solve partial differential equations, giving rise to the framework of physics informed neural networks. We introduce a generalization for these methods that manifests as a scaling parameter which balances the relative importance of the different constraints imposed by partial differential equations.

Show full abstract

A mathematical motivation of these generalized methods is provided, which shows that for linear and well-posed partial differential equations, the functional form is convex. We then derive a choice for the scaling parameter that is optimal with respect to a measure of relative error. Because this optimal choice relies on having full knowledge of analytical solutions, we also propose a heuristic method to approximate this optimal choice. The proposed methods are compared numerically to the original methods on a variety of model partial differential equations, with the number of data points being updated adaptively. For several problems, including high-dimensional PDEs the proposed methods are shown to significantly enhance accuracy.

View on arXivView PDF

Code Implementations(1)

4220PythonMay 8, 20206 years ago
neural-networkspartial-differential-equations

Similar Papers

Cite this paper

@article{meer2020optimally,
  title  = {Optimally weighted loss functions for solving PDEs with Neural Networks},
  author = {Remco van der Meer and Cornelis Oosterlee and Anastasia Borovykh},
  year   = {2020},
  eprint = {2002.06269},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2002.06269}
}

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/2002.06269.svg)](https://codeofpaper.com/paper/2002.06269)

Discussion