[論文レビュー] Accelerated Training of Physics-Informed Neural Networks (PINNs) using Meshless Discretizations
DT-PINNsは、PINNの損失関数における正確な空間微分を高次のRBF-FD離散化とfp64での訓練に置き換えることで訓練を加速し、Poisson問題で同程度の精度を保ちつつ2–4倍のスピードアップを実現します。
We present a new technique for the accelerated training of physics-informed neural networks (PINNs): discretely-trained PINNs (DT-PINNs). The repeated computation of partial derivative terms in the PINN loss functions via automatic differentiation during training is known to be computationally expensive, especially for higher-order derivatives. DT-PINNs are trained by replacing these exact spatial derivatives with high-order accurate numerical discretizations computed using meshless radial basis function-finite differences (RBF-FD) and applied via sparse-matrix vector multiplication. The use of RBF-FD allows for DT-PINNs to be trained even on point cloud samples placed on irregular domain geometries. Additionally, though traditional PINNs (vanilla-PINNs) are typically stored and trained in 32-bit floating-point (fp32) on the GPU, we show that for DT-PINNs, using fp64 on the GPU leads to significantly faster training times than fp32 vanilla-PINNs with comparable accuracy. We demonstrate the efficiency and accuracy of DT-PINNs via a series of experiments. First, we explore the effect of network depth on both numerical and automatic differentiation of a neural network with random weights and show that RBF-FD approximations of third-order accuracy and above are more efficient while being sufficiently accurate. We then compare the DT-PINNs to vanilla-PINNs on both linear and nonlinear Poisson equations and show that DT-PINNs achieve similar losses with 2-4x faster training times on a consumer GPU. Finally, we also demonstrate that similar results can be obtained for the PINN solution to the heat equation (a space-time problem) by discretizing the spatial derivatives using RBF-FD and using automatic differentiation for the temporal derivative. Our results show that fp64 DT-PINNs offer a superior cost-accuracy profile to fp32 vanilla-PINNs.
研究の動機と目的
- 物理インフォームドニューラルネットワーク(PINN)をPDE解法のためにより高速に訓練する動機づけ。
- 空間微分のためにメッシュレスRBF-FDを用いた離散訓練型PINN(DT-PINNs)を提案。
- fp64でのDT-PINN訓練が、GPU上で通常のPINNと同等の精度をより速く達成できることを示す。
- 不規則な領域上のPoisson方程式と熱方程式への適用性を示す。
提案手法
- PINN損失における自動微分ベースの空間微分を、高次のRBF-FD微分行列で置換する。
- コリケーション・ステンシル上でのRBF-FD重みを事前計算し、疎行列ベクトル積(SpMV)を介して適用する。
- 精度と速度を向上させるために、fp32の代わりにfp64でニューラルネットワークを訓練する。
- 非線形および線形のPoisson方程式と、空間離散化を混在させ時間は自動微分を用いる熱方程式の空間-時間問題に適用する。
- より高次のRBF-FD(p>2)が、autogradベースのアプローチと比較して訓練を速くしつつ精度を維持できることを実証する。
実験結果
リサーチクエスチョン
- RQ1RBF-FDベースの空間微分は精度を損なうことなくPINN訓練を加速できるか?
- RQ2Poisson型PDEでのPINNに対して、最適な費用対精度のトレードオフを提供するRBF-FDの次数pはどれか?
- RQ3fp64でのDT-PINN訓練はGPU上でfp32の通常PINNよりも迅速な収束をもたらすか?
- RQ4DT-PINNは線形Poissonと非線形Poisson、熱方程式のような空間-時間問題に対してどのように性能が異なるか?
主な発見
- DT-PINNsはp>2のRBF-FDを用いた線形・非線形Poisson方程式で、vanilla-PINNと同程度の相対誤差を達成する。
- コンシューマーGPU上のDT-PINNsは、比較可能なアーキテクチャでfp32のvanilla-PINNより2–4倍の訓練時間短縮を達成する。
- fp64のDT-PINNsは、対象とした問題に対してfp32のvanilla-PINNより費用対精度の良いプロファイルを提供する。
- 熱方程式については、空間のRBF-FDと時間の自動微分を組み合わせた混合アプローチが、2–4倍のスピードアップと同等の精度を示す。
- RBF-FDの次数pを高めると、空間微分の精度が向上し、低誤差に達するまでの訓練エポック数がautogradベースのアプローチと比較して減少する。
この論文を読む
Nubintのビューアで原文を開き、読みながら気になる箇所をすぐに質問できます。
Nubintでこの論文を読むこのレビューはAIが論文の原文をもとに作成しました。引用する前に原文をご確認ください。