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

被引:13
作者
Berrone, S. [1 ]
Canuto, C. [1 ]
Pintore, M. [1 ]
Sukumar, N. [2 ]
机构
[1] Politecn Torino, Dipartimento Sci Matemat, Corso Duca Abruzzi 24, I-10129 Turin, Italy
[2] Univ Calif Davis, Dept Civil & Environm Engn, Davis, CA 95616 USA
关键词
Dirichlet boundary conditions; PINN; VPINN; Deep neural networks; Approximate distance function; DEEP LEARNING FRAMEWORK; ALGORITHM;
D O I
10.1016/j.heliyon.2023.e18820
中图分类号
O [数理科学和化学]; P [天文学、地球科学]; Q [生物科学]; N [自然科学总论];
学科分类号
07 ; 0710 ; 09 ;
摘要
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.
引用
收藏
页数:20
相关论文
共 49 条
[1]  
Abadi M., 2015, TensorFlow: Large-scale machine learning on heterogeneous systems
[2]  
Alnæs MS, 2015, V3, P9, DOI [10.11588/ans.2015.100.20553, DOI 10.11588/ANS.2015.100.20553, 10.11588/ans.2015.100.20553]
[3]  
Baydin AG, 2018, J MACH LEARN RES, V18
[4]   AN OVERVIEW ON DEEP LEARNING-BASED APPROXIMATION METHODS FOR PARTIAL DIFFERENTIAL EQUATIONS [J].
Beck, Christian ;
Hutzenthaler, Martin ;
Jentzen, Arnulf ;
Kuckuck, Benno .
DISCRETE AND CONTINUOUS DYNAMICAL SYSTEMS, 2022, :3697-3746
[5]  
Berrone S, 2022, ANNALI DELL UNIVERSITA DI FERRARA, V68, P575, DOI [10.1007/s11565-022-00441-6, 10.1007/s11565-022-00441-6]
[6]   Variational Physics Informed Neural Networks: the Role of Quadratures and Test Functions [J].
Berrone, Stefano ;
Canuto, Claudio ;
Pintore, Moreno .
JOURNAL OF SCIENTIFIC COMPUTING, 2022, 92 (03)
[7]   Approximate distance fields with non-vanishing gradients [J].
Biswas, A ;
Shapiro, V .
GRAPHICAL MODELS, 2004, 66 (03) :133-159
[8]   Physics-informed neural networks for inverse problems in nano-optics and metamaterials [J].
Chen, Yuyao ;
Lu, Lu ;
Karniadakis, George Em ;
Dal Negro, Luca .
OPTICS EXPRESS, 2020, 28 (08) :11618-11633
[9]  
Chen Z, 2021, NAT COMMUN, V12, DOI [10.1038/s41467-021-26434-1, 10.1038/s41467-021-27250-3]
[10]   Scientific Machine Learning Through Physics-Informed Neural Networks: Where we are and What's Next [J].
Cuomo, Salvatore ;
Di Cola, Vincenzo Schiano ;
Giampaolo, Fabio ;
Rozza, Gianluigi ;
Raissi, Maziar ;
Piccialli, Francesco .
JOURNAL OF SCIENTIFIC COMPUTING, 2022, 92 (03)