Pre-Generating Multi-Difficulty PDE Data for Few-Shot Neural PDE Solvers

Naman Choudhary, Vedant Singh, Ameet Talwalkar, Nicholas Matthew Boffi, Mikhail Khodak, Tanya Marwah · DOI

Abstract

Neural Partial Differential Equation (PDE) solvers offer a promising alternative to computationally expensive classical simulations. However, their training requires massive datasets generated by the very solvers they intend to replace. This paper investigates a data-centric approach to mitigate this "chicken-and-egg" problem by strategically mixing "easy" (low-cost) simulation data with a small fraction of "hard" (high-cost) data. Our findings demonstrate that using just 10% of expensive high-fidelity data in a mixed training set can recover nearly all the performance of a model trained exclusively on hard data, resulting in an 8.9x reduction in data-generation compute time.

Introduction

Deep learning has enabled the creation of surrogate models that provide near-instantaneous solutions to complex PDEs. Despite their speed, these models are notoriously data-hungry, particularly when applied to high-fidelity engineering scenarios such as turbulent fluid flow around complex geometries. The high cost of generating this training data using classical numerical methods often offsets the eventual speed benefits of the neural solver.

This research addresses the concept of difficulty transfer: the ability of a model to learn fundamental physical principles from simple, inexpensive simulations and transfer that knowledge to complex, expensive problems with minimal high-fidelity supervision.

Methodology

The study focuses on the 2D incompressible Navier-Stokes equations, systematically varying two primary "axes of difficulty":

  1. Geometry: Progressing from zero obstacles (easy) to a single obstacle (medium) to ten randomly placed square obstacles (hard).
  2. Physics: Increasing the Reynolds number ($Re$) from low ($100–1,000$) to high ($8,000–10,000$), which increases flow turbulence and complexity.
Visualization of the difficulty axes: varying obstacle counts and Reynolds numbers in 2D fluid simulations.

The researchers evaluated this strategy across several architectures, including Convolutional Neural Operators (CNO), Factorized Fourier Neural Operators (F-FNO), and Foundation Models (FM) like Poseidon. Testing was conducted on diverse datasets including Flow Past Object (FPO), Lid-Driven Cavity (LDC), and FlowBench, the latter featuring complex organic shapes to test out-of-distribution generalization.

Key Insights and Results

The 10% Recovery Rule

A pivotal discovery of this work is that replacing 90% of a "hard" training set with "easy" or "medium" data allows models to maintain high accuracy. This suggests that the fundamental physics are largely captured in simpler simulations, while the expensive data is only necessary to refine the model's understanding of complex interactions.

Compute Efficiency

By adopting this data-mixing strategy, the authors achieved an 8.9x compute speedup in wall-clock time for data generation without sacrificing error rates. This efficiency is driven by the "Medium Data Advantage," where single-obstacle simulations provide a superior cost-to-accuracy tradeoff compared to multi-obstacle setups.

High-fidelity simulation of turbulent flow past ten randomly placed obstacles, representing the 'hard' data category.

Foundation Model Performance

Fine-tuning the Poseidon-B foundation model on a mix containing only 10% hard data resulted in a 96% error reduction compared to training on easy data alone. Furthermore, the strategy proved robust when transferring knowledge from simple square obstacles to the irregular, complex geometries found in the FlowBench dataset.

Discussion and Future Work

The results advocate for the development of "foundation datasets"—large, curated collections of medium-difficulty simulations—rather than focusing solely on model architecture. While this study provides a roadmap for 2D fluid dynamics, future work must address the transition to 3D simulations, where turbulence is significantly more complex and data generation costs are exponentially higher. Additionally, automating the curation of these data mixes through active learning could further optimize the compute budget for training next-generation PDE solvers.

Summary updated

BibTeX
@misc{choudhary2025pre,
  author = {Naman Choudhary and Vedant Singh and Ameet Talwalkar and Nicholas Matthew Boffi and Mikhail Khodak and Tanya Marwah},
  title = {{Pre-Generating Multi-Difficulty PDE Data for Few-Shot Neural PDE Solvers}},
  year = {2025},
  eprint = {2512.00564},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2512.00564},
}
Figure