arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.09804cs.CEcs.LGcs.NAmath.NA
收藏

BO-SA-PINNs:基于贝叶斯优化的自适应物理信息神经网络,用于自动设计偏微分方程求解器

BO-SA-PINNs: Self-adaptive physics-informed neural networks based on Bayesian optimization for automatically designing PDE solvers

School of Mathematical Sciences, University of Electronic Science and Technology of China(电子科技大学数学科学学院)

Rui Zhang, Liang Li, Stéphane Lanteri, Hao Kang, Jiaqi Li

AI总结:

针对PINNs求解PDEs需手动调整超参数的问题,提出多阶段BO-SA-PINNs框架,通过贝叶斯优化自动选超参数、自适应机制优化损失与采样,结合新激活函数,在多类PDE测试中实现更高精度与更少迭代。

摘要:

物理信息神经网络(PINNs)正成为求解偏微分方程(PDEs)的热门替代方法。然而,针对不同PDEs,它们需要对网络超参数、采样方法和损失函数权重进行专门的手动调整,这降低了求解器的效率。本文提出一种通用的多阶段框架,即BO-SA-PINNs,以缓解这一问题。第一阶段使用贝叶斯优化(BO)选择训练过程的超参数,并基于预训练结果自动确定适合目标PDEs的网络架构、学习率、采样点分布和损失函数权重。基于实验结果设计的超参数搜索空间可提升BO识别最优超参数的效率。选择合适超参数后,第二阶段引入全局自适应(SA)机制:利用预训练模型和损失信息,采用指数移动平均(EMA)方法优化损失函数权重,通过带分布的残差自适应细化(RAR-D)优化采样点分布。第三阶段使用L-BFGS进行稳定训练。此外,本文引入一种新的激活函数,使BO-SA-PINNs能获得更高精度。数值实验中,针对亥姆霍兹方程、麦克斯韦方程、伯格斯方程和高维泊松方程开展对比与消融实验验证模型性能。对比实验结果显示,在测试案例中,该模型能实现更高精度和更少迭代次数;消融实验证明了每一项改进的积极影响。

英文摘要:

Physics-informed neural networks (PINNs) is becoming a popular alternative method for solving partial differential equations (PDEs). However, they require dedicated manual modifications to the hyperparameters of the network, the sampling methods and loss function weights for different PDEs, which reduces the efficiency of the solvers. In this paper, we pro- pose a general multi-stage framework, i.e. BO-SA-PINNs to alleviate this issue. In the first stage, Bayesian optimization (BO) is used to select hyperparameters for the training process, and based on the results of the pre-training, the network architecture, learning rate, sampling points distribution and loss function weights suitable for the PDEs are automatically determined. The proposed hyperparameters search space based on experimental results can enhance the efficiency of BO in identifying optimal hyperparameters. After selecting the appropriate hyperparameters, we incorporate a global self-adaptive (SA) mechanism the second stage. Using the pre-trained model and loss information in the second-stage training, the exponential moving average (EMA) method is employed to optimize the loss function weights, and residual-based adaptive refinement with distribution (RAR-D) is used to optimize the sampling points distribution. In the third stage, L-BFGS is used for stable training. In addition, we introduce a new activation function that enables BO-SA-PINNs to achieve higher accuracy. In numerical experiments, we conduct comparative and ablation experiments to verify the performance of the model on Helmholtz, Maxwell, Burgers and high-dimensional Poisson equations. The comparative experiment results show that our model can achieve higher accuracy and fewer iterations in test cases, and the ablation experiments demonstrate the positive impact of every improvement.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑