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

TSGM: Regular and Irregular Time-series Generation using Score-based Generative Models

Haksoo Lim, Jaehoon Lee, Sewon Park, Minjung Kim, Noseong Park

TL;DR

TSGM (Time-series Generation using Score-based Generative Models) is a novel, universal framework designed to synthesize both regular and irregular time-series data from scratch. By combining continuous-time autoencoders with a newly derived autoregressive denoising score matching loss, TSGM overcomes the training instabilities of GANs and outpaces existing diffusion models to achieve state-of-the-art sampling quality and diversity.

What Problem Does This Paper Address?

Generative modeling for time-series data is notoriously difficult. Real-world sequential data is often messy—plagued by missing values, irregular sampling intervals (e.g., medical records or climate anomalies), and limited sample sizes.

While Generative Adversarial Networks (GANs) and Variational Autoencoders (VAEs) have been widely adapted for time-series, they frequently suffer from mode collapse, training instability, and an inability to properly capture complex, step-by-step sequential dependencies (autoregressiveness). Furthermore, while score-based/diffusion models have revolutionized image generation, existing time-series adaptations focus almost exclusively on forecasting (predicting the future) or imputation (filling in gaps), rather than generating entirely new, realistic sequences from scratch.

TSGM bridges this gap by providing a unified framework that handles both perfectly uniform (regular) and highly fragmented (irregular) time-series generation.

Methods

TSGM splits the generative task into two main phases: mapping data to a latent space and performing score matching within that space. The architecture consists of three core components:

  1. The Autoencoder (Encoder/Decoder): To handle the temporal dynamics, the authors use an autoregressive autoencoder. For regular time-series, standard Recurrent Neural Networks (RNNs/GRUs) are used. For irregular time-series, the authors employ continuous-time models: a Neural Controlled Differential Equation (NCDE) encoder and a GRU-ODE decoder. This allows the model to naturally process varying time intervals and missing observations.
  2. The Conditional Score Network: Operating on the latent space, this network uses a modified 1D U-Net architecture to learn the gradient of the conditional log-likelihood of the current data point given its historical context.
  3. Autoregressive Denoising Score Matching Loss: The core theoretical contribution is a mathematically proven loss function ($L^H_{score}$) tailored for sequential data. The authors prove that optimizing this joint conditional score network is mathematically equivalent to step-by-step autoregressive score matching, making training both stable and computationally feasible.

The workflow moves from encoding real data, applying a forward diffusion process in the latent space, using the score network to reverse the noise conditionally, and finally decoding the latent vectors back into raw time-series format.

The overall workflow of TSGM, detailing the latent space mapping and the autoregressive score matching process.

Datasets

The authors evaluated TSGM across four diverse, real-world benchmarks:

  • Stock: Google stock price data (correlated financial features).
  • Energy: UCI appliance energy consumption data (highly correlated environmental variables).
  • Air: UCI Air Quality dataset (hourly gas sensor records).
  • AI4I: Predictive maintenance dataset reflecting industrial physical quantities.

To test irregular time-series generation, the authors simulated missingness by randomly dropping 30%, 50%, and 70% of the observations during the training phase, tasks that completely break traditional time-series models.

Key Insights and Ideas

  • Autoregressive Alignment: The iterative, step-by-step nature of diffusion models naturally aligns with the sequential structure of time-series data when formulated conditionally.
  • Generation vs. Imputation: Existing diffusion models like TimeGrad (forecasting) or CSDI (imputation) fail at unconditional generation because they optimize for precision against a known ground truth, which inherently destroys sample diversity. TSGM optimizes for distribution matching, preserving diversity.
  • Latent Space Simplification: By offloading the handling of irregular time steps to continuous-time autoencoders (NCDE/GRU-ODE), the score network only needs to learn the distribution of the latent space, drastically reducing training complexity.

Key Results

TSGM was compared against 11 baselines, including TimeGAN, GT-GAN, TimeVAE, and Diffusion-TS.

  • Olympic Rankings: In a comprehensive tally of evaluation metrics (predictive and discriminative scores), TSGM variants (specifically TSGM-subVP) dominated the baseline models, securing the vast majority of "Gold medals" across both regular and irregular data settings.
  • Distribution Fidelity: Kernel Density Estimation (KDE) plots demonstrated that the data distribution generated by TSGM is virtually identical to the original data, whereas prominent baselines showed severe distortions or mode collapse.
Fig. 1: The KDE plots show the estimated distributions of original data and ones generated by several methods in the Air and AI4I datasets — we ignore time stamps for drawing these distributions. Unlike baseline methods, the distribution of TSGM-VP is almost identical to the original one. These figures provide an evidence of the excellent generation quality and diversity of our method. For TSGM-subVP, similar results are observed.
  • Robustness to Missing Data: Even at a extreme 70% missingness rate, TSGM maintained high generation quality, outperforming baseline models that were modified with GRU-D layers to handle irregular data.

Limitations and Future Work

The primary limitation acknowledged by the authors is sampling speed. Because TSGM relies on the iterative reverse SDE sampling process typical of diffusion models (often requiring 100 to 1,000 sequential steps), it is significantly slower during inference than GAN-based alternatives like TimeGAN or GT-GAN.

The authors point out that future work will focus on integrating recent diffusion acceleration techniques—such as progressive distillation or advanced numerical ODE solvers—to reduce the number of sampling steps and make TSGM viable for real-time engineering applications.

Summary updated

BibTeX
@misc{lim2025tsgm,
  author = {Haksoo Lim and Jaehoon Lee and Sewon Park and Minjung Kim and Noseong Park},
  title = {{TSGM: Regular and Irregular Time-series Generation using Score-based Generative Models}},
  year = {2025},
  eprint = {2511.21335},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2511.21335},
}
Figure