Towards Generalizable PDE Dynamics Forecasting via Physics-Guided Invariant Learning

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

This paper introduces iMOOE, a framework designed to tackle a major hurdle in AI for Science: making neural networks robust enough to forecast physical systems under unseen, out-of-distribution (OOD) conditions without test-time fine-tuning.

The Out-of-Distribution Challenge in PDEs

Predicting how physical systems evolve over time—such as weather patterns or fluid flow—traditionally involves solving Partial Differential Equations (PDEs). While deep learning has accelerated these predictions compared to numerical solvers, neural networks are notoriously brittle. If a model is trained on a fluid with one viscosity and tested on another, its performance often collapses.

Existing solutions typically rely on meta-learning or parameter conditioning, which almost always require a few samples from the new environment to adapt. In many real-world engineering tasks, test-time data is unavailable. The goal is zero-shot generalization: the ability to accurately forecast a brand-new system immediately.

Methods: Physics-Guided Invariant Learning

The authors argue that the key to zero-shot generalization lies in Physical Invariance. They propose a "two-fold PDE invariance principle":

  1. Operator Invariance: The basic physical building blocks (like diffusion or advection operators) remain consistent across different domains.
  2. Compositionality Invariance: The way these blocks combine to form the full PDE remains fixed for a specific type of system.

To capture these principles, the authors developed iMOOE (Invariance-aligned Mixture Of Operator Experts).

Overview of the iMOOE framework and individual operator experts.
  • Mixture of Operator Experts (MoE): Instead of a single monolithic network, iMOOE uses a set of parallel "expert" neural operators. A mask diversity loss forces different experts to focus on different spatial derivatives (e.g., first-order vs. second-order gradients), preventing redundant learning.
  • Fusion Network: This component aggregates the experts' outputs and incorporates external physical parameters (like the Reynolds number) to reconstruct the full dynamics.
  • Frequency-Enriched Invariant Learning: To combat "spectral bias"—where networks easily learn smooth, low-frequency patterns but miss sharp, high-frequency details—a specific loss term penalizes errors in the Fourier domain. This forces the model to capture fine-grained physics.
  • Risk Equality Loss: Borrowed from invariant learning theory, this loss ensures the model performs consistently across different training environments, preventing it from relying on spurious, domain-specific correlations.

Datasets

The framework was rigorously evaluated across multiple domains:

  • Simulated Benchmarks: Five standard PDE systems: Diffusion-Reaction (DR), Navier-Stokes (NS), Burgers (BG), Shallow-Water (SW), and Heat-Conduction (HC).
  • Real-World Data: Sea Surface Temperature (SST) and Sea Surface Elevation (SSE) datasets, featuring noisy, complex ocean dynamics.
  • Irregular Domains: An Airfoil dataset simulated on complex, non-uniform triangular meshes.

Key Insights

  • Parallelism vs. Serialism: Traditional numerical "operator splitting" is serial. iMOOE uses a parallel architecture that mimics this logic but is significantly more computationally efficient for neural networks.
  • Discovering Derivatives: By feeding pre-calculated spatial derivatives into the experts and using a diversity mask, the model "discovers" the underlying differential operators rather than just memorizing pixel patterns.
  • Universal Compatibility: iMOOE is a flexible framework that can be integrated with various backbones—like Fourier Neural Operators (FNO), DeepONet, and Transformers—significantly boosting their OOD performance.

Key Results

iMOOE demonstrates remarkable robustness and accuracy across diverse forecasting scenarios.

Performance comparison of iMOOE against baseline models across five PDE datasets.
  • State-of-the-Art Performance: iMOOE achieved SOTA results across all five simulated PDEs, with an average improvement of 40.21% in nMSE (normalized Mean Squared Error) compared to the next best generalizable models.
  • Zero-Shot Success: Unlike meta-learning baselines (like CoDA or GEPS) that require few-shot adaptation, iMOOE outperformed them entirely zero-shot, even when baselines were given extra test-time data.
  • Real-World Robustness: On the SST and SSE datasets, iMOOE maintained the lowest error and variance, proving its capability to handle capricious real-world physical environments.
  • Efficiency: Despite utilizing multiple experts, inference time remains highly competitive (e.g., 0.11s for iMOOE vs. 0.05s for a vanilla FNO), making it practical for real-time applications.

Limitations and Future Work

  • Expert Scaling: More experts do not always yield better results. Moving from 3 to 4 experts sometimes decreased performance due to redundancy and overfitting. Finding the optimal number of experts for a given PDE remains an open question.
  • Dimensionality: While results on 2D and 3D systems are impressive, scaling to higher-dimensional or highly chaotic systems (like full-scale global climate models) requires further research.
  • Irregular Grids: Although the authors demonstrated adaptation for irregular grids, native integration for unstructured meshes is a promising path for future work.

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