Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge

Abstract This research introduces an accelerated training approach for Vanilla Physics-Informed Neural Networks (PINNs) that addresses three factors affecting the loss function: the initial weight state of the neural network, the ratio of domain to boundary points, and the loss weighting factor. The...

Full description

Saved in:
Bibliographic Details
Main Authors: Mahyar Jahani-nasab, Mohamad Ali Bijarchi
Format: Article
Language:English
Published: Nature Portfolio 2024-10-01
Series:Scientific Reports
Subjects:
Online Access:https://doi.org/10.1038/s41598-024-74711-y
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1850119385198362624
author Mahyar Jahani-nasab
Mohamad Ali Bijarchi
author_facet Mahyar Jahani-nasab
Mohamad Ali Bijarchi
author_sort Mahyar Jahani-nasab
collection DOAJ
description Abstract This research introduces an accelerated training approach for Vanilla Physics-Informed Neural Networks (PINNs) that addresses three factors affecting the loss function: the initial weight state of the neural network, the ratio of domain to boundary points, and the loss weighting factor. The proposed method involves two phases. In the initial phase, a unique loss function is created using a subset of boundary conditions and partial differential equation terms. Furthermore, we introduce preprocessing procedures that aim to decrease the variance during initialization and choose domain points according to the initial weight state of various neural networks. The second phase resembles Vanilla-PINN training, but a portion of the random weights are substituted with weights from the first phase. This implies that the neural network’s structure is designed to prioritize the boundary conditions, subsequently affecting the overall convergence. The study evaluates the method using three benchmarks: two-dimensional flow over a cylinder, an inverse problem of inlet velocity determination, and the Burger equation. Incorporating weights generated in the first training phase neutralizes imbalance effects. Notably, the proposed approach outperforms Vanilla-PINN in terms of speed, convergence likelihood and eliminates the need for hyperparameter tuning to balance the loss function.
format Article
id doaj-art-1508b60fcdee41968b3e3f5e5da2b254
institution OA Journals
issn 2045-2322
language English
publishDate 2024-10-01
publisher Nature Portfolio
record_format Article
series Scientific Reports
spelling doaj-art-1508b60fcdee41968b3e3f5e5da2b2542025-08-20T02:35:39ZengNature PortfolioScientific Reports2045-23222024-10-0114111810.1038/s41598-024-74711-yEnhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledgeMahyar Jahani-nasab0Mohamad Ali Bijarchi1Center of Excellence in Energy Conservation (CEEC), Department of Mechanical Engineering, Sharif University of TechnologyCenter of Excellence in Energy Conservation (CEEC), Department of Mechanical Engineering, Sharif University of TechnologyAbstract This research introduces an accelerated training approach for Vanilla Physics-Informed Neural Networks (PINNs) that addresses three factors affecting the loss function: the initial weight state of the neural network, the ratio of domain to boundary points, and the loss weighting factor. The proposed method involves two phases. In the initial phase, a unique loss function is created using a subset of boundary conditions and partial differential equation terms. Furthermore, we introduce preprocessing procedures that aim to decrease the variance during initialization and choose domain points according to the initial weight state of various neural networks. The second phase resembles Vanilla-PINN training, but a portion of the random weights are substituted with weights from the first phase. This implies that the neural network’s structure is designed to prioritize the boundary conditions, subsequently affecting the overall convergence. The study evaluates the method using three benchmarks: two-dimensional flow over a cylinder, an inverse problem of inlet velocity determination, and the Burger equation. Incorporating weights generated in the first training phase neutralizes imbalance effects. Notably, the proposed approach outperforms Vanilla-PINN in terms of speed, convergence likelihood and eliminates the need for hyperparameter tuning to balance the loss function.https://doi.org/10.1038/s41598-024-74711-yPhysics-informed neural networksScientific machine learningLoss weighting
spellingShingle Mahyar Jahani-nasab
Mohamad Ali Bijarchi
Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge
Scientific Reports
Physics-informed neural networks
Scientific machine learning
Loss weighting
title Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge
title_full Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge
title_fullStr Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge
title_full_unstemmed Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge
title_short Enhancing convergence speed with feature enforcing physics-informed neural networks using boundary conditions as prior knowledge
title_sort enhancing convergence speed with feature enforcing physics informed neural networks using boundary conditions as prior knowledge
topic Physics-informed neural networks
Scientific machine learning
Loss weighting
url https://doi.org/10.1038/s41598-024-74711-y
work_keys_str_mv AT mahyarjahaninasab enhancingconvergencespeedwithfeatureenforcingphysicsinformedneuralnetworksusingboundaryconditionsaspriorknowledge
AT mohamadalibijarchi enhancingconvergencespeedwithfeatureenforcingphysicsinformedneuralnetworksusingboundaryconditionsaspriorknowledge