arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2312.14499cs.LGcs.AIcs.NAmath.DSmath.NAstat.ML
收藏

面向高维与高阶物理信息神经网络的 Hutchinson 迹估计

Hutchinson Trace Estimation for High-Dimensional and High-Order Physics-Informed Neural Networks

National University of Singapore(新加坡国立大学);Brown University(布朗大学);Pacific Northwest National Laboratory(西北太平洋国家实验室)

Zheyuan Hu, Zekun Shi, George Em Karniadakis, Kenji Kawaguchi

AI总结:

本文提出用 Hutchinson 迹估计将高维高阶 PINN 中的 Hessian 或高阶张量计算转化为 HVP/TVP,以降低内存与计算成本,并证明其无偏性和收敛性。

摘要:

物理信息神经网络(PINNs)已被证明可有效求解偏微分方程(PDEs),尤其是在存在部分数据时,能够无缝融合数据与物理规律。然而,将 PINNs 扩展到高维乃至高阶 PDE 时,残差损失中自动微分带来的计算成本使其面临重大挑战。本文通过引入 Hutchinson Trace Estimation(HTE,Hutchinson 迹估计)来解决 PINNs 在处理高维和高阶 PDE 时的局限。从科学计算中普遍存在的二阶高维 PDE 出发,HTE 将整个 Hessian 矩阵的计算转化为 Hessian-vector product(HVP,Hessian-向量积)。该方法通过 Taylor 模式自动微分缓解计算瓶颈,并将内存消耗从 Hessian 矩阵显著降低到 HVP。我们进一步证明了 HTE 在特定条件下收敛到原始 PINN 损失,并具有无偏性。与 Stochastic Dimension Gradient Descent(SDGD,随机维度梯度下降)的比较凸显了 HTE 的明显优势,尤其是在各维度之间存在显著方差的情形下。我们还将 HTE 扩展到更高阶、更高维的 PDE,特别针对双调和方程。通过采用 tensor-vector products(TVP,张量-向量积),HTE 可高效计算与四阶高维双调和方程相关的巨型张量,从而节省内存并实现快速计算。实验设置展示了 HTE 的有效性,结果表明在内存和速度约束下,其收敛速度与 SDGD 相当。此外,HTE 在加速 Gradient-Enhanced PINN(gPINN,梯度增强 PINN)版本以及双调和方程方面也具有价值。总体而言,HTE 为科学机器学习处理高阶和高维 PDE 开辟了新的能力。

英文摘要:

Physics-Informed Neural Networks (PINNs) have proven effective in solving partial differential equations (PDEs), especially when some data are available by seamlessly blending data and physics. However, extending PINNs to high-dimensional and even high-order PDEs encounters significant challenges due to the computational cost associated with automatic differentiation in the residual loss. Herein, we address the limitations of PINNs in handling high-dimensional and high-order PDEs by introducing Hutchinson Trace Estimation (HTE). Starting with the second-order high-dimensional PDEs ubiquitous in scientific computing, HTE transforms the calculation of the entire Hessian matrix into a Hessian vector product (HVP). This approach alleviates the computational bottleneck via Taylor-mode automatic differentiation and significantly reduces memory consumption from the Hessian matrix to HVP. We further showcase HTE's convergence to the original PINN loss and its unbiased behavior under specific conditions. Comparisons with Stochastic Dimension Gradient Descent (SDGD) highlight the distinct advantages of HTE, particularly in scenarios with significant variance among dimensions. We further extend HTE to higher-order and higher-dimensional PDEs, specifically addressing the biharmonic equation. By employing tensor-vector products (TVP), HTE efficiently computes the colossal tensor associated with the fourth-order high-dimensional biharmonic equation, saving memory and enabling rapid computation. The effectiveness of HTE is illustrated through experimental setups, demonstrating comparable convergence rates with SDGD under memory and speed constraints. Additionally, HTE proves valuable in accelerating the Gradient-Enhanced PINN (gPINN) version as well as the Biharmonic equation. Overall, HTE opens up a new capability in scientific machine learning for tackling high-order and high-dimensional PDEs.

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

↑