Physics-informed neural networks with adaptive loss weighting algorithm for solving partial differential equations

IF 2.9 2区 数学 Q1 MATHEMATICS, APPLIED
Bo Gao, Ruoxia Yao, Yan Li
{"title":"Physics-informed neural networks with adaptive loss weighting algorithm for solving partial differential equations","authors":"Bo Gao, Ruoxia Yao, Yan Li","doi":"10.1016/j.camwa.2025.01.007","DOIUrl":null,"url":null,"abstract":"In recent years, physics-informed neural networks (PINNs) have garnered widespread attentions for the ability of solving nonlinear partial differential equations (PDE) using neural networks. The paper regards PINNs as multitask learning and proposes an adaptive loss weighting algorithm in physics-informed neural networks (APINNs). APINNs could balance the magnitudes of different loss functions during the training process to ensure a balanced contribution of parameters with different magnitudes to loss functions, thereby training solutions that satisfy initial boundary conditions and physical equations. Based on the original PINNs and APINNs, we respectively simulated the solitary wave solution of the Benjamin-Ono equation, the breather wave solution of the Sine-Gordon equation and the breather wave solution of the Mukherjee-Kundu equation. In the experiment of solving the solitary wave solution of the Benjamin-Ono equation, the minimum predict error of PINNs is about 60%, while the minimum predict error of APINNs is about 1%. As for solving breather wave solution, for the Sine-Gordon equation the minimum predict error of PINNs is around 10%, while the minimum predict error of APINNs is around 2%; and for the Mukherjee-Kundu equation, the minimum predict error of PINNs is about 30%, while the minimum predict error of APINNs is about 10%. The experimental results show that compared with PINNs, the predict solutions trained by APINNs have smaller errors.","PeriodicalId":55218,"journal":{"name":"Computers & Mathematics with Applications","volume":"26 1","pages":""},"PeriodicalIF":2.9000,"publicationDate":"2025-01-10","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Computers & Mathematics with Applications","FirstCategoryId":"100","ListUrlMain":"https://doi.org/10.1016/j.camwa.2025.01.007","RegionNum":2,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"MATHEMATICS, APPLIED","Score":null,"Total":0}
引用次数: 0

Abstract

In recent years, physics-informed neural networks (PINNs) have garnered widespread attentions for the ability of solving nonlinear partial differential equations (PDE) using neural networks. The paper regards PINNs as multitask learning and proposes an adaptive loss weighting algorithm in physics-informed neural networks (APINNs). APINNs could balance the magnitudes of different loss functions during the training process to ensure a balanced contribution of parameters with different magnitudes to loss functions, thereby training solutions that satisfy initial boundary conditions and physical equations. Based on the original PINNs and APINNs, we respectively simulated the solitary wave solution of the Benjamin-Ono equation, the breather wave solution of the Sine-Gordon equation and the breather wave solution of the Mukherjee-Kundu equation. In the experiment of solving the solitary wave solution of the Benjamin-Ono equation, the minimum predict error of PINNs is about 60%, while the minimum predict error of APINNs is about 1%. As for solving breather wave solution, for the Sine-Gordon equation the minimum predict error of PINNs is around 10%, while the minimum predict error of APINNs is around 2%; and for the Mukherjee-Kundu equation, the minimum predict error of PINNs is about 30%, while the minimum predict error of APINNs is about 10%. The experimental results show that compared with PINNs, the predict solutions trained by APINNs have smaller errors.
具有自适应损失加权算法的物理信息神经网络求解偏微分方程
近年来,物理信息神经网络(pinn)因其求解非线性偏微分方程(PDE)的能力而受到广泛关注。将物理信息神经网络视为多任务学习,提出了一种物理信息神经网络(APINNs)的自适应损失加权算法。在训练过程中,apinn可以平衡不同损失函数的大小,保证不同大小的参数对损失函数的贡献均衡,从而训练出满足初始边界条件和物理方程的解。在原始pinn和apinn的基础上,分别模拟了Benjamin-Ono方程的孤立波解、sin - gordon方程的呼吸波解和Mukherjee-Kundu方程的呼吸波解。在求解Benjamin-Ono方程孤波解的实验中,pinn的最小预测误差约为60%,而apinn的最小预测误差约为1%。对于呼吸波解的求解,对于sin - gordon方程,PINNs的最小预测误差在10%左右,而APINNs的最小预测误差在2%左右;对于Mukherjee-Kundu方程,PINNs的最小预测误差约为30%,而APINNs的最小预测误差约为10%。实验结果表明,与pinn相比,用apinn训练的预测解误差更小。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
Computers & Mathematics with Applications
Computers & Mathematics with Applications 工程技术-计算机:跨学科应用
CiteScore
5.10
自引率
10.30%
发文量
396
审稿时长
9.9 weeks
期刊介绍: Computers & Mathematics with Applications provides a medium of exchange for those engaged in fields contributing to building successful simulations for science and engineering using Partial Differential Equations (PDEs).
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信