NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Bayesian Conditional Diffusion Models for Versatile Spatiotemporal Turbulence Generation

Han Gao, Xu Han, Xiantao Fan, Luning Sun, Li-Ping Liu, Lian Duan, Jian-Xun WangComputer 2023 · DOI

TL;DR

This paper introduces a novel Bayesian conditional diffusion model for generating realistic, spatiotemporal turbulent flows. It unifies unconditional and conditional generation strategies, enabling the creation of complex turbulent scenarios from various inputs and significantly advancing the state-of-the-art in turbulence simulation and surrogate modeling.

What Problem Does This Paper Address?

Simulating turbulent flows, which are ubiquitous in nature and engineering, is notoriously challenging due to their chaotic and stochastic nature. Traditional high-fidelity numerical methods like Direct Numerical Simulation (DNS) and Large Eddy Simulation (LES) are computationally prohibitive for many applications. While deep learning has emerged as a promising alternative for creating faster surrogate models, existing methods often struggle to capture the inherent stochasticity of turbulence, leading to deterministic outputs and potential long-term prediction errors. Furthermore, generating complex, inhomogeneous, and anisotropic turbulence under various conditions, or extending simulations beyond their trained duration, remains a significant challenge.

Methods

The core of this work is a Bayesian conditional diffusion model. Diffusion models work by progressively adding noise to data and then learning to reverse this process to generate new data. This paper extends this by:

  • Unifying Unconditional and Conditional Generation: The framework supports both generating turbulence from scratch (unconditional) and generating it based on specific inputs (conditional).
  • Bayesian Framework: This allows for a more principled way to handle uncertainty and conditioning.
  • Gradient-Based Conditional Sampling: For scenarios where conditions and outcomes have a differentiable relationship (e.g., using low-fidelity simulations as input), the model leverages gradients to guide the generation without retraining. This is a key innovation for flexibility.
  • Concatenation-Based Conditional Generation: For scenarios lacking a clear differentiable link, conditions are directly incorporated into the neural network's input, requiring retraining.
  • Autoregressive Sampling for Long-Span Generation: To generate sequences longer than what the model was trained on, an autoregressive approach is used. This involves generating the flow sequence segment by segment, using the previously generated segment as a condition for the next. This is achieved using both gradient-based and replacement-based autoregressive methods.

Datasets

  • 2D Unsteady Vortex Flows: LES and URANS simulations of a backward-facing step flow were used.
  • 3D Turbulent Channel Flows: DNS data for a turbulent channel flow at Re=180 was used.
  • 3D Compressible Supersonic Turbulent Boundary Layers: DNS data for a hypersonic turbulent boundary layer flow (Mach 6) was used.

Key Insights and Ideas

  • Bridging Fidelity Gaps: The model can generate high-fidelity LES-like turbulence from low-fidelity URANS simulations, effectively "upscaling" the information.
  • Stochasticity is Key: Unlike deterministic DL models, diffusion models inherently capture the probabilistic nature of turbulence, leading to more diverse and realistic generated samples.
  • Conditional Generation without Retraining: The gradient-based conditioning method is a significant advancement, allowing for flexible generation based on various inputs without the need for costly retraining.
  • Long-Span Generation is Achievable: The autoregressive approach successfully extends the generation of turbulent flow sequences beyond the training length, crucial for many applications.
  • Beyond Replication: The model doesn't just replicate or upscale existing data; it appears to generate novel turbulent features, advancing beyond mere imitation.

Key Results

  • Backward-Facing Step: Generated LES-like flows from URANS inputs showed good agreement with LES statistics, particularly in capturing energy spectra and mean velocity/fluctuation profiles, outperforming URANS in the fully developed stage.
  • Turbulent Channel Flow: The model successfully generated instantaneous 3D velocity fields from scratch, conditioned on initial conditions, or statistical data, with generated statistics closely matching DNS.
  • Supersonic Turbulent Boundary Layer: The model demonstrated impressive super-resolution capabilities, generating high-resolution flow fields from very low-resolution inputs, with generated fields closely resembling DNS and significantly outperforming trilinear interpolation.
  • Computational Efficiency: The diffusion model showed substantial speedups (e.g., ~490x faster than OpenFOAM DNS on CPU, ~16x faster than GPU-enabled CFD solver) for surrogate modeling tasks.

Limitations and Future Work

  • Differentiable vs. Non-Differentiable Conditions: While the gradient-based method is powerful for differentiable conditions, non-differentiable cases still require retraining.
  • Hyperparameter Tuning: Balancing terms in conditional sampling (e.g., importance of unconditional vs. conditional gradients) requires careful tuning.
  • Future Work:
    • Enhancing estimation accuracy for differentiable conditions via refined sampling.
  • Exploring reinforcement learning and ensemble Kalman filtering for non-differentiable conditions.
  • Adapting the model for large-scale, graph-based data and unstructured meshes.
  • Further investigation into computational efficiency for more complex 3D simulations.

Summary updated

BibTeX
@inproceedings{gao2023bayesian,
  author = {Han Gao and Xu Han and Xiantao Fan and Luning Sun and Li-Ping Liu and Lian Duan and Jian-Xun Wang},
  title = {{Bayesian Conditional Diffusion Models for Versatile Spatiotemporal Turbulence Generation}},
  booktitle = {Computer},
  year = {2023},
  doi = {10.1016/j.cma.2024.117023},
}
Figure