A Comparison Study of Deep Galerkin Method and Deep Ritz Method for Elliptic Problems with Different Boundary Conditions

A Comparison Study of Deep Galerkin Method and Deep Ritz Method for Elliptic Problems with Different Boundary Conditions

Year:    2020

Author:    Jingrun Chen, Rui Du, Keke Wu

Communications in Mathematical Research , Vol. 36 (2020), Iss. 3 : pp. 354–376

Abstract

Recent years have witnessed growing interests in solving partial differential equations by deep neural networks, especially in the high-dimensional case. Unlike classical numerical methods, such as finite difference method and finite element method, the enforcement of boundary conditions in deep neural networks is highly nontrivial. One general strategy is to use the penalty method. In the work, we conduct a comparison study for elliptic problems with four different boundary conditions, i.e., Dirichlet, Neumann, Robin, and periodic boundary conditions, using two representative methods: deep Galerkin method and deep Ritz method. In the former, the PDE residual is minimized in the least-squares sense while the corresponding variational problem is minimized in the latter. Therefore, it is reasonably expected that deep Galerkin method works better for smooth solutions while deep Ritz method works better for low-regularity solutions. However, by a number of examples, we observe that deep Ritz method can outperform deep Galerkin method with a clear dependence of dimensionality even for smooth solutions and deep Galerkin method can also outperform deep Ritz method for low-regularity solutions. Besides, in some cases, when the boundary condition can be implemented in an exact manner, we find that such a strategy not only provides a better approximate solution but also facilitates the training process.

You do not have full access to this article.

Already a Subscriber? Sign in as an individual or via your institution

Journal Article Details

Publisher Name:    Global Science Press

Language:    English

DOI:    https://doi.org/10.4208/cmr.2020-0051

Communications in Mathematical Research , Vol. 36 (2020), Iss. 3 : pp. 354–376

Published online:    2020-01

AMS Subject Headings:    Global Science Press

Copyright:    COPYRIGHT: © Global Science Press

Pages:    23

Keywords:    Partial differential equations boundary conditions deep Galerkin method deep Ritz method penalty method.

Author Details

Jingrun Chen

Rui Du

Keke Wu

  1. A Comparative Study of Extreme Learning Machine and a Class of Deep Learning Methods

    徐, 翊铭

    Advances in Applied Mathematics, Vol. 11 (2022), Iss. 12 P.8740

    https://doi.org/10.12677/AAM.2022.1112921 [Citations: 0]
  2. Neural Approximation of the solution for Evolutionary Partial Differential Equation

    Vergunova, Iryna | Vergunov, Viktor

    2022 International Conference on Electrical, Computer and Energy Technologies (ICECET), (2022), P.1

    https://doi.org/10.1109/ICECET55527.2022.9873074 [Citations: 0]
  3. GW-PINN: A deep learning algorithm for solving groundwater flow equations

    Zhang, Xiaoping | Zhu, Yan | Wang, Jing | Ju, Lili | Qian, Yingzhi | Ye, Ming | Yang, Jinzhong

    Advances in Water Resources, Vol. 165 (2022), Iss. P.104243

    https://doi.org/10.1016/j.advwatres.2022.104243 [Citations: 24]
  4. Solving the Coefficient Inverse Problem by the Deep Galerkin Method

    Vergunova, Iryna | Vergunov, Viktor | Rosemann, Iuliia

    2021 11th International Conference on Advanced Computer Information Technologies (ACIT), (2021), P.65

    https://doi.org/10.1109/ACIT52158.2021.9548633 [Citations: 4]
  5. Automatically imposing boundary conditions for boundary value problems by unified physics-informed neural network

    Luong, Khang A. | Le-Duc, Thang | Lee, Jaehong

    Engineering with Computers, Vol. 40 (2024), Iss. 3 P.1717

    https://doi.org/10.1007/s00366-023-01871-2 [Citations: 3]
  6. Adaptive Importance Sampling for Deep Ritz

    Wan, Xiaoliang | Zhou, Tao | Zhou, Yuancheng

    Communications on Applied Mathematics and Computation, Vol. (2024), Iss.

    https://doi.org/10.1007/s42967-024-00422-w [Citations: 0]
  7. Adaptive multi-scale neural network with Resnet blocks for solving partial differential equations

    Chen, Miaomiao | Niu, Ruiping | Zheng, Wen

    Nonlinear Dynamics, Vol. 111 (2023), Iss. 7 P.6499

    https://doi.org/10.1007/s11071-022-08161-4 [Citations: 11]
  8. A Rayleigh-Ritz Autoencoder

    Terbuch, Anika | O'Leary, Paul | Ninevski, Dimitar | Hagendorfer, Elias Jan | Schlager, Elke | Windisch, Andreas | Schweimer, Christoph

    2023 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), (2023), P.1

    https://doi.org/10.1109/I2MTC53148.2023.10176014 [Citations: 2]
  9. Empirical loss weight optimization for PINN modeling laser bio-effects on human skin for the 1D heat equation

    Farmer, Jenny | Oian, Chad A. | Bowman, Brett A. | Khan, Taufiquar

    Machine Learning with Applications, Vol. 16 (2024), Iss. P.100563

    https://doi.org/10.1016/j.mlwa.2024.100563 [Citations: 1]
  10. Finite element interpolated neural networks for solving forward and inverse problems

    Badia, Santiago | Li, Wei | Martín, Alberto F.

    Computer Methods in Applied Mechanics and Engineering, Vol. 418 (2024), Iss. P.116505

    https://doi.org/10.1016/j.cma.2023.116505 [Citations: 4]
  11. Solving multiscale elliptic problems by sparse radial basis function neural networks

    Wang, Zhiwen | Chen, Minxin | Chen, Jingrun

    Journal of Computational Physics, Vol. 492 (2023), Iss. P.112452

    https://doi.org/10.1016/j.jcp.2023.112452 [Citations: 8]
  12. Exact imposition of boundary conditions with distance functions in physics-informed deep neural networks

    Sukumar, N. | Srivastava, Ankit

    Computer Methods in Applied Mechanics and Engineering, Vol. 389 (2022), Iss. P.114333

    https://doi.org/10.1016/j.cma.2021.114333 [Citations: 116]
  13. Improving Weak PINNs for Hyperbolic Conservation Laws: Dual Norm Computation, Boundary Conditions and Systems

    Chaumet, Aidan | Giesselmann, Jan

    The SMAI Journal of computational mathematics, Vol. 10 (2024), Iss. P.373

    https://doi.org/10.5802/smai-jcm.116 [Citations: 0]
  14. Phase field smoothing-PINN: A neural network solver for partial differential equations with discontinuous coefficients

    He, Rui | Chen, Yanfu | Yang, Zihao | Huang, Jizu | Guan, Xiaofei

    Computers & Mathematics with Applications, Vol. 171 (2024), Iss. P.188

    https://doi.org/10.1016/j.camwa.2024.07.024 [Citations: 0]
  15. Navigating PINNs via maximum residual-based continuous distribution

    Wang, Yanjie | Liu, Feng | Wu, Faguo | Zhang, Xiao

    Communications in Nonlinear Science and Numerical Simulation, Vol. (2024), Iss. P.108460

    https://doi.org/10.1016/j.cnsns.2024.108460 [Citations: 0]
  16. MIM: A deep mixed residual method for solving high-order partial differential equations

    Lyu, Liyao | Zhang, Zhen | Chen, Minxin | Chen, Jingrun

    Journal of Computational Physics, Vol. 452 (2022), Iss. P.110930

    https://doi.org/10.1016/j.jcp.2021.110930 [Citations: 39]
  17. Adaptive Deep Density Approximation for Fractional Fokker–Planck Equations

    Zeng, Li | Wan, Xiaoliang | Zhou, Tao

    Journal of Scientific Computing, Vol. 97 (2023), Iss. 3

    https://doi.org/10.1007/s10915-023-02379-z [Citations: 1]
  18. Adaptive multilayer neural network for solving elliptic partial differential equations with different boundary conditions

    Wang, Zheng | Houssou Hounye, Alphonse | Wang, Jiaoju | Cao, Cong | Hou, Muzhou

    Digital Signal Processing, Vol. 118 (2021), Iss. P.103223

    https://doi.org/10.1016/j.dsp.2021.103223 [Citations: 0]
  19. Artificial Intelligence and Industrial Applications

    Train a Deep Neural Network by Minimizing an Energy Function to Solve Partial Differential Equations: A Review

    Barbara, Idriss | Masrour, Tawfik | Hadda, Mohammed

    2023

    https://doi.org/10.1007/978-3-031-43520-1_23 [Citations: 0]
  20. Domain Decomposition Learning Methods for Solving Elliptic Problems

    Sun, Qi | Xu, Xuejun | Yi, Haotian

    SIAM Journal on Scientific Computing, Vol. 46 (2024), Iss. 4 P.A2445

    https://doi.org/10.1137/22M1515392 [Citations: 0]
  21. Deep learning algorithms for solving differential equations: a survey

    Kumar, Harender | Yadav, Neha

    Journal of Experimental & Theoretical Artificial Intelligence, Vol. (2023), Iss. P.1

    https://doi.org/10.1080/0952813X.2023.2242356 [Citations: 0]
  22. A New Certified Hierarchical and Adaptive RB-ML-ROM Surrogate Model for Parametrized PDEs

    Haasdonk, Bernard | Kleikamp, Hendrik | Ohlberger, Mario | Schindler, Felix | Wenzel, Tizian

    SIAM Journal on Scientific Computing, Vol. 45 (2023), Iss. 3 P.A1039

    https://doi.org/10.1137/22M1493318 [Citations: 10]
  23. Solving PDEs on spheres with physics-informed convolutional neural networks

    Lei, Guanhang | Lei, Zhen | Shi, Lei | Zeng, Chenyu | Zhou, Ding-Xuan

    Applied and Computational Harmonic Analysis, Vol. 74 (2025), Iss. P.101714

    https://doi.org/10.1016/j.acha.2024.101714 [Citations: 0]
  24. A mutually embedded perception model for solar corona

    Zhao, Jingmin | Feng, Xueshang | Xiang, Changqing | Jiang, Chaowei

    Monthly Notices of the Royal Astronomical Society, Vol. 523 (2023), Iss. 1 P.1577

    https://doi.org/10.1093/mnras/stad1516 [Citations: 4]
  25. Numerical solution for high-dimensional partial differential equations based on deep learning with residual learning and data-driven learning

    Wang, Zheng | Weng, Futian | Liu, Jialin | Cao, Kai | Hou, Muzhou | Wang, Juan

    International Journal of Machine Learning and Cybernetics, Vol. 12 (2021), Iss. 6 P.1839

    https://doi.org/10.1007/s13042-021-01277-w [Citations: 7]
  26. TDOR-MPINNs: Multi-output physics-informed neural networks based on time differential order reduction for solving coupled Klein–Gordon–Zakharov systems

    He, Jiahuan | Liu, Yang | Li, Hong

    Results in Applied Mathematics, Vol. 22 (2024), Iss. P.100462

    https://doi.org/10.1016/j.rinam.2024.100462 [Citations: 1]
  27. Deep learning approximations for non-local nonlinear PDEs with Neumann boundary conditions

    Boussange, Victor | Becker, Sebastian | Jentzen, Arnulf | Kuckuck, Benno | Pellissier, Loïc

    Partial Differential Equations and Applications, Vol. 4 (2023), Iss. 6

    https://doi.org/10.1007/s42985-023-00244-0 [Citations: 2]
  28. Deep Learning for Efficient and Optimal Motion Planning for AUVs with Disturbances

    Parras, Juan | Apellániz, Patricia A. | Zazo, Santiago

    Sensors, Vol. 21 (2021), Iss. 15 P.5011

    https://doi.org/10.3390/s21155011 [Citations: 3]