Turbulent Flow Simulation using Autoregressive Conditional Diffusion Models

Georg Kohl, Li-Wei Chen, Nils Thuerey · DOI

Abstract

Simulating turbulent fluid dynamics is a cornerstone of computational physics, yet it remains challenging for deep learning models due to the chaotic nature of the underlying equations and the tendency for errors to accumulate during long-term rollouts. This paper introduces Autoregressive Conditional Diffusion Models (ACDMs), a probabilistic framework that treats next-step prediction as a denoising task. By conditioning the diffusion process on previous states and introducing noise to these conditions during training, ACDMs achieve unprecedented stability and spectral accuracy. We evaluate ACDMs on a variety of 2D flow scenarios, demonstrating their ability to generate physically plausible, multi-modal trajectories where deterministic models fail.

Introduction

Traditional numerical solvers for Partial Differential Equations (PDEs) are computationally expensive, leading to a surge in interest in deep learning-based surrogates. However, these neural solvers often struggle with two primary issues: temporal instability and the "blurring" effect caused by deterministic loss functions like Mean Squared Error (MSE). In chaotic systems like turbulence, a single deterministic prediction often represents an unphysical average of possible futures. ACDMs address these challenges by leveraging the generative power of diffusion models within an autoregressive framework.

Methodology

The core of the ACDM approach is the transformation of the prediction task into a conditional generation problem. Instead of a direct mapping $s_t \to s_{t+1}$, the model learns to recover the state $s_{t+1}$ from Gaussian noise, conditioned on a window of previous states.

Training and inference procedures for the Autoregressive Conditional Diffusion Model.

As shown in Figure 5, the training process involves a forward diffusion chain that adds noise to the target data, while the model learns the reverse process $p_\theta$ to reconstruct the clean state. A critical innovation is the addition of noise to the conditioning states themselves during training. This "conditioning noise" forces the model to become robust to the small numerical errors that naturally accumulate during a long simulation, preventing the "explosion" of errors typical in standard autoregressive models.

The autoregressive rollout process and state composition.

The simulation proceeds through an autoregressive rollout (Figure 6), where each predicted state becomes part of the conditioning for the next step. The state $s^t$ typically includes physical fields such as velocity, density, and pressure, along with dimensionless parameters like the Reynolds ($Re$) and Mach ($Ma$) numbers.

Experiments and Datasets

The models were benchmarked on three 2D scenarios of increasing complexity:

  1. Incompressible Wake Flow (Inc): A classic Karman vortex street behind a cylinder.
  2. Transonic Cylinder Flow (Tra): A challenging case involving shock waves and high Mach numbers.
  3. Isotropic Turbulence (Iso): 2D slices from a 3D turbulence database, representing an underdetermined and highly chaotic system where probabilistic modeling is vital.

Baselines included Fourier Neural Operators (FNOs), Dilated ResNets, Latent-space Transformers, and the PDE-Refiner.

Results and Discussion

ACDMs demonstrated exceptional stability, maintaining physical validity for up to 200,000 time steps, whereas baseline models often diverged almost immediately. In terms of accuracy, ACDMs provided the highest spectral fidelity, preserving high-frequency details that MSE-trained models typically smooth out. For the Isotropic Turbulence case, the model successfully generated a diverse posterior distribution of futures, capturing the inherent uncertainty of the system.

While ACDMs offer superior accuracy and stability, they come with a significant computational trade-off. Inference requires multiple network passes (typically 20–100) per time step, making them roughly 20x to 100x slower than single-pass deterministic models.

Conclusion

Autoregressive Conditional Diffusion Models represent a significant step forward in stable, probabilistic fluid simulation. By combining the self-correcting nature of diffusion with robust conditioning, they overcome the primary hurdles of neural PDE solvers. Future work will focus on reducing inference overhead through distillation and extending the framework to full 3D simulations.

Summary updated

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