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

On conditional diffusion models for PDE simulations

Aliaksandra Shysheya, Cristiana Diaconu, Federico Bergamin, Paris Perdikaris, José Miguel Hernández-Lobato, Richard E. Turner, Emile Mathieu

Abstract

Score-based diffusion models have emerged as a powerful tool for probabilistic modeling in physical sciences. However, applying them to partial differential equation (PDE) simulations requires addressing challenges in long-term stability and the integration of sparse observations. This paper presents a suite of improvements, including autoregressive (AR) sampling and a "universal" training strategy, that enable a single model to perform both forecasting and data assimilation. Evaluated on chaotic systems like Kuramoto-Sivashinsky and Kolmogorov flow, the proposed methods demonstrate significant improvements in simulation accuracy and flexibility over standard "all-at-once" approaches.

Introduction

Numerical solvers for PDEs are essential for modeling complex systems in weather forecasting and fluid dynamics. While machine learning surrogates offer speed, they often lack the flexibility to handle both forecasting (predicting future states from an initial condition) and data assimilation (incorporating sparse, noisy observations to correct trajectories). Diffusion models provide a promising framework for conditional generation, but standard implementations struggle with long-range rollouts and varying context lengths. This work addresses these gaps by refining sampling and training strategies for score-based models.

Methodology

The authors explore two primary diffusion paradigms: Joint models, which learn the prior distribution and use reconstruction guidance for conditioning, and Amortised models, which are trained to predict future states given a history. Three core innovations are introduced:

  1. Autoregressive (AR) Sampling: Instead of generating long trajectories "all-at-once" (AAO), the model generates sequential chunks. This respects the Markovian nature of physical systems, where the next state depends primarily on the current one, leading to enhanced stability.
  2. Universal Amortisation: To prevent performance degradation when the history length at test time differs from training, models are trained on a random uniform distribution of history lengths.
  3. Hybrid Conditioning: This approach combines amortisation for past history with reconstruction guidance for future sparse observations, enabling real-time data assimilation.

Experimental Evaluation

The models were benchmarked on the 1D Kuramoto-Sivashinsky (KS) and 2D Kolmogorov Flow datasets. AR sampling significantly outperformed AAO methods in maintaining "high correlation times"—the duration for which the simulation remains physically accurate.

Comparison of high correlation times against standard ML benchmarks for KS and Kolmogorov datasets.

As shown in the benchmark comparisons in Figure 1, the diffusion-based models achieve competitive performance against state-of-the-art baselines like Fourier Neural Operators (FNO) and PDE-Refiner. Notably, the Universal Amortised model demonstrates remarkable robustness across varying conditioning scenarios.

Performance of different models across varying conditioning scenarios (P generated states | C conditioned states) for KS and Kolmogorov datasets.

Figure 2 illustrates that while standard amortised models are sensitive to the ratio of predicted (P) to conditioned (C) states, the Universal Amortised strategy maintains high performance even with minimal history. This flexibility is crucial for online data assimilation where the available context may fluctuate, allowing the model to pivot from a standard forecaster to an inverse problem solver as data becomes available.

Discussion and Conclusion

The proposed enhancements to conditional diffusion models provide a robust framework for PDE simulation. While AR sampling increases computational cost due to sequential passes, it offers a path toward stable, long-term physical modeling. Future work will focus on optimizing sampling speed and scaling these methods to 3D simulations, which will further test the memory and efficiency limits of score-based architectures.

Summary updated

BibTeX
@inproceedings{shysheya2024conditional,
  author = {Aliaksandra Shysheya and Cristiana Diaconu and Federico Bergamin and Paris Perdikaris and José Miguel Hernández-Lobato and Richard E. Turner and Emile Mathieu},
  title = {{On conditional diffusion models for PDE simulations}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2024},
  url = {https://openreview.net/forum?id=nQl8EjyMzh},
}
Figure