Cargando…
Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks
In this paper, we present and compare four methods to enforce Dirichlet boundary conditions in Physics-Informed Neural Networks (PINNs) and Variational Physics-Informed Neural Networks (VPINNs). Such conditions are usually imposed by adding penalization terms in the loss function and properly choosi...
Autores principales: | , , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Elsevier
2023
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10432987/ https://www.ncbi.nlm.nih.gov/pubmed/37600384 http://dx.doi.org/10.1016/j.heliyon.2023.e18820 |
_version_ | 1785091549350068224 |
---|---|
author | Berrone, S. Canuto, C. Pintore, M. Sukumar, N. |
author_facet | Berrone, S. Canuto, C. Pintore, M. Sukumar, N. |
author_sort | Berrone, S. |
collection | PubMed |
description | In this paper, we present and compare four methods to enforce Dirichlet boundary conditions in Physics-Informed Neural Networks (PINNs) and Variational Physics-Informed Neural Networks (VPINNs). Such conditions are usually imposed by adding penalization terms in the loss function and properly choosing the corresponding scaling coefficients; however, in practice, this requires an expensive tuning phase. We show through several numerical tests that modifying the output of the neural network to exactly match the prescribed values leads to more efficient and accurate solvers. The best results are achieved by exactly enforcing the Dirichlet boundary conditions by means of an approximate distance function. We also show that variationally imposing the Dirichlet boundary conditions via Nitsche's method leads to suboptimal solvers. |
format | Online Article Text |
id | pubmed-10432987 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2023 |
publisher | Elsevier |
record_format | MEDLINE/PubMed |
spelling | pubmed-104329872023-08-18 Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks Berrone, S. Canuto, C. Pintore, M. Sukumar, N. Heliyon Research Article In this paper, we present and compare four methods to enforce Dirichlet boundary conditions in Physics-Informed Neural Networks (PINNs) and Variational Physics-Informed Neural Networks (VPINNs). Such conditions are usually imposed by adding penalization terms in the loss function and properly choosing the corresponding scaling coefficients; however, in practice, this requires an expensive tuning phase. We show through several numerical tests that modifying the output of the neural network to exactly match the prescribed values leads to more efficient and accurate solvers. The best results are achieved by exactly enforcing the Dirichlet boundary conditions by means of an approximate distance function. We also show that variationally imposing the Dirichlet boundary conditions via Nitsche's method leads to suboptimal solvers. Elsevier 2023-08-02 /pmc/articles/PMC10432987/ /pubmed/37600384 http://dx.doi.org/10.1016/j.heliyon.2023.e18820 Text en © 2023 The Author(s) https://creativecommons.org/licenses/by/4.0/This is an open access article under the CC BY license (http://creativecommons.org/licenses/by/4.0/). |
spellingShingle | Research Article Berrone, S. Canuto, C. Pintore, M. Sukumar, N. Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
title | Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
title_full | Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
title_fullStr | Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
title_full_unstemmed | Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
title_short | Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
title_sort | enforcing dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC10432987/ https://www.ncbi.nlm.nih.gov/pubmed/37600384 http://dx.doi.org/10.1016/j.heliyon.2023.e18820 |
work_keys_str_mv | AT berrones enforcingdirichletboundaryconditionsinphysicsinformedneuralnetworksandvariationalphysicsinformedneuralnetworks AT canutoc enforcingdirichletboundaryconditionsinphysicsinformedneuralnetworksandvariationalphysicsinformedneuralnetworks AT pintorem enforcingdirichletboundaryconditionsinphysicsinformedneuralnetworksandvariationalphysicsinformedneuralnetworks AT sukumarn enforcingdirichletboundaryconditionsinphysicsinformedneuralnetworksandvariationalphysicsinformedneuralnetworks |