Diffusion models for time-series applications: a survey

Lequan Lin, Zhengkun Li, Ruikun Li, Xuliang Li, Junbin Gao

Introduction

Diffusion models have fundamentally transformed computer vision, powering generative breakthroughs like DALL-E and Stable Diffusion. This survey explores the emerging shift of these models into the temporal domain, where they are being adapted to address the unique challenges of time series data. Traditionally, generative tasks in time series—such as forecasting, imputation, and generation—have relied on Variational Autoencoders (VAEs) and Generative Adversarial Networks (GANs). However, VAEs often suffer from rigid distributional assumptions, while GANs are notoriously difficult to train and prone to mode collapse. Diffusion models offer a more flexible, stable, and high-performance alternative by learning to generate data through a probabilistic denoising process.

Mathematical Foundations

The survey categorizes diffusion-based methods into three core mathematical formulations:

  1. Denoising Diffusion Probabilistic Models (DDPMs): These utilize discrete Markov chains to progressively add Gaussian noise to data and subsequently learn to reverse this process.
  2. Score-based Generative Models (SGMs): These focus on estimating the "score function"—the gradient of the log-density of the data—to guide the denoising trajectory.
  3. Stochastic Differential Equations (SDEs): A continuous-time generalization that encompasses both DDPMs and SGMs, allowing for more flexible sampling and the modeling of data at irregular time intervals.

Taxonomy of Applications

The research landscape is primarily divided into three pillars: forecasting, imputation, and generation. Each application leverages specific architectural choices to handle multivariate dependencies and spatial relationships.

Summary of diffusion-based methods categorized by application and data type.

Forecasting

Models such as TimeGrad and ScoreGrad utilize recurrent neural networks (RNNs) or Transformers to capture historical context. This context acts as a conditioning signal for the diffusion process, allowing the model to predict future steps by denoising from a prior distribution.

Imputation

Techniques like CSDI and SSSD treat missing data as a generation task. By using the observed portions of a time series to guide the model, these frameworks can "fill in the blanks" with high fidelity. Notably, diffusion-based imputation provides a distribution of possible values, effectively capturing the uncertainty inherent in missing data.

Generation

Synthetic data generation is pioneered by models like TSGM, which often operate in a latent space. By diffusing hidden states rather than raw data, these models achieve better stability and interpretability when creating entirely new synthetic time series.

Key Insights and Performance

Several critical themes emerge from the current literature:

  • The Power of Conditioning: Unlike unconditional image generation, time series tasks are inherently conditional. The success of these models depends on how effectively they incorporate historical data or spatial graph structures (e.g., in traffic datasets like METR-LA) into the denoising steps.
  • Latent vs. Raw Diffusion: Models like D3VAE demonstrate that diffusing in a latent space rather than raw data space can lead to superior performance and stability.
  • State Space Integration: The integration of Structured State Space models with diffusion (as seen in SSSD) represents the current state-of-the-art for complex imputation tasks.

Empirically, diffusion models consistently outperform GANs in terms of training stability and sample diversity. In forecasting, models like TimeGrad have set new benchmarks for accuracy on complex multivariate datasets.

Challenges and Future Directions

Despite their promise, diffusion models face significant hurdles. The primary drawback is computational cost; the iterative nature of denoising makes them significantly slower than feed-forward networks or GANs. Furthermore, there is a need for greater theoretical depth to understand why specific architectures favor certain temporal patterns. Future research is expected to focus on generalization, moving away from specialized models toward architectures that can handle diverse time series structures—such as irregular intervals and varying graph topologies—out of the box.

Summary updated

BibTeX
@inproceedings{lin2023diffusion,
  author = {Lequan Lin and Zhengkun Li and Ruikun Li and Xuliang Li and Junbin Gao},
  title = {{Diffusion models for time-series applications: a survey}},
  booktitle = {Frontiers Inf. Technol. Electron. Eng},
  year = {2023},
}
Figure