[Paper Review] PDEformer: Towards a Foundation Model for One-Dimensional Partial Differential Equations
PDEformer proposes a foundation model for one-dimensional partial differential equations (PDEs) by representing the PDE's symbolic form as a computational graph and combining it with a graph Transformer and implicit neural representation (INR) to generate mesh-free solutions. Pretrained on diverse PDEs, it achieves superior zero-shot accuracy on benchmark datasets and demonstrates strong performance in inverse coefficient recovery, even under noisy conditions.
This paper introduces PDEformer, a neural solver for partial differential equations (PDEs) capable of simultaneously addressing various types of PDEs. We propose to represent the PDE in the form of a computational graph, facilitating the seamless integration of both symbolic and numerical information inherent in a PDE. A graph Transformer and an implicit neural representation (INR) are employed to generate mesh-free predicted solutions. Following pretraining on data exhibiting a certain level of diversity, our model achieves zero-shot accuracies on benchmark datasets that is comparable to those of specifically trained expert models. Additionally, PDEformer demonstrates promising results in the inverse problem of PDE coefficient recovery.
Motivation & Objective
- To develop a generalizable foundation model for one-dimensional PDEs capable of zero-shot inference across diverse PDE types.
- To integrate both symbolic (PDE form) and numeric (coefficients, initial/boundary conditions) information seamlessly within a unified neural architecture.
- To enable effective transfer learning and few-shot adaptation for new PDEs with minimal fine-tuning.
- To demonstrate strong performance in inverse problems, such as coefficient recovery, even with noisy observations.
- To establish a scalable and generalizable framework for downstream PDE tasks beyond forward solution prediction.
Proposed method
- Represent the symbolic PDE form as a directed acyclic computational graph with heterogeneous node types (e.g., unknown field, coefficient, initial condition, operations).
- Assign feature vectors to each node: scalar coefficients are repeated across the feature dimension, and initial conditions are split into patches for embedding.
- Use a graph Transformer to encode the structural and feature information of the computational graph.
- Employ an implicit neural representation (INR) to predict continuous, mesh-free solutions across space and time.
- Pretrain the model on a diverse set of 1D PDEs to learn general PDE patterns and dynamics.
- Fine-tune or perform zero-shot inference on new PDEs using only a few solution snapshots or direct input of the PDE form.

Experimental results
Research questions
- RQ1Can a single neural model achieve high zero-shot accuracy across diverse 1D PDEs without task-specific fine-tuning?
- RQ2How effectively can a foundation model generalize to unseen PDE types when trained on a diverse pretraining distribution?
- RQ3To what extent can the model recover unknown PDE coefficients from noisy solution observations in inverse problems?
- RQ4How does the integration of symbolic and numeric information via a computational graph improve generalization compared to purely numeric or language-model-based approaches?
- RQ5What is the trade-off between inference speed and accuracy compared to traditional numerical solvers and expert neural operators?
Key findings
- PDEformer achieves a relative $L^2$ error of 0.0075 on the 1D advection equation, outperforming FNO (0.0097) and DeepONet (0.0187) in zero-shot inference.
- The model achieves zero-shot accuracy surpassing adequately trained expert models on benchmark datasets, demonstrating strong generalization.
- In inverse coefficient recovery, PDEformer recovers coefficients with high accuracy even under noise levels up to $r = 0.1$, with relative errors below 5% in most cases.
- The model maintains consistent performance across different noise levels, with predicted solutions closely matching ground-truth observations in the presence of noise.
- Inference time for PDEformer is 8.76ms per sample on a single NPU, significantly faster than traditional solvers like FD (2072.3ms) and Dedalus (410.8ms).
- The model's performance remains stable across 40 random PDE samples in inverse problems, with consistent recovery accuracy across multiple PDE forms.

Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.