EI、Scopus 收录
中文核心期刊
Pan Xiaoguo, Wang Kai, Deng Weixin. Accelerating convergence algorithm for physics-informed neural networks based on NTK theory and modified causality. Chinese Journal of Theoretical and Applied Mechanics, 2024, 56(7): 1943-1958. DOI: 10.6052/0459-1879-24-087
Citation: Pan Xiaoguo, Wang Kai, Deng Weixin. Accelerating convergence algorithm for physics-informed neural networks based on NTK theory and modified causality. Chinese Journal of Theoretical and Applied Mechanics, 2024, 56(7): 1943-1958. DOI: 10.6052/0459-1879-24-087

ACCELERATING CONVERGENCE ALGORITHM FOR PHYSICS-INFORMED NEURAL NETWORKS BASED ON NTK THEORY AND MODIFIED CAUSALITY

  • Received Date: February 22, 2024
  • Accepted Date: June 12, 2024
  • Available Online: June 13, 2024
  • Published Date: June 13, 2024
  • Physics-informed neural networks (PINNs) are a class of neural networks that embed prior physical knowledge into the neural network, and have emerged as a focal area in the study of solving partial differential equations. Despite showing the significant potential in numerical simulation, PINNs still encounter the challenge of slow convergence. Through the lens of neural tangent kernel (NTK) theory, this paper conducts an analysis on single-hidden-layer neural network models, derives the specific form of the NTK matrix for PINNs, and further analyzes the factors affecting the convergence rate of PINNs, proposing two necessary conditions for high convergence rate. Applying the NTK theory, analysis of three algorithms in the PINNs domain including causality, Fourier feature embedding and learning rate annealing indicates that none of them satisfies all the necessary conditions for high convergence rate. This paper proposes dynamic Fourier feature embedding causality (DFFEC) method which takes both the impact of NTK matrix eigenvalue balance and chronological convergence on the convergence speed into account. The numerical experiments on four benchmark problems including Allen-Cahn, Reaction, Burgers and Advection, illustrate that the proposed DFFEC method can remarkably improve the convergence rate of PINNs. Especially, in the Allen-Cahn case, the proposed DFFEC method achieves an acceleration effect of at least 50 times compared to the causality algorithm.
  • [1]
    Karniadakis GE, Kevrekidis IG, Lu L, et al. Physics-informed machine learning. Nature Reviews Physics, 2021, 3(6): 422-440 doi: 10.1038/s42254-021-00314-5
    [2]
    Jeon J, Lee J, Kim SJ. Finite volume method network for the acceleration of unsteady computational fluid dynamics: Non-reacting and reacting flows. International Journal of Energy Research, 2022, 46(8): 10770-10795 doi: 10.1002/er.7879
    [3]
    查文舒, 李道伦, 沈路航等. 基于神经网络的偏微分方程求解方法研究综述. 力学学报, 2022, 54(3): 543-556 (Zha Wenshu, Li Daolun, Shen Luhang, et al. Review of neural network-based methods for solving partial differential equations. Chinese Journal of Theoretical and Applied Mechanics, 2022, 54(3): 543-556 (in Chinese) doi: 10.6052/0459-1879-21-617

    Zha Wenshu, Li Daolun, Shen Luhang, et al. Review of neural network-based methods for solving partial differential equations. Chinese Journal of Theoretical and Applied Mechanics, 2022, 54(3): 543-556 (in Chinese) doi: 10.6052/0459-1879-21-617
    [4]
    Reichstein M, Camps-Valls G, Stevens B, et al. Deep learning and process understanding for data-driven earth system science. Nature, 2019, 566(7743): 195-204 doi: 10.1038/s41586-019-0912-1
    [5]
    Raissi M, Perdikaris P, Karniadakis GE. Physics-informed neural networks: A deep learning framework for solving forward and inverse problems involving nonlinear partial differential equations. Journal of Computational Physics, 2019, 378: 686-707 doi: 10.1016/j.jcp.2018.10.045
    [6]
    Lagaris IE, Likas A, Fotiadis DI. Artificial neural networks for solving ordinary and partial differential equations. IEEE Transactions on Neural Networks, 1998, 9(5): 987-1000 doi: 10.1109/72.712178
    [7]
    Raissi M, Yazdani A, Karniadakis GE. Hidden fluid mechanics: Learning velocity and pressure fields from flow visualizations. Science, 2020, 367(6481): 1026-1030 doi: 10.1126/science.aaw4741
    [8]
    王意存, 邢江宽, 罗坤等. 基于物理信息神经网络的燃烧化学微分方程求解. 浙江大学学报(工学版), 2022, 56(10): 2084-2092 (Wang Yicun, Xing Jiangkuan, Luo Kun, et al. Solving combustion chemical differential equations via physics-informed neural network. Journal of Zhejiang University (Engineering Science), 2022, 56(10): 2084-2092 (in Chinese) doi: 10.3785/j.issn.1008-973X.2022.10.020

    Wang Yicun, Xing Jiangkuan, Luo Kun, et al. Solving combustion chemical differential equations via physics-informed neural network. Journal of Zhejiang University (Engineering Science), 2022, 56(10): 2084-2092 (in Chinese) doi: 10.3785/j.issn.1008-973X.2022.10.020
    [9]
    Li D, Deng K, Zhang D, et al. LPT-QPN: A lightweight physics-informed transformer for quantitative precipitation nowcasting. IEEE Transactions on Geoscience and Remote Sensing, 2023, 61: 1-19 doi: 10.1109/TGRS.2023.3328945
    [10]
    Rissas G, Yang Y, Hwuang E, et al. Machine learning in cardiovascular flows modeling: Predicting arterial blood pressure from non-invasive 4D flow MRI data using physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 2020, 358: 112623 doi: 10.1016/j.cma.2019.112623
    [11]
    Hasanuzzaman G, Eivazi H, Merbold S, et al. Enhancement of PIV measurements via physics-informed neural networks. Measurement Science and Technology, 2023, 34(4): 044002 doi: 10.1088/1361-6501/aca9eb
    [12]
    Fang Z, Zhan J. Deep physical informed neural networks for metamaterial design. IEEE Access, 2019, 8: 24506-24513 doi: 10.1109/ACCESS.2019.2963375
    [13]
    Cao W, Song J, Zhang W. A complete state-space solution model for inviscid flow around airfoils based on physics-informed neural networks. arXiv Preprint. arXiv, 2024, 2401.07203
    [14]
    Jagtap AD, Kharazmi E, Karniadakis GE. Conservative physics-informed neural networks on discrete domains for conservation laws: Applications to forward and inverse problems. Computer Methods in Applied Mechanics and Engineering, 2020, 365: 113028 doi: 10.1016/j.cma.2020.113028
    [15]
    Krishnapriyan A, Gholami A, Zhe S, et al. Characterizing possible failure modes in physics-informed neural networks. Advances in Neural Information Processing Systems, 2021, 34: 26548-26560
    [16]
    李野, 陈松灿. 基于物理信息的神经网络: 最新进展与展望. 计算机科学, 2022, 49(4): 254-262 (Li Ye, Chen Songcan. Physics-informed neural networks: Recent advances and prospects. Computer Science, 2022, 49(4): 254-262 (in Chinese)

    Li Ye, Chen Songcan. Physics-informed neural networks: Recent advances and prospects. Computer Science, 2022, 49(4): 254-262 (in Chinese)
    [17]
    Mishra S, Molinaro R. Estimates on the generalization error of physics-informed neural networks for approximating a class of inverse problems for PDEs. IMA Journal of Numerical Analysis, 2022, 42(2): 981-1022 doi: 10.1093/imanum/drab032
    [18]
    Wang S, Teng Y, Perdikaris P. Understanding and mitigating gradient flow pathologies in physics-informed neural networks. SIAM Journal on Scientific Computing, 2021, 43(5): A3055-A3081 doi: 10.1137/20M1318043
    [19]
    Deshpande M, Agarwal S, Bhattacharya AK. Investigations on convergence behaviour of physics informed neural networks across spectral ranges and derivative orders//2022 IEEE Symposium Series on Computational Intelligence (SSCI). IEEE, 2022: 1172-1179. DOI: 10.1109/SSCI51031.2022.10022020
    [20]
    Jin X, Cai S, Li H, et al. NSFnets (Navier-Stokes flow nets): Physics-informed neural networks for the incompressible Navier-Stokes equations. Journal of Computational Physics, 2021, 426: 109951 doi: 10.1016/j.jcp.2020.109951
    [21]
    Haghighat E, Amini D, Juanes R. Physics-informed neural network simulation of multiphase poroelasticity using stress-split sequential training. Computer Methods in Applied Mechanics and Engineering, 2022, 397: 115141 doi: 10.1016/j.cma.2022.115141
    [22]
    Song J, Cao W, Liao F, et al. VW-PINNs: A volume weighting method for PDE residuals in physics-informed neural networks. arXiv Preprint, arXiv, 2024, 2401.06196
    [23]
    Cao W, Song J, Zhang W. A solver for subsonic flow around airfoils based on physics-informed neural networks and mesh transformation. Physics of Fluids, 2024, 36(2): 0188665
    [24]
    Jagtap AD, Kawaguchi K, Karniadakis GE. Adaptive activation functions accelerate convergence in deep and physics-informed neural networks. Journal of Computational Physics, 2020, 404: 109136 doi: 10.1016/j.jcp.2019.109136
    [25]
    Jagtap AD, Shin Y, Kawaguchi K, et al. Deep kronecker neural networks: A general framework for neural networks with adaptive activation functions. Neurocomputing, 2022, 468: 165-180 doi: 10.1016/j.neucom.2021.10.036
    [26]
    韦昌, 樊昱晨, 周永清等. 基于龙格库塔法的多输出物理信息神经网络模型. 力学学报, 2023, 55(10): 2405-2416 (Wei Chang, Fan Yuchen, ZhouYongqing, et al. Multi-output physics-informed neural networks model based on the Runge-Kutta method. Chinese Journal of Theoretical and Applied Mechanics, 2023, 55(10): 2405-2416 (in Chinese) doi: 10.6052/0459-1879-23-299

    Wei Chang, Fan Yuchen, ZhouYongqing, et al. Multi-output physics-informed neural networks model based on the Runge-Kutta method. Chinese Journal of Theoretical and Applied Mechanics, 2023, 55(10): 2405-2416 (in Chinese) doi: 10.6052/0459-1879-23-299
    [27]
    宋家豪, 曹文博, 张伟伟. FD-PINN: 频域物理信息神经网络. 力学学报, 2023, 55(5): 1195-1205 (Song Jiahao, Cao Wenbo, Zhang Weiwei. FD-PINN: Frequency domain physics-informed neural networks. Chinese Journal of Theoretical and Applied Mechanics, 2023, 55(5): 1195-1205 (in Chinese) doi: 10.6052/0459-1879-23-169

    Song Jiahao, Cao Wenbo, Zhang Weiwei. FD-PINN: Frequency domain physics-informed neural networks. Chinese Journal of Theoretical and Applied Mechanics, 2023, 55(5): 1195-1205 (in Chinese) doi: 10.6052/0459-1879-23-169
    [28]
    Nabian MA, Gladstone RJ, Meidani H. Efficient training of physics-informed neural networks via importance sampling. Computer-Aided Civil and Infrastructure Engineering, 2021, 36(8): 962-977 doi: 10.1111/mice.12685
    [29]
    Wang S, Sankaran S, Perdikaris P. Respecting causality for training physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 2024, 421: 116813 doi: 10.1016/j.cma.2024.116813
    [30]
    Tancik M, Srinivasan P, Mildenhall B, et al. Fourier features let networks learn high frequency functions in low dimensional domains. Advances in Neural Information Processing Systems, 2020, 33: 7537-7547
    [31]
    Rahaman N, Baratin A, Arpit D, et al. On the spectral bias of neural networks//International Conference on Machine Learning. PMLR, 2019: 5301-5310
    [32]
    Chen GY, Gan M, Chen CL P, et al. Frequency principle in broad learning system. IEEE Transactions on Neural Networks and Learning Systems, 2021, 33(11): 6983-6989 doi: 10.1109/TNNLS.2021.3081568
    [33]
    Wang S, Wang H, Perdikaris P. On the eigenvector bias of Fourier feature networks: From regression to solving multi-scale PDEs with physics-informed neural networks. Computer Methods in Applied Mechanics and Engineering, 2021, 384: 113938
    [34]
    Monaco S, Apiletti D. Training physics-informed neural networks: One learning to rule them all? Results in Engineering, 2023, 18: 101023 doi: 10.1016/j.rineng.2023.101023
    [35]
    Chen X, Chen R, Wan Q, et al. An improved data-free surrogate model for solving partial differential equations using deep neural networks. Scientific Reports, 2021, 11(1): 19507 doi: 10.1038/s41598-021-99037-x
  • Related Articles

    [1]Ji Xiang, Wang Wei, Li Zhijian, Wu Xiangyang, Wang Xiaofang. OPTIMIZATION OF UNSTEADY CAVITATION PERFORMANCE OF AIRFOIL BASED ON MACHINE LEARNING[J]. Chinese Journal of Theoretical and Applied Mechanics, 2025, 57(5): 1054-1065. DOI: 10.6052/0459-1879-24-401
    [2]Hua Zhang, Zhiyong Lu, Shengdong Sun. The experimental study on unsteady horseshoe vortex structure in juncture flow with PIV[J]. Chinese Journal of Theoretical and Applied Mechanics, 2008, 40(2): 171-178. DOI: 10.6052/0459-1879-2008-2-2007-246
    [3]Laiping Zhang, Xinghua Chang, Xupeng Duan, Zhenya Wang, Hanxin Zhang. Implicit algorithm based on dynamic hybrid mesh for incompressible unsteady flows[J]. Chinese Journal of Theoretical and Applied Mechanics, 2007, 23(5): 577-586. DOI: 10.6052/0459-1879-2007-5-2006-397
    [4]Unsteady flow mechanisms revisited in insect flapping flight[J]. Chinese Journal of Theoretical and Applied Mechanics, 2005, 37(3): 257-265. DOI: 10.6052/0459-1879-2005-3-2004-137
    [5]WEAKN ON-LINEAR INTERACTION BETWEEN SOUND&VORIEX IN SHEAR FLOW AND MECHANISM OF FLOW CONTROL BY SOUND[J]. Chinese Journal of Theoretical and Applied Mechanics, 1995, 27(S): 1-7. DOI: 10.6052/0459-1879-1995-S-1995-496
    [6]THEORETICAL SOLUTION ON HEAT TRANSFER IN OSCILLATORY PIPE FLOW[J]. Chinese Journal of Theoretical and Applied Mechanics, 1992, 24(5): 614-619. DOI: 10.6052/0459-1879-1992-5-1995-781
    [7]THREE EXACT SOLUTIONS OF INCOMPRESSIBLE POTENTIAL FLOW INDUCED BY TWO CIRCLES[J]. Chinese Journal of Theoretical and Applied Mechanics, 1991, 23(5): 549-555. DOI: 10.6052/0459-1879-1991-5-1995-875
    [8]A STUDY ON NON-STEADY FLOW OF UPPER-CONVECTED MAXWELL FLUID IN TUBE[J]. Chinese Journal of Theoretical and Applied Mechanics, 1990, 22(5): 519-525. DOI: 10.6052/0459-1879-1990-5-1995-980

Catalog

    Article Metrics

    Article views (162) PDF downloads (67) Cited by()
    Related

    /

    DownLoad:  Full-Size Img  PowerPoint
    Return
    Return