Scalable Transformer for PDE Surrogate Modeling

Zijie Li, Dule Shu, Amir Barati Farimani
5/27/2023
cs.LG

No official code found. Best implementation: BaratiLab/FactFormer (58 stars, MIT, last commit 2024-03-23).

Abstract

Transformer has shown state-of-the-art performance on various applications and has recently emerged as a promising tool for surrogate modeling of partial differential equations (PDEs). Despite the introduction of linear-complexity attention, applying Transformer to problems with a large number of grid points can be numerically unstable and computationally expensive. In this work, we propose Factorized Transformer (FactFormer), which is based on an axial factorized kernel integral. Concretely, we introduce a learnable projection operator that decomposes the input function into multiple sub-functions with one-dimensional domain. These sub-functions are then evaluated and used to compute the instance-based kernel with an axial factorized scheme. We showcase that the proposed model is able to simulate 2D Kolmogorov flow on a $256\times 256$ grid and 3D smoke buoyancy on a $64\times64\times64$ grid with good accuracy and efficiency. The proposed factorized scheme can serve as a computationally efficient low-rank surrogate for the full attention scheme when dealing with multi-dimensional problems.

View on arXivView PDF

Code Implementations(1)

MIT

Official implementation of Scalable Transformer for PDE surrogate modelling

583Shell, PythonOct 25, 20232 years agoMIT
attentionneural-operatorpde-solvertransformer

Similar Papers

Cite this paper

@article{li2023scalable,
  title  = {Scalable Transformer for PDE Surrogate Modeling},
  author = {Zijie Li and Dule Shu and Amir Barati Farimani},
  year   = {2023},
  eprint = {2305.17560},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2305.17560v2},
  journal = {NEURIPS 2023 2023}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2305.17560.svg)](https://codeofpaper.com/paper/2305.17560)

Discussion