Yi Wang, Xingyu Qiu, Qiuyan Pei, Junhui Wang, Peng Zhang, Xin Bai
{"title":"FAMAW-PINN:一种结合自适应损失加权和萤火虫启发的自适应点运动的物理信息神经网络","authors":"Yi Wang, Xingyu Qiu, Qiuyan Pei, Junhui Wang, Peng Zhang, Xin Bai","doi":"10.1016/j.jcp.2025.114363","DOIUrl":null,"url":null,"abstract":"<div><div>The Physics-Informed Neural Network (PINN) uses automatic differentiation to embed the governing partial differential equation (PDE) into the neural network’s loss function as physical constraints, providing a powerful approach for solving forward and inverse PDE problems. During training, physical loss calculation relies on predefined spatiotemporal collocation points. However, when solving equations with steep gradients or singularities, conventional fixed or randomly distributed training points often fail to capture critical solution structures, reducing PINN’s prediction accuracy. Inspired by firefly phototaxis, this paper proposes a bio-inspired dynamic training point movement strategy named firefly adaptive collocation point movement (FAM). Its core mechanism uses the neural network’s residual or gradient as the \"brightness\" signal (analogous to firefly perception) to drive training points toward high-residual or high-gradient regions in the computational domain, thereby capturing key physical features. To further enhance PINN’s performance, we integrate FAM with an adaptive loss weighting technique (AW), forming a new adaptive strategy termed FAMAW. This strategy dynamically balances the migration of training points and the weighting of loss terms. Numerical experiments and comparisons with established methods demonstrate the significant superiority of FAMAW-PINN and its marked improvement in solution accuracy.</div></div>","PeriodicalId":352,"journal":{"name":"Journal of Computational Physics","volume":"542 ","pages":"Article 114363"},"PeriodicalIF":3.8000,"publicationDate":"2025-09-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"FAMAW-PINN: A physics-informed neural network integrating adaptive loss weighting with firefly-inspired adaptive point movement\",\"authors\":\"Yi Wang, Xingyu Qiu, Qiuyan Pei, Junhui Wang, Peng Zhang, Xin Bai\",\"doi\":\"10.1016/j.jcp.2025.114363\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>The Physics-Informed Neural Network (PINN) uses automatic differentiation to embed the governing partial differential equation (PDE) into the neural network’s loss function as physical constraints, providing a powerful approach for solving forward and inverse PDE problems. During training, physical loss calculation relies on predefined spatiotemporal collocation points. However, when solving equations with steep gradients or singularities, conventional fixed or randomly distributed training points often fail to capture critical solution structures, reducing PINN’s prediction accuracy. Inspired by firefly phototaxis, this paper proposes a bio-inspired dynamic training point movement strategy named firefly adaptive collocation point movement (FAM). Its core mechanism uses the neural network’s residual or gradient as the \\\"brightness\\\" signal (analogous to firefly perception) to drive training points toward high-residual or high-gradient regions in the computational domain, thereby capturing key physical features. To further enhance PINN’s performance, we integrate FAM with an adaptive loss weighting technique (AW), forming a new adaptive strategy termed FAMAW. This strategy dynamically balances the migration of training points and the weighting of loss terms. Numerical experiments and comparisons with established methods demonstrate the significant superiority of FAMAW-PINN and its marked improvement in solution accuracy.</div></div>\",\"PeriodicalId\":352,\"journal\":{\"name\":\"Journal of Computational Physics\",\"volume\":\"542 \",\"pages\":\"Article 114363\"},\"PeriodicalIF\":3.8000,\"publicationDate\":\"2025-09-08\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Journal of Computational Physics\",\"FirstCategoryId\":\"101\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S002199912500645X\",\"RegionNum\":2,\"RegionCategory\":\"物理与天体物理\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Journal of Computational Physics","FirstCategoryId":"101","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S002199912500645X","RegionNum":2,"RegionCategory":"物理与天体物理","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"COMPUTER SCIENCE, INTERDISCIPLINARY APPLICATIONS","Score":null,"Total":0}
FAMAW-PINN: A physics-informed neural network integrating adaptive loss weighting with firefly-inspired adaptive point movement
The Physics-Informed Neural Network (PINN) uses automatic differentiation to embed the governing partial differential equation (PDE) into the neural network’s loss function as physical constraints, providing a powerful approach for solving forward and inverse PDE problems. During training, physical loss calculation relies on predefined spatiotemporal collocation points. However, when solving equations with steep gradients or singularities, conventional fixed or randomly distributed training points often fail to capture critical solution structures, reducing PINN’s prediction accuracy. Inspired by firefly phototaxis, this paper proposes a bio-inspired dynamic training point movement strategy named firefly adaptive collocation point movement (FAM). Its core mechanism uses the neural network’s residual or gradient as the "brightness" signal (analogous to firefly perception) to drive training points toward high-residual or high-gradient regions in the computational domain, thereby capturing key physical features. To further enhance PINN’s performance, we integrate FAM with an adaptive loss weighting technique (AW), forming a new adaptive strategy termed FAMAW. This strategy dynamically balances the migration of training points and the weighting of loss terms. Numerical experiments and comparisons with established methods demonstrate the significant superiority of FAMAW-PINN and its marked improvement in solution accuracy.
期刊介绍:
Journal of Computational Physics thoroughly treats the computational aspects of physical problems, presenting techniques for the numerical solution of mathematical equations arising in all areas of physics. The journal seeks to emphasize methods that cross disciplinary boundaries.
The Journal of Computational Physics also publishes short notes of 4 pages or less (including figures, tables, and references but excluding title pages). Letters to the Editor commenting on articles already published in this Journal will also be considered. Neither notes nor letters should have an abstract.