Causally enhanced initial conditions: A novel soft constraints strategy for physics informed neural networks
Abstract Physics informed neural networks (PINNs) are a deep learning approach designed to solve partial differential equations (PDEs). Accurately learning the initial conditions is crucial when employing PINNs to solve PDEs. However, simply adjusting weights and imposing hard constraints may not always lead to better learning of the initial conditions; sometimes it even makes it difficult for the neural networks to converge. To enhance the accuracy of PINNs in learning the initial conditions, this paper proposes a novel strategy named causally enhanced initial conditions (CEICs). This strategy works by embedding a new loss in the loss function: the loss is constructed by the derivative of the initial condition and the derivative of the neural network at the initial condition. Furthermore, to respect the causality in learning the derivative, a novel causality coefficient is introduced for the training when selecting multiple derivatives. Additionally, because CEICs can provide more accurate pseudo-labels in the first subdomain, they are compatible with the temporal-marching strategy. Experimental results demonstrate that CEICs outperform hard constraints and improve the overall accuracy of pre-training PINNs. For the 1D-Korteweg–de Vries, reaction and convection equations, the CEIC method proposed in this paper reduces the relative error by at least 60% compared to the previous methods.
Authors
- Luhang Shen (ORCID: https://orcid.org/0000-0002-0799-172X)
- Wenshu Zha (ORCID: https://orcid.org/0000-0003-1705-3478)
- Dongsheng Chen (ORCID: https://orcid.org/0000-0002-4486-0462)
- Daolun Li (ORCID: https://orcid.org/0000-0002-9078-7729)
- Enyuan Chen (ORCID: https://orcid.org/0009-0009-1212-424X)
Institutions
- Hefei University of Technology (CN)
Publication Details
- Journal
- Chinese Physics B
- Published
- 2025-01-22
- DOI
- https://doi.org/10.1088/1674-1056/adacd0
- Citations
- 2
- Primary Topic
- Model Reduction and Neural Networks
- Type
- article
- Field-Weighted Citation Impact
- 2.65
Funders
- National Natural Science Foundation of China