On the Constrained Time-Series Generation Problem
Andrea Coletta, Sriram Gopalakrishnan, Daniel Borrajo, Svitlana Vyetrenko
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.
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Cited by top-tier papers24
- Diffusion-TS: Interpretable Diffusion for General Time Series GenerationXinyu Yuan, Yan QiaoICLR 2024 · 201 citations
- Utilizing Image Transforms and Diffusion Models for Generative Modeling of Short and Long Time SeriesIlan Naiman, Nimrod Berman, Itai Pemper, Idan Arbiv et al.NeurIPS 2024 · 69 citations
- Generative Modeling of Regular and Irregular Time Series Data via Koopman VAEsIlan Naiman, N. Benjamin Erichson, Pu Ren, Michael W. Mahoney et al.ICLR 2024 · 49 citations
- SDformer: Similarity-driven Discrete Transformer For Time Series GenerationZhicheng Chen, Shibo Feng, Zhong Zhang, Xi Xiao et al.NeurIPS 2024 · 28 citations
- Training-Free Constrained Generation With Stable Diffusion ModelsStefano Zampini, Jacob K. Christopher, Luca Oneto, Davide Anguita et al.NeurIPS 2025 · 21 citations
Builds on19
- Denoising Diffusion Probabilistic ModelsJonathan Ho, Ajay Jain, Pieter AbbeelNeurIPS 2020 · 35,902 citations
- Diffusion Models Beat GANs on Image SynthesisPrafulla Dhariwal, Alexander Quinn NicholNeurIPS 2021 · 13,211 citations
- Denoising Diffusion Implicit ModelsJiaming Song, Chenlin Meng, Stefano ErmonICLR 2021 · 11,743 citations
- Improved Denoising Diffusion Probabilistic ModelsAlexander Quinn Nichol, Prafulla DhariwalICML 2021 · 5,234 citations
- DiffWave: A Versatile Diffusion Model for Audio SynthesisZhifeng Kong, Wei Ping, Jiaji Huang, Kexin Zhao et al.ICLR 2021 · 1,902 citations
Related papers
- Constrained Posterior Sampling: Time Series Generation with Hard ConstraintsSai Shankar Narasimhan, Shubhankar Agarwal, Litu Rout, Sanjay Shakkottai et al.NeurIPS 2025 · 8 citations
- Directed Chain Generative Adversarial NetworksMing Min, Ruimeng Hu, Tomoyuki IchibaICML 2023 · 2 citations
- Conditional Diffusion Model with Nonlinear Data Transformation for Time Series ForecastingJ. Rishi, GVS Mothish, Deepak SubramaniICML 2025
- Constrained Diffusion Models via Dual TrainingShervin Khalafi, Dongsheng Ding, Alejandro RibeiroNeurIPS 2024 · 24 citations
- Improving Adversarial Robustness Through the Contrastive-Guided Diffusion ProcessYidong Ouyang, Liyan Xie, Guang ChengICML 2023 · 11 citations
