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

通过重要性采样有效训练物理信息神经网络

Efficient training of physics-informed neural networks via importance sampling

University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);NVIDIA(英伟达)

Mohammad Amin Nabian, Rini Jasmine Gladstone, Hadi Meidani

摘要:

物理信息神经网络(PINN)是一类使用自动微分训练的深度神经网络,用于计算由偏微分方程(PDE)控制的系统的响应。PINN的训练是无模拟的,并且不需要从数值PDE求解器获得任何训练数据集。相反,它只需要物理问题描述,包括物理学的支配定律,域几何,初始/边界条件和材料属性。这种训练通常涉及使用随机梯度下降方法的变体来解决非凸优化问题,其中损失函数的梯度近似于一批配置点,在每次迭代中根据均匀分布随机选择。尽管PINN在精确求解各种偏微分方程方面取得了成功,但该方法在计算效率方面仍然需要改进。为此,在本文中,我们研究的性能的重要性采样方法有效的训练PINN。使用数值例子和理论证据,我们表明,在每次训练迭代中,根据与损失函数成比例的分布对配置点进行采样将改善PINNs训练的收敛行为。此外,我们表明,提供一个分段常数近似的损失函数更快的重要性采样可以进一步提高训练效率。这种重要性采样方法简单易行,在现有的PINN码中易于实现,并且没有引入任何新的超参数进行校准。数值算例包括弹性问题、扩散问题和平面应力问题,通过数值算例验证了重要性采样方法相对于主流均匀采样方法的精度和效率。

英文摘要:

Physics-Informed Neural Networks (PINNs) are a class of deep neural networks that are trained, using automatic differentiation, to compute the response of systems governed by partial differential equations (PDEs). The training of PINNs is simulation-free, and does not require any training dataset to be obtained from numerical PDE solvers. Instead, it only requires the physical problem description, including the governing laws of physics, domain geometry, initial/boundary conditions, and the material properties. This training usually involves solving a non-convex optimization problem using variants of the stochastic gradient descent method, with the gradient of the loss function approximated on a batch of collocation points, selected randomly in each iteration according to a uniform distribution. Despite the success of PINNs in accurately solving a wide variety of PDEs, the method still requires improvements in terms of computational efficiency. To this end, in this paper, we study the performance of an importance sampling approach for efficient training of PINNs. Using numerical examples together with theoretical evidences, we show that in each training iteration, sampling the collocation points according to a distribution proportional to the loss function will improve the convergence behavior of the PINNs training. Additionally, we show that providing a piecewise constant approximation to the loss function for faster importance sampling can further improve the training efficiency. This importance sampling approach is straightforward and easy to implement in the existing PINN codes, and also does not introduce any new hyperparameter to calibrate. The numerical examples include elasticity, diffusion and plane stress problems, through which we numerically verify the accuracy and efficiency of the importance sampling approach compared to the predominant uniform sampling approach.

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

↑