arXiv:2610.26963physics.comp-phOct 2026

Manuscript Offprint

arXiv:2610.26963

FoundPDE: A generative foundation model for data-driven symbolic discovery of partial differential equations

Langchen Liu, Junlin Luo, Min Zhu, Zhuoran Yang, Lu Lu

Abstract

Discovering governing partial differential equations (PDEs) from observed data is a central inverse problem in computational science and engineering: the goal is not only to predict trajectories, but to identify interpretable symbolic laws that can be analyzed and reused. Existing PDE discovery methods often depend on hand-designed libraries, accurate numerical derivatives, or per-equation symbolic search, making them fragile under sparse observations, noisy data, broad equation families, and unseen symbolic compositions. Here, we introduce FoundPDE, a pretrained data-to-symbol foundation model for PDE discovery. FoundPDE maps discretized spatio-temporal trajectories to symbolic equations with a transformer, uses Fourier and first-order spatial-derivative augmentation to expose complementary trajectory information, refines numerical coefficients, and supports downstream extension with improved generalization through few-shot fine-tuning and hierarchical discovery. On a clean in-domain benchmark spanning 20 PDE families, our model reaches 97.50% type recognition. Under coefficient shifts beyond the training support, type recognition remains 90.53%; under multiplicative Gaussian noise on the model input, it is 94.43% at a 2% noise level but falls to 52.09% at 10%. For unseen composite equations, few-shot fine-tuning reaches over 90% exact recovery on four held-out families, and we further develop a hierarchical discovery algorithm that recovers two-term composites without fine-tuning FoundPDE. By amortizing symbolic discovery across equation families, FoundPDE shifts PDE discovery from per-dataset search toward a reusable pretrained model that extends to new physics with limited additional data, a step toward foundation models that uncover interpretable governing laws directly from scientific data.

Keywords: partial differential equation; symbolic equation discovery; foundation model; few-shot fine-tuning; hierarchical discovery

1 Introduction

Partial differential equations (PDEs) are central to modeling transport, diffusion, wave propagation, reaction dynamics, and many other physical processes [1]. Recovering a PDE directly from observational data is therefore a scientifically important inverse problem: beyond prediction, it provides an interpretable law that can be analyzed, validated, and transferred across related regimes.

Recent advances in scientific machine learning (SciML) have made data-driven PDE discovery increasingly feasible, but robust symbolic PDE discovery remains challenging when observations are sparse, noisy, or drawn from many possible equation families [2].

SciML integrates physical principles with machine learning to yield models that adhere closely to scientific laws. Physics-Informed Neural Networks (PINNs) [3, 4] incorporate PDE constraints directly into their training, enhancing interpretability and data efficiency. Operator learning frameworks, including Deep Operator Networks (DeepONets) [5, 6, 7] and Fourier Neural Operators (FNOs) [8], have further expanded capabilities by efficiently learning mappings between function spaces. Recent hybrid models such as Physics-Informed Neural Operators (PINOs) [9] and physics-informed DeepONets [10] combine these methods, addressing complex multi-scale phenomena and improving generalization.

Building on this broader SciML progress, foundation models have significantly advanced scientific modeling by adopting large-scale pretraining techniques from natural language processing. Models such as ICON [11] leverage in-context learning, enabling zero-shot generalization across diverse PDEs. Multimodal architectures such as PROSE [12] and PROSE-PDE [13] integrate symbolic knowledge with learned representations, effectively generalizing across multiple physics scenarios. Similarly, PDEformer [14] uses transformer-based computational graph representations to provide mesh-free, zero-shot predictions across varied PDEs, demonstrating the extensive potential of pre-trained models for scalable and versatile PDE solutions. PI-MFM [15] further enforces the governing equations during pretraining and adaptation by assembling physics-informed residual losses directly from the symbolic PDE input. These developments show that pretrained scientific models can be reused across families of PDE-related tasks, but most of this progress has focused on solution prediction or operator learning. The present paper instead targets symbolic discovery: the goal is not only to predict a future trajectory, but to recover an explicit governing equation from observed solution data.

Symbolic PDE discovery aims to recover explicit governing equations from data [16]. Sparse-regression methods such as SINDy [17] and PDE-FIND [18] select active terms from predefined candidate libraries. They are efficient and interpretable when the library contains the right terms and derivatives can be estimated accurately, but become fragile when data are low-resolution or noisy, or when the equation contains terms outside the library. UPINN [19] and D-CIPHER [20] address sparse-data and derivative-mismatch regimes, while search-based, physics-constrained, and prior-informed approaches, including Symbolic Physics Learner [21], DISCOVER [22], PhysPDE [23], ABL-PDE [24], and symmetry-informed discovery [25], enlarge or constrain the symbolic hypothesis space at the price of higher computational cost and a separate optimization for every equation instance. In general symbolic regression, differentiable genetic programming relaxes discrete expression trees so that gradient-based optimization can scale tree search to high-dimensional inputs [26]. Transformer-based symbolic models [27, 28], ODEFormer [29], amortized equation discovery [30], and methods based on large language models (LLMs), such as LLM-SR [31] and LLM-SRBench [32], instead treat equation discovery as a reusable prediction or program-generation problem, but existing approaches for PDE discovery remain limited in scope or rely on additional symbolic priors and stage-wise procedures.

Together, these limitations motivate a foundation-model approach to symbolic PDE discovery. In this paper, we use the term foundation model in a local and operational sense: a model pretrained on a broad, canonical collection of one-dimensional time-dependent PDE families and reused across downstream symbolic discovery tasks rather than optimized for one equation instance. The claim rests on three ingredients: coverage of representative PDE structures during pretraining, reuse of one pretrained model across many discovery tasks, and evidence that the learned representation supports parameter generalization and targeted downstream adaptation. Our goal is not to build a universal PDE solver or to claim exhaustive coverage of one-dimensional dynamics. Instead, FoundPDE targets symbolic discovery: it takes discretized spatio-temporal solution data as input and predicts a symbolic expression for the governing PDE. This framing separates the present work from operator-learning models that predict future solution fields; here, the output is an interpretable equation.

We propose FoundPDE, a transformer-based generative foundation model that casts PDE discovery as data-to-symbol sequence generation. The model encodes solution snapshots, optionally augmented with spatial Fourier features and first-order spatial derivative features, and autoregressively decodes a tokenized symbolic PDE representation. A post-processing step then refines the predicted floating-point coefficients without changing the PDE symbolic structure. We evaluate parameter out-of-distribution (OOD) generalization by testing whether PDE families remain recognizable on coefficient supports that are strictly disjoint from the in-domain ranges. We then study few-shot fine-tuning and develop hierarchical discovery as two preliminary routes for extending the model beyond the direct pretraining vocabulary.

Our contributions are as follows. First, we develop a foundation model for direct symbolic discovery of time-dependent one-dimensional PDEs from solution data. Second, we construct a large synthetic training corpus spanning 20 representative PDE families and study how Fourier and derivative augmentations affect type recognition rate (TRR), mean relative coefficient squared error (MRCSE), relative L2L^{2} error, and training cost. Third, we evaluate robustness to multiplicative noise on the model input in sparse-data settings. Finally, we evaluate parameter-OOD generalization, few-shot fine-tuning, and hierarchical discovery, clarifying both the promise and the current limitations of a foundation-model view of symbolic PDE discovery.

References (39)