Improved Physics-informed neural networks loss function regularization with a variance-based term

John M. Hanna, Hugues Talbot, Irene E. Vignon-Clementel
12/18/2024
math.OCcs.LG

No confident code implementation found for this paper. 2 possible matches can be shown below.

Abstract

In machine learning and statistical modeling, the mean square or absolute error is commonly used as an error metric, also called a "loss function." While effective in reducing the average error, this approach may fail to address localized outliers, leading to significant inaccuracies in regions with sharp gradients or discontinuities. This issue is particularly evident in physics-informed neural networks (PINNs), where such localized errors are expected and affect the overall solution. To overcome this limitation, we propose a novel loss function that combines the mean and the standard deviation of the chosen error metric. By minimizing this combined loss function, the method ensures a more uniform error distribution and reduces the impact of localized high-error regions. The proposed loss function is easy to implement and tested on problems of varying complexity: the 1D Poisson equation, the unsteady Burgers' equation, 2D linear elastic solid mechanics, and 2D steady Navier-Stokes equations. Results demonstrate improved solution quality and lower maximum error compared to the standard mean-based loss, with minimal impact on computational time.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. 2 weaker matches are hidden by default — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{hanna2024improved,
  title  = {Improved Physics-informed neural networks loss function regularization with a variance-based term},
  author = {John M. Hanna and Hugues Talbot and Irene E. Vignon-Clementel},
  year   = {2024},
  eprint = {2412.13993},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2412.13993v3}
}

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

Discussion