Optimally weighted loss functions for solving PDEs with Neural Networks

Publication date

2022-05-15

Authors

van der Meer, Remco
Oosterlee, Cornelis W.ORCID 0000-0002-7322-4094ISNI 000000004295759X
Borovykh, Anastasia

Editors

Advisors

Supervisors

Document Type

Article
Open Access logo

License

taverne

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 (Raissi et al., 2007). 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. 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.

Keywords

Convection–diffusion equation, High-dimensional problems, Loss functional, Neural network, Partial differential equation, Poisson equation, Taverne, Computational Mathematics, Applied Mathematics

Citation

van der Meer, R, Oosterlee, C W & Borovykh, A 2022, 'Optimally weighted loss functions for solving PDEs with Neural Networks', Journal of Computational and Applied Mathematics, vol. 405, 113887, pp. 1-18. https://doi.org/10.1016/j.cam.2021.113887