Constrained Posterior Sampling: Time Series Generation with Hard Constraints
Not on the map. Why?
Abstract (arXiv)
Generating realistic time series samples is crucial for stress-testing models and protecting user privacy by using synthetic data. In engineering and safety-critical applications, these samples must meet certain hard constraints that are domain-specific or naturally imposed by physics or nature. Consider, for example, generating electricity demand patterns with constraints on peak demand times. This can be used to stress-test the functioning of power grids during adverse weather conditions. Existing approaches for generating constrained time series are either not scalable or degrade sample quality. To address these challenges, we introduce Constrained Posterior Sampling (CPS), a diffusion-based sampling algorithm that aims to project the posterior mean estimate into the constraint set after each denoising update. Notably, CPS scales to a large number of constraints (~100) without requiring additional training. We provide theoretical justifications highlighting the impact of our projection step on sampling. Empirically, CPS outperforms state-of-the-art methods in sample quality and similarity to real time series by around 70% and 22%, respectively, on real-world stocks, traffic, and air quality datasets.
Key facts. Cited by 6 papers in the map (data through 7 Oct 2026). Builds on 46 of its 68 references that are in the map. First posted on arXiv 16 Oct 2024.
Builds on
46 of 68 references.
References · 46
- 2020Denoising Diffusion Probabilistic Modelscited by 20,851
- 2021High-Resolution Image Synthesis with Latent Diffusion Modelscited by 18,694
- 2020Denoising Diffusion Implicit Modelscited by 9,655
- 2021Diffusion Models Beat GANs on Image Synthesiscited by 8,185
- 2022Hierarchical Text-Conditional Image Generation with CLIP Latentscited by 6,539
- 2023SDXL: Improving Latent Diffusion Models for High-Resolution Image Synthesiscited by 4,290
- 2022DreamBooth: Fine Tuning Text-to-Image Diffusion Models for Subject-Driven Generationcited by 3,286
- 2023Sparks of Artificial General Intelligence: Early experiments with GPT-4cited by 2,579
- 2022Video Diffusion Modelscited by 2,280
- 2020DiffWave: A Versatile Diffusion Model for Audio Synthesiscited by 1,339
- 2022Imagic: Text-Based Real Image Editing with Diffusion Modelscited by 1,172
- 2022TimesNet: Temporal 2D-Variation Modeling for General Time Series Analysiscited by 1,030
34 more
- 2016CVXPY: A Python-Embedded Modeling Language for Convex Optimizationcited by 633
- 2021CSDI: Conditional Score-based Diffusion Models for Probabilistic Time Series Imputationcited by 577
- 2022Improving Diffusion Models for Inverse Problems using Manifold Constraintscited by 501
- 2022Understanding Diffusion Models: A Unified Perspectivecited by 337
- 2021Autoregressive Denoising Diffusion Models for Multivariate Probabilistic Time Series Forecastingcited by 332
- 2023FreeDoM: Training-Free Energy-Guided Conditional Diffusion Modelcited by 290
- 2021Improving Robustness using Generated Datacited by 233
- 2018Adversarial Audio Synthesiscited by 222
- 2022Diffusion-based Time Series Imputation and Forecasting with Structured State Space Modelscited by 195
- 2024Diffusion-TS: Interpretable Diffusion for General Time Series Generationcited by 179
- 2024A Survey on Diffusion Models for Inverse Problemscited by 173
- 2023Score Approximation, Estimation and Distribution Recovery of Diffusion Models on Low-Dimensional Datacited by 171
- 2024Semantic Image Inversion and Editing using Rectified Stochastic Differential Equationscited by 162
- 2023Solving Linear Inverse Problems Provably via Posterior Sampling with Latent Diffusion Modelscited by 156
- 2023Generative Time Series Forecasting with Diffusion, Denoise, and Disentanglementcited by 89
- 2023Predict, Refine, Synthesize: Self-Guiding Diffusion Models for Probabilistic Time Series Forecastingcited by 86
- 2024Constrained Synthesis with Projected Diffusion Modelscited by 83
- 2023Beyond First-Order Tweedie: Solving Inverse Problems using Latent Diffusioncited by 78
- 2023Non-autoregressive Conditional Diffusion Models for Time Series Predictioncited by 77
- 2023Diffusion Models for Constrained Domainscited by 60
- 2021PSA-GAN: Progressive Self Attention GANs for Synthetic Time Seriescited by 58
- 2023Custom-Edit: Text-Guided Image Editing with Customized Diffusion Modelscited by 54
- 2023On the Constrained Time-Series Generation Problemcited by 52
- 2024RB-Modulation: Training-Free Personalization of Diffusion Models using Stochastic Optimal Controlcited by 46
- 2021ScoreGrad: Multivariate Probabilistic Time Series Forecasting with Continuous Energy-based Generative Modelscited by 42
- 2024RF-Diffusion: Radio Signal Generation via Time-Frequency Diffusioncited by 41
- 2022Modeling Temporal Data as Continuous Functions with Stochastic Process Diffusioncited by 39
- 2023Mirror Diffusion Models for Constrained and Watermarked Generationcited by 38
- 2023A Theoretical Justification for Image Inpainting using Denoising Diffusion Probabilistic Modelscited by 37
- 2023Diffusion-based Conditional ECG Generation with Structured State Space Modelscited by 35
- 2024Time Weaver: A Conditional Time Series Generation Modelcited by 35
- 2023Metropolis Sampling for Constrained Diffusion Modelscited by 28
- 2024The Rise of Diffusion Models in Time-Series Forecastingcited by 25
- 2022Time-series Transformer Generative Adversarial Networkscited by 10
Built on by
Citing papers per year: 2025: 3; 2026: 3.
6 papers.
- 2025Composition and Alignment of Diffusion Models using Constrained Learningcited by 8
- 2025CCS: Controllable and Constrained Sampling with Diffusion Models via Initial Noise Perturbationcited by 3
- 2025DS-Diffusion: Data Style-Guided Diffusion Model for Time-Series Generationcited by 2
- 2026Unlearning in Diffusion Models: A Unified Framework with KL Divergence and Likelihood Constraintscited by 2
- 2026Predict-Project-Renoise: Sampling Diffusion Models under Hard Constraintscited by 1
- 2026Source Anchoring for Physical Consistency in Flow Matching Modelscited by 0
- 2026Source Anchoring for Physical Consistency in Flow Matching Models27 Sep 2026
- 2026Unlearning in Diffusion Models: A Unified Framework with KL Divergence and Likelihood Constraints29 May 2026
- 2026Predict-Project-Renoise: Sampling Diffusion Models under Hard Constraints28 Jan 2026
- 2025DS-Diffusion: Data Style-Guided Diffusion Model for Time-Series Generation23 Sep 2025
- 2025Composition and Alignment of Diffusion Models using Constrained Learning26 Aug 2025
- 2025CCS: Controllable and Constrained Sampling with Diffusion Models via Initial Noise Perturbation7 Feb 2025