Abstract
Time Series Generation (TSG) is a critical frontier in machine learning, enabling privacy-preserving data sharing, data augmentation, and anomaly detection. Despite its importance, the field has historically lacked a unified evaluation framework, leading to inconsistent comparisons and fragmented research. This paper introduces TSGBench, a comprehensive, open-source benchmark designed to bring order to the TSG landscape. By integrating 10 real-world datasets, 12 diverse evaluation metrics, and a novel generalization test, TSGBench provides a rigorous platform for assessing model performance. Our findings reveal that while no single model dominates all scenarios, VAE-based approaches offer a superior balance of performance and computational efficiency compared to traditional GANs.
Introduction
The ability to generate realistic synthetic time series data is essential for industries where data privacy or scarcity is a concern, such as finance and healthcare. However, the development of TSG models has been hampered by three primary "growing pains": narrow architectural comparisons, dataset bias, and inconsistent evaluation metrics. Researchers often compare new models only against similar architectures, rely on oversimplified synthetic data, and use "noisy" metrics like Discriminative or Predictive Scores that depend on the training of secondary models rather than the data quality itself.
TSGBench addresses these challenges by providing a standardized pipeline that ensures fair and reproducible comparisons across diverse generative paradigms.
The TSGBench Framework
TSGBench is built upon three foundational pillars designed to standardize the TSG workflow:
1. A Unified Taxonomy
The benchmark categorizes existing TSG methods into three distinct groups:
- Pure GAN-based: Models like TimeGAN and RGAN that utilize adversarial training.
- Pure VAE-based: Models such as TimeVAE and LS4 that leverage variational inference.
- Mixed-type: Hybrid approaches incorporating Normalizing Flows or Ordinary Differential Equations (ODEs).
2. Standardized Preprocessing
To eliminate bias introduced by varying data preparation techniques, TSGBench implements a rigorous preprocessing pipeline. This includes using autocorrelation analysis to determine optimal sequence lengths and ensuring consistent normalization across all experimental runs.
3. Multi-faceted Evaluation
Rather than relying on a single score, TSGBench employs 12 measures across five categories to provide a holistic view of model performance:
- Model-based: Discriminative Score (DS), Predictive Score (PS), and Contextual Fréchet Inception Distance (C-FID).
- Feature-based: Differences in marginal distribution, autocorrelation, skewness, and kurtosis.
- Distance-based: Euclidean Distance (ED) and Dynamic Time Warping (DTW).
- Efficiency: Training wall-clock time.
- Visualization: Qualitative assessments via t-SNE and distribution plots.
Experimental Setup and Datasets
The benchmark curates 10 public, real-world datasets spanning diverse domains to provide a stressful "proving ground" for models:
- Financial: Google Stock prices and Exchange rates.
- Medical: EEG (brainwaves) and HAPT (human activity via sensors).
- Industrial: Boiler sensor data and Chinese city air quality.
- Infrastructure: Energy usage and Dodgers freeway loop data.
These datasets vary in dimensionality (from 6 to 28 features) and sequence length, ensuring that models are tested against a wide range of temporal dynamics.
Key Insights and Results
The Reliability of Metrics
One of the most significant findings of TSGBench is the unreliability of "post-hoc" metrics like Discriminative and Predictive Scores. Because these metrics require training a secondary neural network, random weight initialization can lead to inconsistent results. TSGBench advocates for Distance-based (ED, DTW) and Feature-based metrics as more stable and reproducible alternatives for evaluating data fidelity.
The Rise of VAEs
While GANs have historically dominated the TSG discourse, TSGBench demonstrates that VAE-based models (e.g., TimeVAE, LS4) are often underrated. These models frequently match or exceed GANs in capturing temporal trends and value proximity, while being significantly faster to train. For instance, TimeVAE can achieve high-quality results in under a minute, whereas complex models like GT-GAN may require over 24 hours to converge on the same data.
The Leaderboard and Generalization
The benchmark identifies a "Tier 1" group of models that consistently perform well across the suite: TimeVQVAE, TimeVAE, COSCI-GAN, LS4, and RTSGAN. Statistical analysis using the Friedman test confirms that these models are significantly superior to older baselines like RGAN.
Furthermore, TSGBench introduces a Domain Adaptation (DA) test to evaluate model generalization. This test assesses whether a model trained on one domain (e.g., User A’s activity) can generate realistic data for a new domain (User B) using only a small target sample. Results indicate that COSCI-GAN and TimeVAE are particularly adept at bridging this generalization gap.
Conclusion and Future Work
TSGBench provides the first comprehensive roadmap for the Time Series Generation community, highlighting the efficiency of VAEs and the need for more stable evaluation metrics. While the current version focuses on general-purpose generation, future iterations will expand to include missing data imputation, causality-based generation, and the integration of emerging paradigms such as Diffusion Models (Score-based Generative Models). By open-sourcing this framework, the authors aim to foster a more transparent and rigorous era of TSG research.
Summary updated