Skip to main content
QUICK REVIEW

[Paper Review] On the Constrained Time-Series Generation Problem

Andrea Coletta, Sriram Gopalakrishan|arXiv (Cornell University)|Jul 4, 2023
Energy Load and Power ForecastingEngineering7 citations
TL;DR

This paper proposes GuidedDiffTime, a novel guided diffusion model for constrained time-series generation that enables efficient, retraining-free sampling under new constraints while preserving realism. It outperforms existing methods in constraint satisfaction and reduces carbon emissions by up to 92% due to zero-retraining inference, making it ideal for dynamic counterfactual scenario generation in finance and energy.

ABSTRACT

Synthetic time series are often used in practical applications to augment the historical time series dataset for better performance of machine learning algorithms, amplify the occurrence of rare events, and also create counterfactual scenarios described by the time series. Distributional-similarity (which we refer to as realism) as well as the satisfaction of certain numerical constraints are common requirements in counterfactual time series scenario generation requests. For instance, the US Federal Reserve publishes synthetic market stress scenarios given by the constrained time series for financial institutions to assess their performance in hypothetical recessions. Existing approaches for generating constrained time series usually penalize training loss to enforce constraints, and reject non-conforming samples. However, these approaches would require re-training if we change constraints, and rejection sampling can be computationally expensive, or impractical for complex constraints. In this paper, we propose a novel set of methods to tackle the constrained time series generation problem and provide efficient sampling while ensuring the realism of generated time series. In particular, we frame the problem using a constrained optimization framework and then we propose a set of generative methods including "GuidedDiffTime", a guided diffusion model to generate realistic time series. Empirically, we evaluate our work on several datasets for financial and energy data, where incorporating constraints is critical. We show that our approaches outperform existing work both qualitatively and quantitatively. Most importantly, we show that our "GuidedDiffTime" model is the only solution where re-training is not necessary for new constraints, resulting in a significant carbon footprint reduction, up to 92% w.r.t. existing deep learning methods.

Motivation & Objective

  • Address the challenge of generating realistic time-series that satisfy user-specified numerical constraints, such as market stress scenarios or energy conservation.
  • Overcome limitations of existing deep generative models that require retraining when constraints change or rely on expensive rejection sampling.
  • Develop a flexible, efficient, and scalable solution for counterfactual time-series generation applicable across domains like finance and energy.
  • Minimize environmental impact by eliminating the need for retraining when constraints are modified, reducing computational and carbon costs.
  • Ensure high-quality synthetic time-series that match both statistical properties of real data and complex, diverse constraints.

Proposed method

  • Formulate the constrained time-series generation problem as a constrained optimization problem (COP), enabling explicit modeling of data properties and constraints.
  • Propose DiffTime, a conditional denoising diffusion model that conditions generation on multiple constraints using noise prediction networks.
  • Introduce Loss-DiffTime, which enforces constraints via differentiable loss penalties during training, enabling efficient sampling but requiring retraining for new constraints.
  • Develop GuidedDiffTime, a guided diffusion model that adjusts generation at inference time using constraint embeddings, eliminating the need for retraining.
  • Use a noise schedule and denoising U-Net architecture to model temporal dependencies and generate high-fidelity time-series.
  • Apply t-SNE and autocorrelation analysis to evaluate distributional similarity and temporal structure of generated sequences.

Experimental results

Research questions

  • RQ1Can a diffusion-based generative model effectively incorporate diverse, complex constraints into time-series generation without retraining?
  • RQ2How does GuidedDiffTime compare to existing methods in terms of constraint satisfaction and realism of generated time-series?
  • RQ3To what extent can constraint-aware generation reduce carbon emissions compared to retraining-based approaches?
  • RQ4How well do the proposed models generalize across different types of constraints (e.g., trend, fixed value, global minimum, multivariate)?
  • RQ5What is the trade-off between constraint fidelity, sample quality, and inference efficiency in constrained time-series generation?

Key findings

  • GuidedDiffTime achieves a 72% satisfaction rate on OHLC-constrained stock data, significantly outperforming RTSGAN (54%) and COSCI-GAN (2%) while maintaining high realism.
  • The COP baseline achieves perfect constraint satisfaction (100%) but requires explicit optimization and is less flexible than learned models.
  • Loss-DiffTime achieves 69% satisfaction rate with efficient sampling but requires retraining for new constraints, limiting scalability.
  • GuidedDiffTime reduces carbon footprint by up to 92% compared to retraining-based deep learning methods, enabling sustainable deployment.
  • t-SNE visualizations confirm that GuidedDiffTime and COP generate time-series with distributional similarity close to real data, outperforming baselines.
  • In autocorrelation analysis, GuidedDiffTime preserves temporal dynamics of returns better than competing models, indicating strong generative fidelity.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.