Skip to main content
QUICK REVIEW

[논문 리뷰] PINNsFormer: A Transformer-Based Framework For Physics-Informed Neural Networks

Lizhong Zhao, Xueying Ding|arXiv (Cornell University)|2023. 07. 21.
Model Reduction and Neural NetworksPhysics and Astronomy인용 수 24
한 줄 요약

PINNsFormer는 시간 의존성의 포착과 일반화를 개선하는 Transformer 기반의 시퀀스-투-시퀀스 프레임워크로, Pseudo Sequence Generator와 Wavelet 활성화를 통해 PDE의 시간 의존성을 포착한다.

ABSTRACT

Physics-Informed Neural Networks (PINNs) have emerged as a promising deep learning framework for approximating numerical solutions to partial differential equations (PDEs). However, conventional PINNs, relying on multilayer perceptrons (MLP), neglect the crucial temporal dependencies inherent in practical physics systems and thus fail to propagate the initial condition constraints globally and accurately capture the true solutions under various scenarios. In this paper, we introduce a novel Transformer-based framework, termed PINNsFormer, designed to address this limitation. PINNsFormer can accurately approximate PDE solutions by utilizing multi-head attention mechanisms to capture temporal dependencies. PINNsFormer transforms point-wise inputs into pseudo sequences and replaces point-wise PINNs loss with a sequential loss. Additionally, it incorporates a novel activation function, Wavelet, which anticipates Fourier decomposition through deep neural networks. Empirical results demonstrate that PINNsFormer achieves superior generalization ability and accuracy across various scenarios, including PINNs failure modes and high-dimensional PDEs. Moreover, PINNsFormer offers flexibility in integrating existing learning schemes for PINNs, further enhancing its performance.

연구 동기 및 목표

  • 시간 의존성의 무시를 지적하고, 시간 의존 PDE를 해결할 때 표준 PINN에서의 시간 의존성을 다루려는 연구 동기를 제시한다.
  • PDE 해에서의 시간 의존성을 포착하기 위한 Transformer 기반 아키텍처(PINNsFormer)를 제안한다.
  • 보편 근사성과 도함수 추정을 향상시키는 새로운 Wavelet 활성화를 도입한다.
  • 대류, 반응, 파동 및 고차원 PDE 전반에 걸친 일반화 및 성능 향상을 시연하고, 기존 PINN 학습 스킴과의 호환성도 입증한다.

제안 방법

  • 점별 시공간 입력을 Pseudo Sequence Generator를 통해 유사 시퀀스로 변환한다.
  • 고차원 공간에서 특징을 포함하고 섞기 위해 Spatio-Temporal Mixer를 사용한다.
  • 시퀀스 전반의 의존성을 학습하기 위해 다중-헤드 어텐션을 갖춘 인코더-디코더를 활용한다.
  • Wavelet 활성화를 도입하여 PDE 해와 도함수를 더 잘 근사하도록 한다.
  • 잔류, 경계 및 초기 조건을 구분하는 순차 PINN 손실을 채택한다.
  • 향상된 성능을 위해 기존 PINN 학습 스킴(예: NTK)과의 통합을 허용한다.
Figure 1: Architecture of proposed PINNsFormer. PINNsFormer generates a pseudo sequence based on pointwise input features. It outputs the corresponding sequential approximated solution. The first approximation of the sequence is the desired solution $\hat{u}(\bm{x},t)$ .
Figure 1: Architecture of proposed PINNsFormer. PINNsFormer generates a pseudo sequence based on pointwise input features. It outputs the corresponding sequential approximated solution. The first approximation of the sequence is the desired solution $\hat{u}(\bm{x},t)$ .

실험 결과

연구 질문

  • RQ1Transformer 기반 모델이 기존 PINN보다 PDE 해에서의 시간 의존성을 더 잘 포착할 수 있는가?
  • RQ2pseudo-sequence 표현이 시간 의존 PDE를 해결할 때 정확도와 안정성에 어떤 영향을 미치는가?
  • RQ3PINNsFormer에서 Wavelet 활성화가 근사 능력과 도함수 정확도에 미치는 영향은?
  • RQ4고차원 PDE에서의 성능과 다른 학습 스킴(예: NTK)과의 결합 시 PINNsFormer의 성능은 어떠한가?

주요 결과

  • PINNsFormer는 대류 및 1D-reaction PDEs에서 PINNs, QRes, FLS보다 더 낮은 학습 손실 및 테스트 오차를 달성하여 PINN 실패 모드를 완화한다.
  • In 1D-wave with NTK, PINNsFormer+NTK가 보고된 지표들 중 가장 높은 rMAE와 rRMSE를 산출한다.
  • For 2D Navier–Stokes, PINNsFormer가 베이스라인보다 수렴 속도가 빠르고 압력 예측에서 형태/크기 일관성이 더 우수하게 나타난다.
  • 손실 지형 분석은 PINNsFormer가 PINNs보다 더 매끄러운 지형과 더 작은 Lipschitz 상수를 갖는다고 보여주며, 이는 더 쉬운 최적화를 시사한다.
  • 해당 접근 방식은 표준 PINNs보다 계산적으로 더 무겁지만 여전히 실용적이며, k=5에서 대략 비용이 약 2.9배, 메모리 증가 약 2.15배다.
  • PINNsFormer는 기존 PINN 학습 전략과의 호환성을 유지하여 유연한 하이브리드를 가능하게 한다.
Figure 2: The architecture of PINNsFormer’s Encoder-Decoder Layers. The decoder is not equipped with self-attentions.
Figure 2: The architecture of PINNsFormer’s Encoder-Decoder Layers. The decoder is not equipped with self-attentions.

이 논문 읽기

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

누빈트에서 이 논문 읽기

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