arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2408.05172math.NAcs.NA
收藏

物理信息神经网络建模中自动微分与数值积分的挑战

Challenges in automatic differentiation and numerical integration in physics-informed neural networks modelling

Josef Daněk, Jan Pospíšil

AI总结:

本文研究 PINNs 中自动微分与数值积分的隐蔽精度问题,通过三个微分方程用例分析双精度是否足够,并评估多种求积方法以指导方法选择。

摘要:

本文通过数值方法考察了在当前由物理信息神经网络(PINNs)处理的各类任务中,自动微分与数值积分所出现的精度挑战。具体而言,我们说明了不适定问题或计算不准确的函数如何会在微分和积分中引发严重的精度问题。一个主要困难在于检测这些问题:对函数进行简单的大尺度观察,或者看起来良好的损失函数或收敛结果,可能无法揭示任何潜在错误,而所得结果往往被误认为正确。为解决这一问题,关键是要确定标准双精度算术是否足够,或者是否需要更高精度。文中详细分析了使用 PINNs 求解微分方程的三个存在问题的用例。对于需要数值积分的情形,我们还评估了若干数值求积方法,并建议采用特定的数值分析步骤来选择最合适的方法。

英文摘要:

In this paper, we numerically examine the precision challenges that emerge in automatic differentiation and numerical integration in various tasks now tackled by physics-informed neural networks (PINNs). Specifically, we illustrate how ill-posed problems or inaccurately computed functions can cause serious precision issues in differentiation and integration. A major difficulty lies in detecting these problems. A simple large-scale view of the function or good-looking loss functions or convergence results may not reveal any potential errors, and the resulting outcomes are often mistakenly considered correct. To address this, it is critical to determine whether standard double-precision arithmetic suffices or if higher precision is necessary. Three problematic use-cases for solving differential equations using PINNs are analysed in detail. For the case requiring numerical integration, we also evaluate several numerical quadrature methods and suggest particular numerical analysis steps to choose the most suitable method.

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

↑