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 条
  • [1] Enforcing Dirichlet boundary conditions in physics-informed neural networks and variational physics-informed neural networks
    Berrone, S.
    Canuto, C.
    Pintore, M.
    Sukumar, N.
    HELIYON, 2023, 9 (08)
  • [2] Robust Variational Physics-Informed Neural Networks
    Rojas, Sergio
    Maczuga, Pawel
    Munoz-Matute, Judit
    Pardo, David
    Paszynski, Maciej
    COMPUTER METHODS IN APPLIED MECHANICS AND ENGINEERING, 2024, 425
  • [3] Robust Variational Physics-Informed Neural Networks
    Rojas, Sergio
    Maczuga, Pawel
    Muñoz-Matute, Judit
    Pardo, David
    Paszyński, Maciej
    Computer Methods in Applied Mechanics and Engineering, 2024, 425
  • [4] Sensitivity analysis using Physics-informed neural networks
    Hanna, John M.
    Aguado, Jose, V
    Comas-Cardona, Sebastien
    Askri, Ramzi
    Borzacchiello, Domenico
    ENGINEERING APPLICATIONS OF ARTIFICIAL INTELLIGENCE, 2024, 135
  • [5] Discontinuity Computing Using Physics-Informed Neural Networks
    Liu, Li
    Liu, Shengping
    Xie, Hui
    Xiong, Fansheng
    Yu, Tengchao
    Xiao, Mengjuan
    Liu, Lufeng
    Yong, Heng
    JOURNAL OF SCIENTIFIC COMPUTING, 2024, 98 (01)
  • [6] Predicting Voltammetry Using Physics-Informed Neural Networks
    Chen, Haotian
    Katelhon, Enno
    Compton, Richard G.
    JOURNAL OF PHYSICAL CHEMISTRY LETTERS, 2022, 13 (02): : 536 - 543
  • [7] Discontinuity Computing Using Physics-Informed Neural Networks
    Li Liu
    Shengping Liu
    Hui Xie
    Fansheng Xiong
    Tengchao Yu
    Mengjuan Xiao
    Lufeng Liu
    Heng Yong
    Journal of Scientific Computing, 2024, 98
  • [8] Separable Physics-Informed Neural Networks
    Cho, Junwoo
    Nam, Seungtae
    Yang, Hyunmo
    Yun, Seok-Bae
    Hong, Youngjoon
    Park, Eunbyung
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 36 (NEURIPS 2023), 2023,
  • [9] Quantum Physics-Informed Neural Networks
    Trahan, Corey
    Loveland, Mark
    Dent, Samuel
    ENTROPY, 2024, 26 (08)
  • [10] Solving PDEs by variational physics-informed neural networks: an a posteriori error analysis
    Berrone S.
    Canuto C.
    Pintore M.
    ANNALI DELL'UNIVERSITA' DI FERRARA, 2022, 68 (2) : 575 - 595