DeepXDE:用于求解微分方程的深度学习库
DeepXDE: A deep learning library for solving differential equations
摘要:
深度学习在不同的应用中取得了显著的成功;然而,它在求解偏微分方程(PDE)中的应用只是最近才出现的。在这里,我们提出了一个物理信息神经网络(PINN)的概述,它使用自动微分将PDE嵌入神经网络的损失。PINN算法简单,可以应用于不同类型的偏微分方程,包括积分微分方程,分数阶偏微分方程和随机偏微分方程。此外,从实现的角度来看,PINN解决逆问题一样容易向前的问题。我们提出了一种新的基于残差的自适应细化(RAR)方法来提高PINN的训练效率。出于教学的原因,我们比较PINN算法的标准有限元法。我们还为PINN提供了一个Python库DeepXDE,它既可以作为课堂上使用的教育工具,也可以作为解决计算科学和工程问题的研究工具。具体来说,DeepXDE可以解决给定初始和边界条件的正问题,以及给定一些额外测量的逆问题。DeepXDE支持基于构造性立体几何技术的复杂几何域,并使用户代码紧凑,与数学公式非常相似。我们介绍了DeepXDE的使用方法及其可定制性,并通过五个不同的示例展示了PINN的功能和DeepXDE的用户友好性。更广泛地说,DeepXDE有助于新兴科学机器学习领域的更快速发展。
英文摘要:
Deep learning has achieved remarkable success in diverse applications; however, its use in solving partial differential equations (PDEs) has emerged only recently. Here, we present an overview of physics-informed neural networks (PINNs), which embed a PDE into the loss of the neural network using automatic differentiation. The PINN algorithm is simple, and it can be applied to different types of PDEs, including integro-differential equations, fractional PDEs, and stochastic PDEs. Moreover, from the implementation point of view, PINNs solve inverse problems as easily as forward problems. We propose a new residual-based adaptive refinement (RAR) method to improve the training efficiency of PINNs. For pedagogical reasons, we compare the PINN algorithm to a standard finite element method. We also present a Python library for PINNs, DeepXDE, which is designed to serve both as an education tool to be used in the classroom as well as a research tool for solving problems in computational science and engineering. Specifically, DeepXDE can solve forward problems given initial and boundary conditions, as well as inverse problems given some extra measurements. DeepXDE supports complex-geometry domains based on the technique of constructive solid geometry, and enables the user code to be compact, resembling closely the mathematical formulation. We introduce the usage of DeepXDE and its customizability, and we also demonstrate the capability of PINNs and the user-friendliness of DeepXDE for five different examples. More broadly, DeepXDE contributes to the more rapid development of the emerging Scientific Machine Learning field.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。