English

PDE-Transformer: Efficient and Versatile Transformers for Physics Simulations

Machine Learning 2025-06-02 v1

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.

Keywords

Cite

@article{arxiv.2505.24717,
  title  = {PDE-Transformer: Efficient and Versatile Transformers for Physics Simulations},
  author = {Benjamin Holzschuh and Qiang Liu and Georg Kohl and Nils Thuerey},
  journal= {arXiv preprint arXiv:2505.24717},
  year   = {2025}
}

Comments

ICML 2025. Code available at https://github.com/tum-pbs/pde-transformer

R2 v1 2026-07-01T02:51:00.142Z