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.

Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks

Pintore M.;
2023-01-01

Abstract

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.
2023
Inglese
Esperti anonimi
9
8 - Article number e18820
1
20
20
Approximate distance function; Deep neural networks; Dirichlet boundary conditions; PINN; VPINN
STATI UNITI D'AMERICA
1 – prodotto con file in versione Open Access (allegherò il file al passo 6 - Carica)
262
4
Berrone S.; Canuto C.; Pintore M.; Sukumar N.
info:eu-repo/semantics/article
open
03-CONTRIBUTO IN RIVISTA::03A-Articolo su Rivista
File in questo prodotto:
File Dimensione Formato  
1-s2.0-S2405844023060280-main_PINTORE.pdf

Accesso aperto

Tipo di file: PDF EDITORIALE
Dimensione 2.65 MB
Formato Adobe PDF
2.65 MB Adobe PDF Visualizza/Apri

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/2318/2028734
Citazioni
  • ???jsp.display-item.citation.pmc??? 1
  • Scopus 7
  • ???jsp.display-item.citation.isi??? 6
social impact