Abstract
PI-MFM (Physics-Informed Multimodal Foundation Model) is a framework that combines the generalization capabilities of foundation models with the physical consistency of Physics-Informed Neural Networks (PINNs). By treating symbolic PDE expressions as a primary input modality, PI-MFM can automatically generate and enforce physical constraints across diverse equation families. This allows the model to solve new physics problems even in the absence of labeled data through zero-shot physics-informed fine-tuning.
Introduction
Solving partial differential equations (PDEs) is fundamental to science and engineering, yet traditional methods often face a trade-off between generalization and efficiency. Physics-Informed Neural Networks (PINNs) are physically grounded but must be retrained for every new equation. Conversely, Operator Learners like DeepONet or FNO generalize across inputs but are typically data-hungry and treat physics as a black box, often failing when labeled data is sparse or noisy.
PI-MFM addresses this gap by creating a "generalist" model that reads symbolic PDEs and automatically assembles physics-based loss functions. This enables the model to maintain physical consistency while generalizing across diverse equation families, even in data-scarce regimes.
Methodology
The PI-MFM framework is built upon a transformer-based multimodal backbone. It processes two primary inputs: numerical data and symbolic PDE expressions.
Symbolic PDE Encoding
The model represents PDEs in Polish (prefix) notation (e.g., ut + q*ux = 0 becomes a sequence of tokens like [add, ut, mul, q, ux]). This allows the Symbol Encoder to understand the underlying mathematical structure of operators rather than just treating coefficients as numerical values.
Automated Physics Loss Assembly
A key innovation is the automated construction of the PDE residual loss. PI-MFM parses symbolic inputs to build expression trees, which are then used to compute derivatives on the fly.
The training objective combines supervised data loss with these automatically generated PDE residuals and boundary condition constraints. The authors utilize Forward-mode Automatic Differentiation (AD) for efficiency in handling the block-diagonal Jacobian structures inherent in multi-operator learning, avoiding the memory overhead of standard reverse-mode AD.
Datasets and Evaluation
The model was benchmarked on 13 parametric 1D time-dependent PDE families:
- Training/Testing Families (10): Advection, Diffusion, Diffusion-Reaction (Linear, Logistic, Square Logistic), and Conservation Laws (Cubic, Linear, Sine Flux), plus Klein-Gordon and Sine-Gordon equations.
- Unseen Downstream Families (3): Burgers’ equation, Wave equation, and Diffusion-Bistable reaction. These were used to evaluate the model's ability to generalize to physics never encountered during pretraining.
Key Results and Insights
- Data Efficiency and Robustness: PI-MFM significantly outperforms data-only models on sparse grids and remains stable even with 1000% noise in training data, as the physics loss anchors the model to true dynamics.
- Zero-Shot Adaptation: A pretrained PI-MFM can be fine-tuned on entirely unseen PDE families using only the physics residual. It achieves ~1% error rapidly without any labeled solution data for the new family, proving that the "foundation" knowledge of operators is transferable.
- Physics as a Regularizer: In data-scarce scenarios, the physics loss prevents "hallucinations," providing a powerful inductive bias that ensures physical plausibility.
- Resampling Strategy: Randomly resampling collocation points at every iteration was found to be more effective than a fixed grid, forcing the model to satisfy physics across the entire continuous domain.
Conclusion
PI-MFM demonstrates that integrating symbolic physics knowledge into foundation models enables superior generalization and data efficiency. While currently limited to 1D time-dependent PDEs, future work will focus on scaling to higher dimensions (2D/3D), implementing adaptive sampling techniques, and integrating with classical numerical solvers to further enhance accuracy and reliability in complex engineering applications.
Summary updated