Guided Autoregressive Diffusion Models with Applications to PDE Simulation

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

TL;DR

This paper introduces GuARD (Guided AutoRegressive Diffusion model), a novel approach for simulating partial differential equations (PDEs) that significantly reduces computational cost. GuARD leverages diffusion models to learn PDE dynamics from short trajectory segments and can then generate long, accurate predictions for both forecasting and data assimilation tasks, outperforming existing methods.

What Problem Does This Paper Address?

Solving PDEs is fundamental to science and engineering, but traditional numerical methods are computationally expensive, requiring high space-time resolution. This becomes a bottleneck when the same PDE needs to be solved many times with varying initial conditions or parameters. While data-driven methods offer a promising alternative, accurately predicting long trajectories and incorporating sparse observations (data assimilation) remain significant challenges due to accumulating errors and the difficulty of handling conditional sampling.

Methods

The core of GuARD is a Guided AutoRegressive Diffusion model. It builds upon existing diffusion model frameworks but introduces key innovations:

  • Joint Diffusion Model: GuARD is trained on short segments of PDE trajectories, learning a "local score" that captures the dynamics within these segments.
  • Autoregressive Sampling: For generating long trajectories, GuARD samples states iteratively. Each new state is conditioned on previously generated states, allowing for flexible prediction horizons.
  • Reconstruction Guidance: This technique, adapted from prior work, allows GuARD to incorporate sparse observations (data assimilation) by guiding the sampling process towards states consistent with these observations.
  • Effective Markov Order: Unlike previous autoregressive diffusion models that struggled with higher Markov orders, GuARD effectively leverages them, leading to better modeling of complex dynamics.

The paper contrasts GuARD with "amortized" diffusion models, which directly learn conditional scores, and "all-at-once" (AAO) sampling strategies.

Datasets

The authors evaluate GuARD on two standard benchmark PDEs:

  • Burgers' Equation: A non-linear PDE modeling viscous fluid motion.
  • 1D Kuramoto-Sivashinsky (KS) Equation: A fourth-order non-linear PDE describing flame fronts.

Ground truth data for these equations were generated using conventional numerical solvers and are publicly available.

Key Insights and Ideas

  • Autoregression with Guidance is Key: The combination of autoregressive sampling and reconstruction guidance is crucial for GuARD's success in both forecasting and data assimilation, outperforming methods that rely solely on one or the other.
  • Higher Markov Order is Beneficial: Contrary to some prior findings, GuARD demonstrates that effectively utilizing higher Markov orders (by conditioning on more past states) leads to improved accuracy in modeling complex PDE dynamics.
  • Flexibility in Sampling: GuARD allows for flexible sampling strategies at inference time (e.g., choosing the prediction horizon) without requiring retraining, a significant advantage over amortized models.
  • Robustness to Noise: The guided approach shows inherent robustness to noisy initial observations, a critical factor for real-world applications where perfect initial data is rare.

Key Results

  • Accurate Long-Term Predictions: GuARD generates accurate predictions for long PDE trajectories, performing on par with or exceeding existing state-of-the-art methods.
  • Superior Data Assimilation: GuARD effectively integrates sparse observations into its predictions, outperforming AAO strategies, especially in challenging low-observation regimes.
  • Effective Forecasting: For forecasting tasks, GuARD demonstrates better accuracy and stability compared to AAO methods, particularly when dealing with longer prediction horizons.
  • Computational Efficiency: While autoregressive sampling can be computationally intensive, GuARD's approach offers a more efficient way to achieve accurate long-term predictions compared to traditional solvers.

Limitations and Future Work

  • Computational Cost of Autoregression: The iterative nature of autoregressive sampling still requires simulating a denoising process at each step, which can be computationally costly.
  • Guidance Strength Tuning: The effectiveness of reconstruction guidance depends on tuning its strength, and while heuristics exist, further work is needed to automate this process.
  • Linear Observation Operators: The current work focuses on linear observation operators; extending this to non-linear operators is a promising future direction.
  • Exploration of Non-linear Operators: Future work will investigate the use of non-linear observation operators for reconstruction guidance.

Summary updated

BibTeX
@inproceedings{bergamin2024guided,
  author = {Federico Bergamin and Cristiana Diaconu and Aliaksandra Shysheya and Paris Perdikaris and José Miguel Hernández-Lobato and Richard E. Turner and Emile Mathieu},
  title = {{Guided Autoregressive Diffusion Models with Applications to PDE Simulation}},
  booktitle = {AI4DiffEqtnsInSci @ ICLR},
  year = {2024},
  url = {https://openreview.net/forum?id=1avNKFEIOL},
}
Figure