Optimizing Variational Physics-Informed Neural Networks Using Least Squares

被引:0
|
作者
Uriarte, Carlos [1 ]
Bastidas, Manuela [2 ]
Pardo, David [1 ,3 ,4 ]
Taylor, Jamie M. [5 ]
Rojas, Sergio [6 ]
机构
[1] Univ Pais Vasco Euskal Herriko Unibertsitatea UPV, Leioa, Spain
[2] Univ Nacl Colombia, Medellin, Colombia
[3] Basque Ctr Appl Math BCAM, Bilbao, Spain
[4] Basque Fdn Sci Ikerbasque, Bilbao, Spain
[5] CUNEF Univ, Madrid, Spain
[6] Monash Univ, Melbourne, Australia
关键词
Neural networks; Variational problems; Gradient-descent optimization; Least squares;
D O I
10.1016/j.camwa.2025.02.022
中图分类号
O29 [应用数学];
学科分类号
070104 ;
摘要
Variational Physics-Informed Neural Networks often suffer from poor convergence when using stochastic gradient-descent-based optimizers. By introducing a least squares solver for the weights of the last layer of the neural network, we improve the convergence of the loss during training in most practical scenarios. This work analyzes the computational cost of the resulting hybrid leastsquares/gradient-descent optimizer and explains how to implement it efficiently. In particular, we show that a traditional implementation based on backward-mode automatic differentiation leads to a prohibitively expensive algorithm. To remedy this, we propose using either forward- mode automatic differentiation or an ultraweak-type scheme that avoids the differentiation of trial functions in the discrete weak formulation. The proposed alternatives are up to one hundred times faster than the traditional one, recovering a computational cost-per-iteration similar to that of a conventional gradient-descent-based optimizer alone. To support our analysis, we derive computational estimates and conduct numerical experiments in one- and two-dimensional problems.
引用
收藏
页码:76 / 93
页数:18
相关论文
共 50 条
  • [21] SOBOLEV TRAINING FOR PHYSICS-INFORMED NEURAL NETWORKS
    Son, Hwijae
    Jang, Jin woo
    Han, Woo jin
    Hwang, Hyung ju
    COMMUNICATIONS IN MATHEMATICAL SCIENCES, 2023, 21 (06) : 1679 - 1705
  • [22] Enhanced physics-informed neural networks for hyperelasticity
    Abueidda, Diab W.
    Koric, Seid
    Guleryuz, Erman
    Sobh, Nahil A.
    INTERNATIONAL JOURNAL FOR NUMERICAL METHODS IN ENGINEERING, 2023, 124 (07) : 1585 - 1601
  • [23] Physics-informed neural networks for diffraction tomography
    Saba, Amirhossein
    Gigli, Carlo
    Ayoub, Ahmed B.
    Psaltis, Demetri
    ADVANCED PHOTONICS, 2022, 4 (06):
  • [24] Physics-informed neural networks for consolidation of soils
    Zhang, Sheng
    Lan, Peng
    Li, Hai-Chao
    Tong, Chen-Xi
    Sheng, Daichao
    ENGINEERING COMPUTATIONS, 2022, 39 (07) : 2845 - 2865
  • [25] Physics-Informed Neural Networks for Quantum Control
    Norambuena, Ariel
    Mattheakis, Marios
    Gonzalez, Francisco J.
    Coto, Raul
    PHYSICAL REVIEW LETTERS, 2024, 132 (01)
  • [26] Physics-informed neural networks for periodic flows
    Shah, Smruti
    Anand, N. K.
    PHYSICS OF FLUIDS, 2024, 36 (07)
  • [27] On physics-informed neural networks for quantum computers
    Markidis, Stefano
    FRONTIERS IN APPLIED MATHEMATICS AND STATISTICS, 2022, 8
  • [28] Physics-Informed Neural Networks for shell structures
    Bastek, Jan-Hendrik
    Kochmann, Dennis M.
    EUROPEAN JOURNAL OF MECHANICS A-SOLIDS, 2023, 97
  • [29] fPINNs: FRACTIONAL PHYSICS-INFORMED NEURAL NETWORKS
    Pang, Guofei
    Lu, Lu
    Karniadakis, George E. M.
    SIAM JOURNAL ON SCIENTIFIC COMPUTING, 2019, 41 (04): : A2603 - A2626
  • [30] Physics-informed neural networks for diffraction tomography
    Amirhossein Saba
    Carlo Gigli
    Ahmed B.Ayoub
    Demetri Psaltis
    Advanced Photonics, 2022, 4 (06) : 48 - 59