NeurIPS 2025poster0 citations

SpiderSolver: A Geometry-Aware Transformer for Solving PDEs on Complex Geometries

Kai Qi, Fan Wang, Zhewen Dong, Jian Sun

Abstract

Transformers have demonstrated effectiveness in solving partial differential equations (PDEs). However, extending them to solve PDEs on complex geometries remains a challenge. In this work, we propose SpiderSolver, a geometry-aware transformer that introduces spiderweb tokenization for handling complex domain geometry and irregularly discretized points. Our method partitions the irregular spatial domain into spiderweb-like patches, guided by the domain boundary geometry. SpiderSolver leverages a coarse-grained attention mechanism to capture global interactions across spiderweb tokens and a fine-grained attention mechanism to refine feature interactions between the domain boundary and its neighboring interior points. We evaluate SpiderSolver on PDEs with diverse domain geometries across seven datasets, including cars, airfoils, blood flow in the human thoracic aorta, as well as canonical cases governed by the Navier-Stokes, Darcy flow, elasticity, and plasticity equations. Experimental results demonstrate that SpiderSolver consistently achieves state-of-the-art performance across different datasets and metrics, with better generalization ability in the OOD setting. The code is available at https://github.com/Kai-Qi/SpiderSolver.

Machine learning in PDETransformer architecturePDE on complex geometryTokenization
BibTeX
@inproceedings{
qi2025spidersolver,
title={SpiderSolver: A Geometry-Aware Transformer for Solving {PDE}s on Complex Geometries},
author={Kai Qi and Fan Wang and Zhewen Dong and Jian Sun},
booktitle={The Thirty-ninth Annual Conference on Neural Information Processing Systems},
year={2025},
url={https://openreview.net/forum?id=hWtvsL51hO}
}