Towards Generalizable PDE Dynamics Forecasting via Physics-Guided Invariant Learning

Siyang Li, Yize Chen, Yan Guo, Ming Huang, Hui Xiong · OpenReview

Abstract

Advanced deep learning-based approaches have been actively applied to forecast the spatiotemporal physical dynamics governed by partial differential equations (PDEs), which acts as a critical procedure in tackling many science and engineering problems. As real-world physical environments like PDE system parameters are always capricious, how to generalize across unseen out-of-distribution (OOD) forecasting scenarios using limited training data is of great importance. To bridge this barrier, existing methods focus on discovering domain-generalizable representations across various PDE dynamics trajectories. However, their zero-shot OOD generalization capability remains deficient, since extra test-time samples for domain-specific adaptation are still required. This is because the fundamental physical invariance in PDE dynamical systems are yet to be investigated or integrated. To this end, we first explicitly define a two-fold PDE invariance principle, which points out that ingredient operators and their composition relationships remain invariant across different domains and PDE system evolution. Next, to capture this two-fold PDE invariance, we propose a physics-guided invariant learning method termed iMOOE, featuring an Invariance-aligned Mixture Of Operator Expert architecture and a frequency-enriched invariant learning objective. Extensive experiments across simulated benchmarks and real-world applications validate iMOOE's superior in-distribution performance and zero-shot generalization capabilities on diverse OOD forecasting scenarios.

Introduction

Predicting the evolution of physical systems—such as weather patterns, fluid flow, or battery degradation—is fundamental to science and engineering. While traditional numerical solvers provide high accuracy, their computational intensity has spurred the development of deep learning alternatives. However, these models often struggle with Out-of-Distribution (OOD) generalization; a model trained on a fluid with a specific viscosity may fail when applied to a different environment. Current solutions typically rely on slow test-time adaptation. This research introduces iMOOE, a framework designed for zero-shot OOD forecasting, enabling accurate predictions on unseen physical environments without additional tuning.

The iMOOE Framework

The core of the proposed solution is the Invariance-aligned Mixture Of Operator Experts (iMOOE). This framework is built upon a "two-fold PDE invariance principle," which posits that while system parameters may change, the underlying physical operators (e.g., diffusion, advection) and their compositional relationships remain invariant.

Overview of the iMOOE framework and the internal structure of individual operator experts.

As illustrated in Figure 5, the architecture consists of three primary pillars:

  1. Operator Invariance: Instead of a single monolithic network, iMOOE employs a bank of parallel "experts." Each expert specializes in a physical sub-process using a masking mechanism to select specific spatial derivatives (e.g., first-order vs. second-order changes).
  2. Compositionality Invariance: A Fusion Network aggregates the outputs of these experts based on the current environment's physical parameters (like the Reynolds number), mimicking the logic of classical numerical operator splitting.
  3. Frequency-Enriched Learning: To combat "spectral bias"—the tendency of neural networks to ignore high-frequency details—iMOOE utilizes a specialized loss function that emphasizes these crucial components, ensuring accuracy even in OOD states.

Experimental Evaluation

The iMOOE framework was rigorously evaluated across five simulated benchmarks (Diffusion-Reaction, Navier-Stokes, Burgers, Shallow-Water, and Heat-Conduction) and complex real-world applications, including Sea Surface Temperature (SST) and airflow velocity around an Airfoil.

Performance comparison of iMOOE against state-of-the-art models across various PDE benchmarks.

The results, summarized in Figure 6, demonstrate that iMOOE consistently outperforms existing baselines. Key findings include:

  • Superior Accuracy: iMOOE achieved a 40.21% average improvement in normalized Mean Squared Error (nMSE) and a 30.78% improvement in frequency-domain error (fRMSE) in zero-shot settings.
  • Computational Efficiency: The model provides a 225x speed-up compared to commercial numerical solvers like COMSOL while maintaining high fidelity.
  • Robustness: In real-world ocean data, iMOOE produced the lowest error and variance, proving its ability to handle the complexity of actual sensory measurements.

Conclusion

iMOOE represents a significant advancement in generalizable physical dynamics forecasting. By embedding physical invariance directly into the model architecture and addressing spectral bias, it achieves robust zero-shot generalization. Future work will explore extending this framework to higher-dimensional systems and unstructured data, aiming for massive-scale Earth system forecasting.

Summary updated

BibTeX
@inproceedings{li2026towards,
  author = {Siyang Li and Yize Chen and Yan Guo and Ming Huang and Hui Xiong},
  title = {{Towards Generalizable PDE Dynamics Forecasting via Physics-Guided Invariant Learning}},
  booktitle = {International Conference on Learning Representations},
  year = {2026},
  url = {https://openreview.net/forum?id=zrQkWSecMR},
}
Figure