Transformer for Partial Differential Equations' Operator Learning

Zijie Li, Kazem Meidani, Amir Barati Farimani
5/26/2022
cs.LGcs.AI
transformer-attention

Official code: BaratiLab/OFormer (98 stars, Python, MIT, last commit 2024-09-02).

Abstract

Data-driven learning of partial differential equations' solution operators has recently emerged as a promising paradigm for approximating the underlying solutions. The solution operators are usually parameterized by deep learning models that are built upon problem-specific inductive biases.

Show full abstract

An example is a convolutional or a graph neural network that exploits the local grid structure where functions' values are sampled. The attention mechanism, on the other hand, provides a flexible way to implicitly exploit the patterns within inputs, and furthermore, relationship between arbitrary query locations and inputs. In this work, we present an attention-based framework for data-driven operator learning, which we term Operator Transformer (OFormer). Our framework is built upon self-attention, cross-attention, and a set of point-wise multilayer perceptrons (MLPs), and thus it makes few assumptions on the sampling pattern of the input function or query locations. We show that the proposed framework is competitive on standard benchmark problems and can flexibly be adapted to randomly sampled input.

View on arXivView PDF

Code Implementations(1)

BaratiLab/OFormerOfficial100%
MIT
9816PythonApr 21, 20232 years agoMIT

Similar Papers

Cite this paper

@article{li2022transformer,
  title  = {Transformer for Partial Differential Equations' Operator Learning},
  author = {Zijie Li and Kazem Meidani and Amir Barati Farimani},
  year   = {2022},
  eprint = {2205.13671},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2205.13671}
}

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/2205.13671.svg)](https://codeofpaper.com/paper/2205.13671)

Discussion