Scale-Consistent Learning for Partial Differential Equations

Zongyi Li, Samuel Lanthaler, Catherine Deng, Michael Chen, Yixuan Wang, Kamyar Azizzadenesheli, Anima AnandkumararXiv 2025 · DOI

Abstract

Machine learning models for partial differential equations (PDEs) often fail to generalize across different physical scales, a limitation known as being "scale-locked." This paper introduces a framework for scale-consistent learning that leverages the inherent scale invariance of physical laws. By incorporating a scale-consistency loss and a scale-informed neural operator, the authors enable models to generalize across vastly different physical scales. The approach results in a 34% average error reduction across classic benchmarks and demonstrates robust zero-shot extrapolation to unseen physical regimes.

Introduction

In physics, the principle of nondimensionalization suggests that physical laws should remain consistent regardless of the scale of observation—whether observing water in a pipe or an ocean current. However, standard neural networks for Partial Differential Equations (PDEs) typically treat every scale as a distinct problem. A model trained on the Navier-Stokes equations at a specific Reynolds number ($Re=1000$) often fails to generalize to $Re=5000$ or different domain sizes.

To address this "tunnel vision," researchers from Caltech and NVIDIA propose a method to teach AI the universal language of physics through scale-aware architectures and loss functions.

Methodology: Enforcing Scale Invariance

The core innovation lies in two primary components: a scale-consistency loss and a scale-informed neural operator.

Scale-Consistency Loss

This self-supervised objective leverages the fact that a PDE solution on a small sub-domain should be identical to the solution obtained by rescaling that sub-domain to a unit size and solving it with appropriately adjusted parameters. The model is penalized if its "zoomed-in" prediction deviates from its "global" prediction. Crucially, this method explicitly incorporates boundary values into the scaling logic, a step previously overlooked that is vital for effective generalization.

The scale-consistency loss mechanism ensures that model predictions on a rescaled sub-domain remain consistent with the global solution.

Scale-Informed Neural Operator

Building on the Fourier Neural Operator (FNO), the authors designed an architecture that explicitly takes scale parameters (such as $Re$ or wavenumber $k$) as inputs. These parameters are embedded directly into the Fourier space. The architecture utilizes a multi-band U-shape structure within the frequency domain to capture both coarse (low-frequency) and fine (high-frequency) details efficiently.

Experimental Evaluation

The framework was evaluated on four classic PDE benchmarks: Darcy Flow, Burgers’ Equation, the Helmholtz Equation, and the Navier-Stokes Equations. These datasets represent a wide range of physical phenomena, from steady-state flow to chaotic fluid dynamics.

The proposed method handles multiscale phenomena across various physical systems, including varying wavenumbers in Darcy and Helmholtz equations and Reynolds numbers in Navier-Stokes flow.

Key Results

  • Generalization and Extrapolation: The models demonstrated remarkable "zero-shot" extrapolation capabilities. For instance, a model trained only at $Re=1000$ successfully generalized to $Re=10,000$, a regime characterized by significantly higher turbulence.
  • Accuracy Improvements: Across all benchmarks, scale-consistent models reduced prediction error by an average of 34% compared to standard baselines like FNOs and UNets.
  • Efficiency: The scale-informed model achieved high accuracy while using only 1/10th of the parameters of standard FNOs, though the architectural complexity results in approximately double the runtime.

Discussion and Insights

The success of this approach highlights the value of using the mathematical structure of PDEs—specifically scale invariance—as a regularizer. Instead of relying solely on massive datasets, the authors use physics-aware constraints to guide the model. By sharing weights in Fourier space and modulating them with scale features, the model learns a universal representation of physics that adapts to the specific "zoom level" of the input.

Conclusion and Future Work

While highly effective, the method assumes the system is governed by the same PDE across all scales. It does not yet account for "emergent physics" where continuum mechanics might break down at extremely small scales. Future research may involve integrating this framework with generative models, such as diffusion models, to synthesize high-scale data for even more robust training. This work represents a significant step toward AI models that truly understand the multiscale nature of the physical world.

Summary updated

BibTeX
@misc{li2025scale,
  author = {Zongyi Li and Samuel Lanthaler and Catherine Deng and Michael Chen and Yixuan Wang and Kamyar Azizzadenesheli and Anima Anandkumar},
  title = {{Scale-Consistent Learning for Partial Differential Equations}},
  year = {2025},
  eprint = {2507.18813},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2507.18813},
}
Figure