Transolver: A Fast Transformer Solver for PDEs on General Geometries

Haixu WuHuakun LuoHaowen WangJianmin WangMingsheng Long

article2024ICML209 citations

Develops Transolver, a linear-complexity Transformer architecture for solving partial differential equations on complex geometries by adaptively grouping mesh points into physics-aware slices, achieving a 22% relative performance gain across standard benchmarks and scaling to large-scale industrial aerodynamic simulations.

Listen

Simulating complex physical systems—such as aerodynamic vehicle design, fluid flows, and structural mechanics—relies heavily on solving partial differential equations (PDEs). Traditional numerical simulation methods can take hours or days to evaluate complex designs, creating severe bottlenecks in engineering workflows. While deep learning models, particularly Transformers, offer the promise of near-instant surrogate simulations, existing architectures struggle when scaling to large, irregular 2D and 3D simulation meshes due to excessive computational costs and difficulty learning intricate physical relationships directly from millions of discrete points.

The article demonstrates and evaluates Transolver, a physics-inspired neural solver designed to solve PDEs rapidly and accurately across diverse, unstructured geometries. The main objective is to establish an efficient Transformer architecture that models high-level physical states rather than calculating attention directly over massive collections of raw mesh points.

To achieve this, the authors introduced "Physics-Attention," an approach that adaptively partitions discretized geometric meshes into a compact set of learnable slices sharing similar physical properties, aggregates them into physics-aware tokens, performs attention among these tokens, and projects the results back to the mesh. The evaluation benchmarked Transolver against more than 20 competing neural operators and geometric models across six standard academic datasets (spanning regular grids, point clouds, and structured meshes) and two large-scale industrial tasks: 3D vehicle surface pressure and airflow from the ShapeNet dataset, and aerodynamic airfoil design from the AirfRANS dataset.

The findings establish that Transolver consistently sets new state-of-the-art results. Across the six standard benchmarks, Transolver achieved an average relative error reduction of about 22% compared to the strongest prior models, including error reductions of roughly 25% to 30% in solid mechanics and pipe flow tasks. In large-scale vehicle simulations involving over 32,000 mesh points, Transolver significantly outperformed baselines in predicting velocity and pressure fields while achieving a top Spearman’s rank correlation of 0.9935 for drag force ranking. In testing on unseen aerodynamic flow conditions, the architecture maintained rank correlations of nearly 99%, and computational benchmarks demonstrated that Transolver scales linearly with mesh size, executing nearly five times faster with roughly 77% less memory consumption than competing Transformer baselines on large grids.

These results demonstrate that focusing machine learning attention on underlying physical states rather than raw geometric points resolves key trade-offs between speed, memory, and physical accuracy. For industrial and engineering organizations, this approach enables accurate surrogate simulations that shorten product design cycles from days to seconds, reduces high-performance computing infrastructure costs, and reliably ranks design alternatives during aerodynamic and structural optimization.

Based on these findings, teams should consider piloting Transolver for high-throughput design screening workflows, particularly where geometry varies significantly across iterations. Organizations exploring foundation models for engineering simulations should also assess multiscale slicing strategies to capture hierarchical flow features efficiently. Before broad deployment in safety-critical manufacturing, further validation is recommended on highly turbulent or extreme out-of-distribution operating conditions with expanded physical datasets, as model performance was established on specific benchmark regimes and showed slight sensitivity to slice count tuning.

Cover for Transolver: A Fast Transformer Solver for PDEs on General Geometries

Abstract

Transformers have empowered many milestones across various fields and have recently been applied to solve partial differential equations (PDEs). However, since PDEs are typically discretized into large-scale meshes with complex geometries, it is challenging for Transformers to capture intricate physical correlations directly from massive individual points. Going beyond superficial and unwieldy meshes, we present Transolver based on a more foundational idea, which is learning intrinsic physical states hidden behind discretized geometries. Specifically, we propose a new Physics-Attention to adaptively split the discretized domain into a series of learnable slices of flexible shapes, where mesh points under similar physical states will be ascribed to the same slice. By calculating attention to physics-aware tokens encoded from slices, Transovler can effectively capture intricate physical correlations under complex geometrics, which also empowers the solver with endogenetic geometry-general modeling capacity and can be efficiently computed in linear complexity. Transolver achieves consistent state-of-the-art with 22% relative gain across six standard benchmarks and also excels in large-scale industrial simulations, including car and airfoil designs. Code is available at this https URL.

Table of Contents

  • 1 Introduction
  • 2 Related Work
  • 2.1 Neural PDE Solvers
  • 2.2 Geometric Deep Learning
  • 3 Method
  • 3.1 Learning Physics-Aware Tokens
  • 3.2 Transolver
  • 4 Experiments
  • 4.1 Main Results
  • 4.2 Model Analysis
  • 5 Conclusions and Future Work
  • References
  • A Proof of Theorem
  • B Implementation Details
  • B.1 Benchmarks
  • B.2 Metrics
  • B.3 Implementations
  • C Full Ablations
  • D Addition Visualizations
  • D.1 Learned Slices
  • D.2 Showcases
  • E Addition Experiments
  • E.1 Model Scalability
  • E.2 Adaptive Multiscale Modeling
  • E.3 OOD Generalization
  • E.4 Apply to Lagrangian Settings
  • E.5 Standard Deviations
  • F Full Efficiency Analysis

Citation

MLA
Wu, H., et al. “Transolver: A Fast Transformer Solver for PDEs on General Geometries”. arXiv, 2024, http://arxiv.org/abs/2402.02366v2.
APA
Wu, H., Luo, H., Wang, H., Wang, J., & Long, M. (2024). Transolver: A Fast Transformer Solver for PDEs on General Geometries. arXiv. http://arxiv.org/abs/2402.02366v2
Chicago
Wu, H., H. Luo, H. Wang, J. Wang, and M. Long. 2024. “Transolver: A Fast Transformer Solver for PDEs on General Geometries”. arXiv. http://arxiv.org/abs/2402.02366v2.
Harvard
Wu, H. et al. (2024) “Transolver: A Fast Transformer Solver for PDEs on General Geometries”, arXiv [Preprint]. Available at: http://arxiv.org/abs/2402.02366v2.
Vancouver
1. Wu H, Luo H, Wang H, Wang J, Long M (2024) Transolver: A Fast Transformer Solver for PDEs on General Geometries. arXiv

BibTeX

@article{wu2024transolver,
  title = {Transolver: A Fast Transformer Solver for PDEs on General Geometries},
  author = {Wu, Haixu and Luo, Huakun and Wang, Haowen and Wang, Jianmin and Long, Mingsheng},
  year = {2024},
  journal = {arXiv},
  url = {http://arxiv.org/abs/2402.02366v2},
  eprint = {2402.02366}
}
Metadata:arXiv

Source Code

This paper has an official code repository available. Click below to access the source code.

View Repository

Access the Paper

This paper is available from its original source. Click below to access the PDF.

Open PDF
License: https://creativecommons.org/licenses/by/4.0/