Towards Generalizable PDE Dynamics Forecasting via Physics-Guided Invariant Learning

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

TL;DR

This paper introduces iMOOE (Invariance-aligned Mixture Of Operator Experts), a physics-guided invariant learning framework designed to achieve zero-shot out-of-distribution (OOD) generalization in partial differential equation (PDE) dynamics forecasting. By explicitly formalizing a two-fold physical invariance principle—invariant ingredient operators and their composition relationships—the method eliminates the need for costly test-time adaptation or retraining when encountering unseen physical environments.

What Problem Does This Paper Address?

Deep learning models, particularly neural operators like Fourier Neural Operators (FNOs), have become powerful tools for predicting spatiotemporal physical systems governed by PDEs (e.g., weather patterns, fluid dynamics). However, real-world physical systems are highly capricious; parameters like viscosity, diffusion coefficients, or external forcing terms constantly change.

When standard deep learning models encounter these out-of-distribution (OOD) scenarios, their performance degrades significantly. Existing generalizable methods attempt to fix this using meta-learning or parameter conditioning, but they still require extra test-time samples and fine-tuning to adapt to a new domain. This paper addresses the challenge of zero-shot OOD generalization: forecasting physical dynamics under entirely unseen parameters or initial conditions without any test-time data or retraining.

Methods

The authors bridge the OOD gap by introducing a two-fold PDE invariance principle:

  1. Operator Invariance: The underlying spatial operators (like the Laplacian or advection terms) represent distinct, invariant physical processes.
  2. Compositionality Invariance: The structural relationship used to combine these operators and exogenous conditions remains fixed for a given system.

To instantiate this principle, they propose the iMOOE framework, which consists of two main components:

  • Invariance-Aligned Mixture of Operator Experts (MoE): Instead of a standard serial operator splitting approach, iMOOE deploys a parallel bank of neural operator experts. Each expert adaptively selects specific pre-computed spatial derivatives using a learned binary mask vector, enforced by a mask diversity loss to ensure the experts specialize in different physical processes. A Fusion Network then aggregates these expert outputs, conditioning them on physical parameters and forcing terms.
  • Frequency-Enriched Invariant Learning Objective: The model is optimized using a hybrid loss function. It combines a maximal prediction loss with a Risk Equality Loss (which minimizes prediction error variance across different training environments and autoregressive steps). Crucially, it incorporates a Frequency Enrichment Loss using Fast Fourier Transforms (FFT) to penalize high-frequency errors, directly mitigating the "spectral bias" common in neural operators that typically ignore fine-grained high-frequency physical features.
Overview of the iMOOE framework and its individual operator expert design.

Datasets

The framework was evaluated across a diverse set of benchmarks:

  • Simulated PDE Systems: Diffusion-Reaction (DR), Navier-Stokes (NS), Burgers (BG), Shallow-Water (SW), and Heat-Conduction (HC) equations. OOD scenarios were created by varying initial conditions, PDE coefficients, forcing terms, and temporal resolutions.
  • Real-World Ocean-Atmosphere Dynamics: Sea Surface Temperature (SST) forecasting in the Pacific Ocean and Stereo Sea Surface Elevation (SSE) wave dynamics.
  • Irregular Domains: The Airfoil forecasting benchmark, testing the model's capability on non-uniform triangular meshes.

Key Insights and Ideas

  • Parallel Over Serial Splitting: Traditional numerical methods solve split operators serially (the output of one is the input to the next), which is computationally slow for neural networks. Stacking operator experts in parallel allows for efficient, plug-and-play integration with existing neural operator backbones.
  • Step-Wise Environment Partitioning: Beyond partitioning training data by physical parameters, the authors treat different autoregressive rollout steps as distinct environments. This accounts for covariate shifts during long-term forecasting while exploiting the fact that the underlying physics transition law remains invariant across time steps.
  • Conquering Spectral Bias for OOD: Neural networks naturally prioritize low-frequency features. However, OOD physical systems often manifest distinct high-frequency behaviors (like sharp wave crests or turbulence). Explicitly forcing the network to learn high-frequency representations via the frequency enrichment loss proved vital for robust OOD generalization.
Structural Causal Model (SCM) and ID-OOD correlation analysis showing how iMOOE captures transferrable knowledge.

Key Results

  • State-of-the-Art OOD Performance: Across the simulated benchmarks, iMOOE achieved SOTA zero-shot OOD results, yielding an average reduction of 40.21% in normalized Mean Squared Error (nMSE) and 30.78% in fourier Root Mean Squared Error (fRMSE) compared to competitive baselines.
  • Universality: The architecture functions as a plug-and-play upgrade. Adding iMOOE to vanilla backbones like FNO, DeepONet, VCNeF, and OFormer consistently improved their OOD generalization and reduced performance variance.
  • Massive Computational Speedup: In runtime comparisons on Burgers equation data, deep learning methods (including iMOOE) achieved a ~225× speedup over the commercial numerical solver COMSOL, demonstrating immense practical value for real-time engineering design and control.

Limitations and Future Work

The authors note that while iMOOE demonstrates excellent zero-shot capabilities, it has currently been validated on a relatively limited diversity of physical systems. For future work, they plan to extend the framework to handle more complex irregular grids natively and scale it up to macro-scale real-world applications such as comprehensive earth system and global weather 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