Physics-informed fine-tuning of foundation models for partial differential equations
Organizations: Department Modeling and Artificial Intelligence Fraunhofer Institute for Integrated Systems and Device Technology IISB Schottkystrasse 10, 91058 Erlangen, Germany
Abstract
Foundation models for partial differential equations (PDEs) have emerged as powerful surrogates pre-trained on diverse physical systems, but adapting them to new downstream tasks remains challenging due to limited task-specific data and distribution shifts. While fine-tuning has proven transformative in natural language processing, best practices for adapting PDE foundation models remain underexplored. Although physics-informed training has successfully trained accurate solvers across a wide range of PDE problems, its potential for fine-tuning data-based foundation models has not been systematically studied. In this work, we introduce a physics-informed fine-tuning framework that adapts pre-trained PDE foundation models by incorporating physical constraints (PDE residuals and boundary conditions) directly into the fine-tuning objective. This enables effective adaptation in data-scarce regimes while promoting physical consistency. We evaluate our method on a downstream task composed of an unseen PDE class and compare it with data-driven finetuning counterparts. Our results demonstrate that physics-informed fine-tuning achieves competitive accuracy without requiring PDE solutions for training. Furthermore, a hybrid fine-tuning strategy yields superior generalization to out-of-distribution scenarios when only minimal training data is available. These findings establish physics-informed fine-tuning as a scalable and data-efficient paradigm, providing a physically interpretable pathway for adapting foundation models in scientific machine learning.
Figures & tables
| Poseidon -T | FNO | |
| Learning paradigm | - Data-driven ( Herde et al., 2024 ) - Physics-informed (this work) - Hybrid (this work) | - Data-driven ( Li et al., 2020 ) - Physics-informed ( Medvedev et al., 2025 ) |
| Training time | 0 h 37 min | 1 h 1 min |
| Inference time | 1.6ms | 1.7ms |
| Parameters | 21M | 21M |
| GFLOPs | 0.3e3 | 1.7e3 |
Appendix figures & tables2 assets
Supplementary material from the paper’s appendix.
Appendix
Residuals Are Not Enough: Limits of Physics-Informed Pre-Training for Scientific Foundation Models
nice,'' e.g., structured, well-aligned settings: it enhances generalization and reduces data dependence, compared to data-only pre-training. However, these advantages diminish significantly as the downstream tasks become harder,'' e.g., as they involve discontinuities or deviate from the pre-training distribution. In complex or structurally different problems, such as those involving new boundary conditions or PDE operators, physics-informed models may perform only on par with---or even worse---than data-driven baselines. While residual-based pre-training helps in idealized regimes, realizing broadly transferable SciFMs will likely require subtler spatiotemporal inductive biases and more principled integration of physical knowledge into model architectures.