Share your thoughts, 1 month free Claude Pro on usSee more
WorkDL logo mark

Scalable Transformer for PDE Surrogate Modeling

About

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.

Zijie Li, Dule Shu, Amir Barati Farimani• 2023

Related benchmarks

TaskDatasetResultRank
PDE solvingDarcy
Relative L2 Error0.0109
46
PDE solvingNavier-Stokes Regular Grid (test)
Relative L2 Error0.1214
41
PDE solvingDarcy Regular Grid (test)
Relative L2 Error0.0109
41
PDE solvingAirfoil Structured Mesh (test)
Relative L2 Error0.0071
38
PDE solvingPipe Structured Mesh (test)
Relative L2 Error0.006
38
Forward PDE solvingAirfoil
Relative L20.71
36
Forward PDE solvingPlasticity
Relative L2 Error0.0312
36
Forward PDE solvingPipe
Relative L2 Error0.006
35
PDE solvingDarcy-Flow 2d (test)
Relative MSE7.67e-5
33
Fluid Dynamics SimulationNavier-Stokes (NS) nu=10^-5 at 64x64 unified-protocol (test)
Relative L2 Error (Test)16.39
31
Showing 10 of 52 rows

Other info

Code

Follow for update