Skip to main content
QUICK REVIEW

[논문 리뷰] Accelerated Training of Physics-Informed Neural Networks (PINNs) using Meshless Discretizations

Ramansh Sharma, Varun Shankar|arXiv (Cornell University)|2022. 05. 19.
Model Reduction and Neural NetworksPhysics and Astronomy인용 수 22
한 줄 요약

DT-PINNs는 PINN 손실에서 정확한 공간 도함수를 고차 RBF-FD 이산화로 대체하고 fp64로 학습함으로써 Poisson 문제에서 비슷한 정확도로 2-4x 속도 향상을 달성합니다.

ABSTRACT

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를 활용한 Discretely-trained PINNs(DT-PINNs)를 제안한다.
  • fp64 DT-PINN이 GPU에서 일반 PINN과 동일한 정확도를 더 빠르게 달성할 수 있음을 보인다.
  • 비정칙 도메인에서의 Poisson 및 열 방정식에의 적용 가능성을 보여준다.

제안 방법

  • PINN 손실에서 자동 미분 기반 공간 도함수를 고차 RBF-FD 미분 행렬로 대체한다.
  • collocation 스텐실에서 RBF-FD 가중치를 사전 계산하고 희소 행렬 벡터 곱(SpMV)으로 적용한다.
  • 정확도 및 속도 향상을 위해 연산을 fp32가 아닌 fp64로 수행한다.
  • 공간 이산화가 혼합된 비선형 및 선형 Poisson 방정식과 시간에 대해 자동 미분을 시간에 사용한 공간-시간 열 방정식에 이 방법을 적용한다.
  • p>2인 고차 RBF-FD가 정확도를 유지하면서 더 빠른 학습을 가능하게 함을 보인다.

실험 결과

연구 질문

  • RQ1RBF-FD 기반 공간 도함수가 정확도를 해치지 않으면서 PINN 학습을 가속화할 수 있는가?
  • RQ2Poisson 형 PDE에 대해 어떤 차수 p의 RBF-FD가 비용-정확도 균형에서 가장 좋은가?
  • RQ3DT-PINN으로 fp64 학습이 GPU에서 fp32 일반 PINN보다 더 빠르게 수렴하는가?
  • RQ4선형 Poisson 방정식과 비선형 Poisson 방정식, 열 방정식과 같은 시공 간 문제에서 DT-PINN의 성능은 어떠한가?

주요 결과

  • RBF-FD를 사용한 p>2인 경우 선형 및 비선형 Poisson 방정식에 대해 DT-PINN이 일반 PINN에 비해 상대 오차가 유사하게 나타난다.
  • 소비자용 GPU에서 DT-PINN은 비교 가능한 아키텍처의 fp32 일반 PINN보다 2-4x 빠른 학습 시간을 달성한다.
  • fp64 DT-PINN은 테스트된 문제들에서 fp32 일반 PINN에 비해 비용-정확도 프로파일이 우수하다.
  • 열 방정식의 경우 공간 RBF-FD와 시간에서의 자동 미분을 혼합한 접근 방식이 비슷한 정확도에 대해 2-4x의 속도 향상을 제공한다.
  • RBF-FD 차수 p를 높일수록 공간 도함수의 정확도가 향상되고 낮은 오차에 도달하는 학습 에포크 수가 감소한다(자동 미분 기반 접근에 비해).

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.