PDE-Transformer: Efficient and Versatile Transformers for Physics Simulations

Benjamin Holzschuh, Qiang Liu, Georg Kohl, Nils Thuerey
5/30/2025
cs.LG

No official code found. Best implementation: tum-pbs/pde-transformer (90 stars, Apache-2.0, last commit 2026-04-11).

Abstract

We introduce PDE-Transformer, an improved transformer-based architecture for surrogate modeling of physics simulations on regular grids. We combine recent architectural improvements of diffusion transformers with adjustments specific for large-scale simulations to yield a more scalable and versatile general-purpose transformer architecture, which can be used as the backbone for building large-scale foundation models in physical sciences. We demonstrate that our proposed architecture outperforms state-of-the-art transformer architectures for computer vision on a large dataset of 16 different types of PDEs. We propose to embed different physical channels individually as spatio-temporal tokens, which interact via channel-wise self-attention. This helps to maintain a consistent information density of tokens when learning multiple types of PDEs simultaneously. We demonstrate that our pre-trained models achieve improved performance on several challenging downstream tasks compared to training from scratch and also beat other foundation model architectures for physics simulations.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

PDE-Transformer is a neural network architecture designed to efficiently process and predict the evolution of physical systems described by partial differential equations.

9016Shell, PythonMay 27, 20256 months agoApache-2.0

Similar Papers

Cite this paper

@article{holzschuh2025pdetransformer,
  title  = {PDE-Transformer: Efficient and Versatile Transformers for Physics Simulations},
  author = {Benjamin Holzschuh and Qiang Liu and Georg Kohl and Nils Thuerey},
  year   = {2025},
  eprint = {2505.24717},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2505.24717v1},
  journal = {ICML 2025 2025}
}

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

Discussion