Physics-informed neural networks with residual/gradient-based adaptive sampling methods for solving partial differential equations with sharp solutions

IF 4.5 2区 工程技术 Q1 MATHEMATICS, APPLIED Applied Mathematics and Mechanics-English Edition Pub Date : 2023-07-03 DOI:10.1007/s10483-023-2994-7
Zhiping Mao, Xuhui Meng
{"title":"Physics-informed neural networks with residual/gradient-based adaptive sampling methods for solving partial differential equations with sharp solutions","authors":"Zhiping Mao,&nbsp;Xuhui Meng","doi":"10.1007/s10483-023-2994-7","DOIUrl":null,"url":null,"abstract":"<div><p>We consider solving the forward and inverse partial differential equations (PDEs) which have sharp solutions with physics-informed neural networks (PINNs) in this work. In particular, to better capture the sharpness of the solution, we propose the adaptive sampling methods (ASMs) based on the residual and the gradient of the solution. We first present a residual only-based ASM denoted by ASM I. In this approach, we first train the neural network using a small number of residual points and divide the computational domain into a certain number of sub-domains, then we add new residual points in the sub-domain which has the largest mean absolute value of the residual, and those points which have the largest absolute values of the residual in this sub-domain as new residual points. We further develop a second type of ASM (denoted by ASM II) based on both the residual and the gradient of the solution due to the fact that only the residual may not be able to efficiently capture the sharpness of the solution. The procedure of ASM II is almost the same as that of ASM I, and we add new residual points which have not only large residuals but also large gradients. To demonstrate the effectiveness of the present methods, we use both ASM I and ASM II to solve a number of PDEs, including the Burger equation, the compressible Euler equation, the Poisson equation over an L-shape domain as well as the high-dimensional Poisson equation. It has been shown from the numerical results that the sharp solutions can be well approximated by using either ASM I or ASM II, and both methods deliver much more accurate solutions than the original PINNs with the same number of residual points. Moreover, the ASM II algorithm has better performance in terms of accuracy, efficiency, and stability compared with the ASM I algorithm. This means that the gradient of the solution improves the stability and efficiency of the adaptive sampling procedure as well as the accuracy of the solution. Furthermore, we also employ the similar adaptive sampling technique for the data points of boundary conditions (BCs) if the sharpness of the solution is near the boundary. The result of the L-shape Poisson problem indicates that the present method can significantly improve the efficiency, stability, and accuracy.</p></div>","PeriodicalId":55498,"journal":{"name":"Applied Mathematics and Mechanics-English Edition","volume":"44 7","pages":"1069 - 1084"},"PeriodicalIF":4.5000,"publicationDate":"2023-07-03","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://link.springer.com/content/pdf/10.1007/s10483-023-2994-7.pdf","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Applied Mathematics and Mechanics-English Edition","FirstCategoryId":"5","ListUrlMain":"https://link.springer.com/article/10.1007/s10483-023-2994-7","RegionNum":2,"RegionCategory":"工程技术","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
引用次数: 3

Abstract

We consider solving the forward and inverse partial differential equations (PDEs) which have sharp solutions with physics-informed neural networks (PINNs) in this work. In particular, to better capture the sharpness of the solution, we propose the adaptive sampling methods (ASMs) based on the residual and the gradient of the solution. We first present a residual only-based ASM denoted by ASM I. In this approach, we first train the neural network using a small number of residual points and divide the computational domain into a certain number of sub-domains, then we add new residual points in the sub-domain which has the largest mean absolute value of the residual, and those points which have the largest absolute values of the residual in this sub-domain as new residual points. We further develop a second type of ASM (denoted by ASM II) based on both the residual and the gradient of the solution due to the fact that only the residual may not be able to efficiently capture the sharpness of the solution. The procedure of ASM II is almost the same as that of ASM I, and we add new residual points which have not only large residuals but also large gradients. To demonstrate the effectiveness of the present methods, we use both ASM I and ASM II to solve a number of PDEs, including the Burger equation, the compressible Euler equation, the Poisson equation over an L-shape domain as well as the high-dimensional Poisson equation. It has been shown from the numerical results that the sharp solutions can be well approximated by using either ASM I or ASM II, and both methods deliver much more accurate solutions than the original PINNs with the same number of residual points. Moreover, the ASM II algorithm has better performance in terms of accuracy, efficiency, and stability compared with the ASM I algorithm. This means that the gradient of the solution improves the stability and efficiency of the adaptive sampling procedure as well as the accuracy of the solution. Furthermore, we also employ the similar adaptive sampling technique for the data points of boundary conditions (BCs) if the sharpness of the solution is near the boundary. The result of the L-shape Poisson problem indicates that the present method can significantly improve the efficiency, stability, and accuracy.

查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
利用残差/梯度自适应采样方法求解具有尖锐解的偏微分方程的物理信息神经网络
在这项工作中,我们考虑用物理信息神经网络(pinn)求解具有尖锐解的正、逆偏微分方程(PDEs)。特别是,为了更好地捕捉解的清晰度,我们提出了基于残差和梯度的自适应采样方法(asm)。首先提出了一种仅基于残差的ASM,称为ASM 1。该方法首先使用少量残差点训练神经网络,并将计算域划分为一定数量的子域,然后在子域中添加残差均值绝对值最大的新残差点,并将该子域中残差绝对值最大的点作为新残差点。我们进一步开发了基于解的残差和梯度的第二种ASM(表示为ASM II),因为只有残差可能无法有效地捕获解的锐度。ASM II的处理过程与ASM I基本相同,并增加了新的残差大且梯度大的残差点。为了证明现有方法的有效性,我们使用ASM I和ASM II来求解一些偏微分方程,包括Burger方程、可压缩欧拉方程、l形域上的泊松方程以及高维泊松方程。数值结果表明,使用ASM I或ASM II都可以很好地逼近尖锐解,并且在残差点数相同的情况下,这两种方法都比原始pin更精确。此外,ASM II算法在精度、效率和稳定性方面都优于ASM I算法。这意味着溶液的梯度提高了自适应采样过程的稳定性和效率以及溶液的准确性。此外,如果解的清晰度在边界附近,我们还对边界条件(bc)的数据点采用类似的自适应采样技术。l型泊松问题的结果表明,该方法可以显著提高效率、稳定性和精度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
CiteScore
6.70
自引率
9.10%
发文量
106
审稿时长
2.0 months
期刊介绍: Applied Mathematics and Mechanics is the English version of a journal on applied mathematics and mechanics published in the People''s Republic of China. Our Editorial Committee, headed by Professor Chien Weizang, Ph.D., President of Shanghai University, consists of scientists in the fields of applied mathematics and mechanics from all over China. Founded by Professor Chien Weizang in 1980, Applied Mathematics and Mechanics became a bimonthly in 1981 and then a monthly in 1985. It is a comprehensive journal presenting original research papers on mechanics, mathematical methods and modeling in mechanics as well as applied mathematics relevant to neoteric mechanics.
期刊最新文献
Fracture of films caused by uniaxial tensions: a numerical model Dynamic stability analysis of porous functionally graded beams under hygro-thermal loading using nonlocal strain gradient integral model Variable stiffness tuned particle dampers for vibration control of cantilever boring bars Wrinkling in graded core/shell systems using symplectic formulation Nonlinear analysis on electrical properties in a bended composite piezoelectric semiconductor beam
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1