Abstract
Generating high-quality synthetic time series data requires more than just creating samples that look realistic in isolation. Current generative models often struggle to preserve population-level statistical properties, leading to significant distribution shifts in functional dependencies. We present PaD-TS (Population-Aware Diffusion for Time Series), a novel framework that incorporates a population-aware training objective and a specialized dual-channel architecture to ensure synthetic datasets mirror the complex correlations and distributions of the original data.
Introduction
Time series (TS) generation is critical for data augmentation, privacy-preserving data sharing, and robust model testing. While recent advances in Generative Adversarial Networks (GANs), Variational Autoencoders (VAEs), and Diffusion Probabilistic Models (DPMs) have improved individual-level authenticity, they frequently fail at population-level property preservation. For instance, in multivariate datasets like energy consumption or financial stocks, the nuanced correlations between different features are often lost or distorted in synthetic outputs. PaD-TS addresses this "distribution shift" by shifting the focus from individual sample reconstruction to the statistical fidelity of the entire dataset population.
Problem Statement
Most existing models optimize for the authenticity of a single synthetic sample $x_i$ relative to a real sample. However, this approach ignores the collective behavior of the data. A common failure mode is the collapse of cross-correlations toward extremes (1 or -1) or the failure to capture the specific "shape" of value distributions across the dataset. This statistical bias limits the utility of synthetic data for downstream tasks like predictive modeling or risk analysis, where the relationship between variables is as important as the variables themselves.
Methodology
PaD-TS introduces three core innovations to the standard Denoising Diffusion Probabilistic Model (DDPM) framework:
1. Population-Aware Training (PAT) Objective
Instead of a standard point-wise loss, PaD-TS utilizes a regularization term based on Maximum Mean Discrepancy (MMD). This objective penalizes the model if the distribution of a synthetic mini-batch deviates from the real mini-batch. It specifically targets value distributions and functional dependencies, such as cross-correlation, forcing the model to learn the "population shape."
2. Same Diffusion Step Sampling (SSS)
To calculate a meaningful population-level loss during training, the model must compare equivalent states of noise. SSS ensures that every sample within a training mini-batch is at the same diffusion step $t$. This allows the PAT objective to accurately measure and correct distribution shifts throughout the denoising process.
3. Dual-Channel Encoder Architecture
Recognizing that time series data contains distinct temporal and feature-based information, PaD-TS employs a dual-channel approach.
As illustrated in the architecture diagram, one channel focuses on temporal patterns while the other focuses on cross-dimensional relationships. Both channels utilize Diffusion Transformers (DiTs) to process information independently before they are merged in the generation stage, ensuring that complex inter-feature dependencies are preserved.
Evaluation and Results
The model was benchmarked against state-of-the-art baselines (including Diffusion-TS, TimeGAN, and TimeVAE) across diverse datasets: Sines, Google Stocks, and high-dimensional Energy consumption data.
Quantitative Performance
PaD-TS demonstrated a significant reduction in distribution shifts. It improved the Functional Dependency Distribution Shift (FDDS) score by an average of 5.9x and the Value Distribution Shift (VDS) by 5.7x compared to Diffusion-TS. Notably, the model maintained stability even with long sequences (up to 256 steps), where other models typically degrade.
Visual Alignment
Visualizations confirm the quantitative findings. In t-SNE projections of cross-correlation values, PaD-TS synthetic data points show near-perfect overlap with the original data.
As seen in the t-SNE plots, while models like TimeGAN and TimeVAE create disjointed clusters or "halos" around the real data, PaD-TS captures the underlying statistical structure with high fidelity.
Discussion and Limitations
While PaD-TS offers superior statistical matching, it comes with a higher computational cost. The dual-channel architecture and MMD calculations increased training time on the Energy dataset to approximately 117 minutes, compared to 60 minutes for standard diffusion models. Additionally, the model is sensitive to the hyperparameter $\alpha$, which balances individual sample quality against population-level statistics.
Conclusion
PaD-TS represents a significant step forward in time series generation by prioritizing population-level realism. By combining a dual-channel transformer architecture with a population-aware loss function, it effectively bridges the gap between looking "real" and being statistically accurate. Future work will explore extending this framework to conditional generation tasks, allowing for the creation of synthetic data that follows specific user-defined trends while maintaining global statistical integrity.
Summary updated