Benchmarking Autoregressive Conditional Diffusion Models for Turbulent Flow Simulation

Georg Kohl, Liwei Chen, Nils Thuerey

TL;DR

This paper benchmarks autoregressive conditional diffusion models (ACDMs) for simulating turbulent fluid flows, a notoriously difficult problem for machine learning models due to temporal stability challenges. The authors find that ACDMs offer a compelling balance of accuracy, temporal stability, and the ability to generate diverse, physically plausible predictions, often outperforming established methods.

What Problem Does This Paper Address?

Simulating turbulent fluid flows is critical for numerous scientific and engineering applications. While machine learning models show promise for accelerating these simulations, a major hurdle is maintaining temporal stability and accuracy over long prediction horizons. This is particularly challenging for chaotic systems like turbulent flows, where small initial errors can quickly lead to drastically different outcomes. Existing learned solvers often struggle to generalize and produce reliable long-term predictions. This paper investigates whether autoregressive conditional diffusion models can effectively address these limitations.

Methods

The core of this work is the application and benchmarking of autoregressive conditional diffusion models (ACDMs) for fluid flow prediction. ACDMs build upon diffusion models, which learn to generate data by progressively denoising random noise. In this context, the diffusion process is conditioned on previous simulation states (autoregressive) and other relevant parameters (like Reynolds or Mach numbers). This allows the model to predict the next time step in a fluid simulation. The authors compare ACDMs against a variety of established architectures, including U-Nets with different stabilization techniques (unrolling, training noise), ResNets, Fourier Neural Operators (FNOs), and latent-space transformers. The benchmarking focuses on accuracy, posterior sampling (generating multiple plausible future states), spectral behavior, and temporal stability.

Datasets

The paper utilizes three challenging 2D fluid flow datasets for training and evaluation:

  • Incompressible Wake Flow (Inc): Simulates a Karman vortex street behind a cylinder, with varying Reynolds numbers.
  • Transonic Cylinder Flow (Tra): Involves a cylinder in a transonic flow regime, exhibiting shock waves and complex dynamics.
  • Isotropic Turbulence (Iso): Uses 2D slices of 3D isotropic turbulence data, representing a highly underdetermined problem.

These datasets are designed to test generalization to out-of-distribution parameters and include scenarios with chaotic behavior.

Key Insights and Ideas

  • Diffusion Models Shine in Chaos: ACDMs demonstrate a remarkable ability to handle the inherent chaos and underdetermined nature of turbulent flows, particularly in the isotropic turbulence scenario, where other models struggle.
  • Probabilistic Power: The probabilistic nature of diffusion models allows for generating diverse and physically plausible future states, which is crucial for understanding the range of possible outcomes in turbulent systems. This is a significant advantage over deterministic models.
  • Stability Through Iteration: The iterative denoising process inherent in diffusion models appears to contribute to improved temporal stability, allowing for longer and more reliable rollouts compared to many traditional learned solvers.
  • Competitive Even When Simple: Even relatively simple diffusion-based approaches can outperform more complex, established methods in terms of accuracy and temporal stability, especially when dealing with challenging flow regimes.

Key Results

  • ACDMs achieve competitive accuracy and temporal stability, often outperforming established methods like U-Nets with unrolling or training noise.
  • For the challenging isotropic turbulence dataset, ACDMs show significantly better performance than transformer-based models, which struggle with the high-frequency details.
  • The probabilistic nature of ACDMs allows for generating diverse posterior samples that statistically align with the underlying physics, a key advantage for understanding uncertainty.
  • While ACDMs are more computationally expensive during inference due to the diffusion steps, they offer a compelling trade-off for improved stability and probabilistic prediction capabilities.

Limitations and Future Work

  • Inference Cost: ACDMs are more computationally expensive during inference compared to deterministic, single-pass models due to the iterative diffusion process.
  • Hyperparameter Sensitivity: While ACDMs are generally robust, certain hyperparameters (like the number of diffusion steps) can influence the accuracy-stability trade-off, requiring careful tuning for specific problems.
  • Future Directions: The authors suggest exploring advancements in diffusion model sampling procedures (e.g., distillation) to improve inference speed. They also highlight the potential for applying these models to larger, 3D turbulent flows and other complex PDEs.

Summary updated

BibTeX
@inproceedings{kohl2024benchmarking,
  author = {Georg Kohl and Liwei Chen and Nils Thuerey},
  title = {{Benchmarking Autoregressive Conditional Diffusion Models for Turbulent Flow Simulation}},
  booktitle = {AI4Science @ ICML},
  year = {2024},
  url = {https://openreview.net/forum?id=5EdFkEmjr3},
}
Figure