Out-of-distribution generalization of deep-learning surrogates for 2D PDE-generated dynamics in the small-data regime
Binh Duong Nguyen, Stefan Sandfeld
TL;DR
This work tackles the challenge of out-of-distribution generalization for autoregressive deep-learning surrogates of 2D PDE-generated dynamics in a strict small-data regime. It introduces me-UNet, a periodic-padding convolutional U-Net tailored for incremental time stepping, and benchmarks it against ViT, AFNO, PDE-Transformer, and KAN-UNet across six PDE families on 64×64 periodic grids, using a unified training protocol and physics-aware metrics. The study demonstrates that me-UNet achieves accurate, stable long-horizon rollouts in-distribution and qualitatively robust generalization to unseen initial conditions with as few as ~20 training simulations, outperforming more complex models while requiring substantially less training time. These findings highlight the value of locality-focused inductive biases and periodic boundary alignment for data-efficient surrogate modeling in scientific computing, and they provide a controlled benchmark for evaluating surrogates under realistic small-data constraints, with avenues for extension to 3D, non-periodic domains, and physics-informed constraints.
Abstract
Partial differential equations (PDEs) are a central tool for modeling the dynamics of physical, engineering, and materials systems, but high-fidelity simulations are often computationally expensive. At the same time, many scientific applications can be viewed as the evolution of spatially distributed fields, making data-driven forecasting of such fields a core task in scientific machine learning. In this work we study autoregressive deep-learning surrogates for two-dimensional PDE dynamics on periodic domains, focusing on generalization to out-of-distribution initial conditions within a fixed PDE and parameter regime and on strict small-data settings with at most $\mathcal{O}(10^2)$ simulated trajectories per system. We introduce a multi-channel U-Net [...], evaluate it on five qualitatively different PDE families and compare it to ViT, AFNO, PDE-Transformer, and KAN-UNet under a common training setup. Across all datasets, me-UNet matches or outperforms these more complex architectures in terms of field-space error, spectral similarity, and physics-based metrics for in-distribution rollouts, while requiring substantially less training time. It also generalizes qualitatively to unseen initial conditions with as few as $\approx 20$ training simulations. A data-efficiency study and Grad-CAM analysis further suggest that, in small-data periodic 2D PDE settings, convolutional architectures with inductive biases aligned to locality and periodic boundary conditions remain strong contenders for accurate and moderately out-of-distribution-robust surrogate modeling.
