Saved in:
Bibliographic Details
Main Authors: Hanna, John M., Talbot, Hugues, Vignon-Clementel, Irene E.
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2412.13993
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866909777411440640
author Hanna, John M.
Talbot, Hugues
Vignon-Clementel, Irene E.
author_facet Hanna, John M.
Talbot, Hugues
Vignon-Clementel, Irene E.
contents 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.
format Preprint
id arxiv_https___arxiv_org_abs_2412_13993
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle Improved Physics-informed neural networks loss function regularization with a variance-based term
Hanna, John M.
Talbot, Hugues
Vignon-Clementel, Irene E.
Optimization and Control
Machine Learning
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.
title Improved Physics-informed neural networks loss function regularization with a variance-based term
topic Optimization and Control
Machine Learning
url https://arxiv.org/abs/2412.13993