License: arXiv.org perpetual non-exclusive license
arXiv:2309.03755v2 [cs.LG] 07 Dec 2023

TSGBench: Time Series Generation Benchmark

Yihao Ang 0009-0009-1564-4937 National University of SingaporeNUS Research Institute in Chongqing [email protected] Qiang Huang 0000-0003-1120-4685 National University of Singapore [email protected] Yifan Bao 0009-0000-9672-0747 National University of Singapore [email protected] Anthony K. H. Tung 0000-0001-7300-6196 National University of Singapore [email protected]  and  Zhiyong Huang 0000-0002-1931-7775 National University of SingaporeNUS Research Institute in Chongqing [email protected]
Abstract.

Synthetic Time Series Generation (TSG) is crucial in a range of applications, including data augmentation, anomaly detection, and privacy preservation. Although significant strides have been made in this field, existing methods exhibit three key limitations: (1) They often benchmark against similar model types, constraining a holistic view of performance capabilities. (2) The use of specialized synthetic and private datasets introduces biases and hampers generalizability. (3) Ambiguous evaluation measures, often tied to custom networks or downstream tasks, hinder consistent and fair comparison.

To overcome these limitations, we introduce TSGBench, the inaugural Time Series Generation Benchmark, designed for a unified and comprehensive assessment of TSG methods. It comprises three modules: (1) a curated collection of publicly available, real-world datasets tailored for TSG, together with a standardized preprocessing pipeline; (2) a comprehensive evaluation measures suite including vanilla measures, new distance-based assessments, and visualization tools; (3) a pioneering generalization test rooted in Domain Adaptation (DA), compatible with all methods. We have conducted comprehensive experiments using TSGBench across a spectrum of ten real-world datasets from diverse domains, utilizing ten advanced TSG methods and twelve evaluation measures. The results highlight the reliability and efficacy of TSGBench in evaluating TSG methods. Crucially, TSGBench delivers a statistical analysis of the performance rankings of these methods, illuminating their varying performance across different datasets and measures and offering nuanced insights into the effectiveness of each method.

PVLDB Reference Format:
PVLDB, 17(3): XXX - XXX, 2023.
doi:XX.XX/XXX.XX This work is licensed under the Creative Commons BY-NC-ND 4.0 International License. Visit https://creativecommons.org/licenses/by-nc-nd/4.0/ to view a copy of this license. For any use beyond those covered by this license, obtain permission by emailing [email protected]. Copyright is held by the owner/author(s). Publication rights licensed to the VLDB Endowment.
Proceedings of the VLDB Endowment, Vol. 17, No. 3 ISSN 2150-8097.
doi:XX.XX/XXX.XX

PVLDB Artifact Availability:
The source code, data, and other artifacts have been made available at https://github.com/YihaoAng/TSGBench/.

1. Introduction

Within the myriad of tasks centered on time series, synthetic Time Series Generation (TSG) stands out as a burgeoning area of focus due to growing demands in data augmentation (Ramponi et al., 2018), anomaly detection (Ang et al., 2023; Campos et al., 2021), privacy protection (Jordon et al., 2018), and domain transfer (Cai et al., 2021). TSG aims to produce time series akin to the original, preserving temporal dependencies and dimensional correlations while ensuring the generated time series remains useful for various downstream tasks like classification (Li et al., 2022a; Ding et al., 2022) and forecasting (Wu et al., 2021; Cirstea et al., 2022).

Towards this end, numerous methods have emerged to generate synthetic time series. Their overarching objective is to develop a generative model that accurately captures the features and dependencies inherent in the input time series, thereby generating new time series that maintain both utility and statistical characteristics. For instance, many representative methods (Esteban et al., 2017; Yoon et al., 2019; Pei et al., 2021; Seyfi et al., 2022; Wang et al., 2023) utilize the power of Generative Adversarial Networks (GANs), integrating distinctive time series architectures to adeptly capture temporal and dimensional dependencies. Others harness Variational AutoEncoders (VAEs) (Desai et al., 2021; Li et al., 2023; Lee et al., 2023) to strike a balance between data fidelity and the statistical consistency of latent space, thereby enhancing interpretability. Additionally, some recent approaches employ flow-based models (Alaa et al., 2021; Jeon et al., 2022) to provide explicit likelihood modeling, facilitating effective optimization.

1.1. Motivations

Despite the strides made by these pioneering studies, TSG lags relative to other time series tasks, with three primary limitations (L1–L3) emerging prominently:

L1: A comprehensive taxonomy and comparative analysis of various methods are lacking, limiting a holistic view of performance capabilities

When selecting baselines for comparison, researchers often choose models from their methodological realm, missing a broad performance comparison across various methodologies. For example, GT-GAN (Jeon et al., 2022) and AEC-GAN (Wang et al., 2023) predominantly consider advanced GAN-based methods, overlooking potential contenders like VAE-based approaches. Furthermore, some methods (Pei et al., 2021; Jeha et al., 2021; Zhou et al., 2023) mainly target specific downstream tasks such as missing value imputation or forecasting, hindering the application of the generated time series to other tasks.

L2: Inconsistent dataset selection and preprocessing introduce biases and curb generalizability

First, the dataset choice greatly influences generation outcomes. Different from other time series tasks, the datasets for TSG are diverse due to their lack of label constraints, broadening data source possibilities. Yet, many studies resort to private and/or synthetic datasets for validation (Yoon et al., 2019; Desai et al., 2021; Seyfi et al., 2022). Private datasets, while varied, hinder reproducibility due to their inaccessibility. Moreover, synthetic datasets, albeit straightforward, may oversimplify real-world complexities, risking biased performance evaluations (Yoon et al., 2019; Xu et al., 2020). Second, preprocessing choices significantly impact generation results. For instance, many methods (Yoon et al., 2019; Jarrett et al., 2021; Jeon et al., 2022) use a fixed 24-unit sliding window to segment time series, which often inadequately represent their full periods and temporal patterns. Practices like normalizing time series to a range of [0,1]01[0,1][ 0 , 1 ], either before or after applying the sliding window, can lead to discrepancies in results (Yoon et al., 2019). In addition, datasets such as MIMIC III (Johnson et al., 2016) and PhysioNet 2012 (Goldberger et al., 2000), though public, are raw and require meticulous preprocessing to address issues like missing values or anomalies, adding another layer of variability.

L3: Ambiguous evaluation measures hinder a uniform and fair comparison

Evaluating the generated time series hinges on three foundational principles: diversity, fidelity, and usefulness (Yoon et al., 2019). Diversity gauges how closely the generated series distribution mirrors the original; fidelity examines the similarity between generated and real series; and usefulness assesses the generated series’ practical utility in predictive tasks. The choice of evaluation measures crucially impacts method efficacy determination. Most studies (Yoon et al., 2019; Jeha et al., 2021; Desai et al., 2021), however, choose just a subset of these measures, introducing biases in performance evaluation. In addition to quantitative evaluation for TSG, many methods (Esteban et al., 2017; Jordon et al., 2018) utilize downstream tasks, like classification and forecasting within the “Train on Synthetic, Test on Real” (TSTR) scheme, to showcase utility. These tasks, though popular, come with inherent challenges. For example, some datasets lack classification labels, and short sequences may be unsuitable for forecasting. To counter this, alternative unsupervised approaches (Esteban et al., 2017; Zhou et al., 2023; Fortuin et al., 2019) like interpolation and clustering have emerged, eliminating the need for external labels. However, they may introduce biases due to their dependency on post-hoc models in time series data (Jeon et al., 2022; Lee et al., 2023).

To address these limitations, a comprehensive benchmark for TSG is crucial. It is worth noting that the time series community has introduced a plethora of benchmarks and surveys in areas like databases (Keogh and Kasetty, 2002; Hao et al., 2021), classification (Ismail Fawaz et al., 2019; Bagnall et al., 2018; Dau et al., 2019), forecasting (Makridakis et al., 2018; Bauer et al., 2021; Makridakis et al., 2021), clustering (Rani and Sikka, 2012; Javed et al., 2020), and anomaly detection (Lai et al., 2021; Jacob et al., 2021; Paparrizos et al., 2022b, a). These benchmarks have been pivotal in driving advancements in their respective fields. Nevertheless, there is a noticeable gap when it comes to the field of TSG despite its growing significance. Some notable contributions include Yan et al. (2022)’s framework for benchmarking electronic health record generation and Nikitin et al. (2023)’s open-source tool aimed at enhancing time series and fostering the use of generative models. A recent study (Hang Lou and Ni, 2023) also provides an overview of prevalent evaluation measures for TSG, complemented with an evaluation pipeline. Yet, to our knowledge, a holistic survey or benchmark dedicated to TSG is still absent.

Refer to caption
Figure 1. Method ranking across ten evaluation measures and ten datasets.

1.2. Our Contributions

In light of these limitations and the evident gap for a dedicated TSG standard, we introduce TSGBench, an open-sourced benchmark designed to standardize comparative assessments of emerging methodologies. It offers robust evaluations and in-depth analyses of principle methods, establishing a foundational benchmark for future investigations. The key contributions of TSGBench (C1–C4) are highlighted as follows:

C1: We provide a new taxonomy of various TSG methods based on three foundational generative models

Regarding L1, we establish a taxonomy for systematic comparison and categorization (§3). Specifically, we categorize TSG methods based on three foundational generative models, offering a new perspective for understanding existing research. On this basis, we compare and analyze the model they used, make connections if different methods use similar techniques, and elaborate upon the inheritance and improvement of relative methods.

C2: We introduce a standard pipeline for dataset selection and preprocessing

In terms of L2, we incorporate ten publicly available, real-world datasets from various application domains into TSGBench to enhance reproducibility and mitigate biases or oversimplification in our evaluations. These datasets vary in terms of training sample size, sequence length, and time series dimensions, thereby contributing to a more comprehensive analysis. Moreover, we introduce a standardized pipeline for preprocessing raw time series datasets for TSG (§4.1).

C3: We design a suite of diverse yet robust measures to make a comprehensive assessment of the TSG

For L3, we provide a suite of twelve evaluation measures tailored for TSG. This suite encompasses five facets, i.e., model-based, feature-based, distance-based measures, training efficiency, and visualization. This allows for a standardized yet thorough comparison (§4.2). Further, we introduce a novel generalization test based on Domain Adaptation (DA) to evaluate the generalization capabilities of TSG methods. Notably, we define three scenarios (i.e., single DA, cross DA, and reference DA) that align with real-world applications (§4.3).

C4: We conduct systematic evaluations for TSG methods

As part of the benchmark development, we present TSGBench in detail (§5) and have conducted preliminary yet systematic experiments to assess the performance of ten representative TSG methods (§6). The results demonstrate the ability of TSGBench to assess the efficacy of various TSG methods, illuminating their strengths and weaknesses from different perspectives. The generalization test using DA sheds light on domain shift scenarios in TSG. In addition, we provide statistical analysis of method ranking, examining the consistency of different techniques across ten evaluation measures and ten datasets (Figure 1). Our findings underscore the reliability and efficacy of TSGBench in evaluating TSG methods.

2. Preliminaries

2.1. Problem Definition

Suppose that a time series 𝑻𝑻\bm{T}bold_italic_T with N𝑁Nitalic_N (N1𝑁1N\geq 1italic_N ≥ 1) individual series of length L𝐿Litalic_L is denoted as a matrix, i.e., 𝑻=(𝒔1,,𝒔N)𝖳𝑻superscriptsubscript𝒔1subscript𝒔𝑁𝖳\bm{T}=(\bm{s}_{1},\cdots,\bm{s}_{N})^{\mathsf{T}}bold_italic_T = ( bold_italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , bold_italic_s start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT sansserif_T end_POSTSUPERSCRIPT, where each individual series 𝒔isubscript𝒔𝑖\bm{s}_{i}bold_italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT can be represented as an L𝐿Litalic_L-dimensional vector, i.e., 𝒔i=(xi,1,,xi,L)subscript𝒔𝑖subscript𝑥𝑖1subscript𝑥𝑖𝐿\bm{s}_{i}=(x_{i,1},\cdots,x_{i,L})bold_italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT = ( italic_x start_POSTSUBSCRIPT italic_i , 1 end_POSTSUBSCRIPT , ⋯ , italic_x start_POSTSUBSCRIPT italic_i , italic_L end_POSTSUBSCRIPT ), and each xi,jsubscript𝑥𝑖𝑗x_{i,j}italic_x start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT corresponds to a single time point tjsubscript𝑡𝑗t_{j}italic_t start_POSTSUBSCRIPT italic_j end_POSTSUBSCRIPT of 𝒔isubscript𝒔𝑖\bm{s}_{i}bold_italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT. We denote p(𝒔1,,𝒔N)𝑝subscript𝒔1subscript𝒔𝑁p(\bm{s}_{1},\cdots,\bm{s}_{N})italic_p ( bold_italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , bold_italic_s start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) as the real distribution of a given time series 𝑻𝑻\bm{T}bold_italic_T. The goal of Time Series Generation (TSG) is to create a synthetic time series 𝑻gen=(𝒔1gen,,𝒔Ngen)superscript𝑻𝑔𝑒𝑛subscriptsuperscript𝒔𝑔𝑒𝑛1subscriptsuperscript𝒔𝑔𝑒𝑛𝑁\bm{T}^{gen}=(\bm{s}^{gen}_{1},\cdots,\bm{s}^{gen}_{N})bold_italic_T start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT = ( bold_italic_s start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , bold_italic_s start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) such that its distribution q(𝒔1gen,,𝒔Ngen)𝑞subscriptsuperscript𝒔𝑔𝑒𝑛1subscriptsuperscript𝒔𝑔𝑒𝑛𝑁q(\bm{s}^{gen}_{1},\cdots,\bm{s}^{gen}_{N})italic_q ( bold_italic_s start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , bold_italic_s start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ) is similar to p(𝒔1,,𝒔N)𝑝subscript𝒔1subscript𝒔𝑁p(\bm{s}_{1},\cdots,\bm{s}_{N})italic_p ( bold_italic_s start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , bold_italic_s start_POSTSUBSCRIPT italic_N end_POSTSUBSCRIPT ), and 𝑻gensuperscript𝑻𝑔𝑒𝑛\bm{T}^{gen}bold_italic_T start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT and 𝑻𝑻\bm{T}bold_italic_T exhibit consistent statistical properties and patterns. Table 1 summarizes the frequently used notations in this work.

2.2. Scope Illustration

To ensure our initial benchmark is both focused and comprehensive, we employ specific constraints for TSGBench.

Scope of Methods

We restrict our attention to generation methods designed for general-purpose time series. Although certain methods showcase efficacy in specific domains, they lack the flexibility and adaptability needed for broader applications. Thus, these specialized methods are excluded from our evaluation. Moreover, while fine-tuning hyperparameters could yield superior results for each method, we opted not to engage in such optimization. This decision was made to maintain consistency and fairness in comparisons and to adhere to the resource and time constraints inherent in a comprehensive benchmarking study.

Scope of Datasets

To make a holistic evaluation of different generation methods, we select public time series datasets that are both diverse and representative across application domains. Moreover, as we target the generation methods, we consider purely time series as the input. Thus, edge cases, such as those involving the input of a missing data-position matrix or the causality determined by causal graphs, are not incorporated.

Scope of Evaluation Measures

We mainly adhere to the widely accepted “Train on Synthetic, Test on Real” (TSTR) scheme (Esteban et al., 2017; Jordon et al., 2018; Yoon et al., 2019; Pei et al., 2021; Jarrett et al., 2021; Srinivasan and Knottenbelt, 2022; Jeon et al., 2022; Li et al., 2023; Zhou et al., 2023). It assesses the synthetic time series’ relevance for real-world applications. While alternative schemes like “Train on Real, Test on Synthetic” (TRTS) (Smith and Smith, 2020; Seyfi et al., 2022) do exist, their likeness to TSTR and infrequent use render them non-essential for our purposes. Our evaluation suite, illustrated in Figure 4, is meticulously crafted using well-recognized measures from TSG literature. We have omitted measures specific to some TSG studies, like cosine similarity (Li et al., 2022b), due to their limited prevalence for extensive benchmarking. Additionally, TSGBench does not use specific downstream tasks as separate evaluation metrics. This is because the included measures, notably discriminative and predictive scores, cover the main goals of time series downstream tasks, such as classification and forecasting. Furthermore, some tasks, like anomaly detection, require extra data and ground truth, which would complicate the evaluation and surpass the designated scope of TSGBench.

Table 1. List of frequently used notations.
Symbol Description

𝑻𝑻\bm{T}bold_italic_T, N𝑁Nitalic_N

A time series 𝑻𝑻\bm{T}bold_italic_T with N𝑁Nitalic_N individual series

𝒔isubscript𝒔𝑖\bm{s}_{i}bold_italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT, L𝐿Litalic_L

An individual series 𝒔isubscript𝒔𝑖\bm{s}_{i}bold_italic_s start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT of length L𝐿Litalic_L

l𝑙litalic_l

The sequence length for partitioning

R𝑅Ritalic_R

The number of sub-matrices, where R=Ll+1𝑅𝐿𝑙1R=L-l+1italic_R = italic_L - italic_l + 1

𝑻rsubscript𝑻𝑟\bm{T}_{r}bold_italic_T start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT

A sub-matrix 𝑻rsubscript𝑻𝑟\bm{T}_{r}bold_italic_T start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT with N𝑁Nitalic_N individual series of length l𝑙litalic_l

𝑻strsuperscriptsubscript𝑻𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT, 𝑻stesuperscriptsubscript𝑻𝑠𝑡𝑒\bm{T}_{s}^{te}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_e end_POSTSUPERSCRIPT

The training (or historical) data and the test data from a source time series

𝑻thissuperscriptsubscript𝑻𝑡𝑖𝑠\bm{T}_{t}^{his}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_h italic_i italic_s end_POSTSUPERSCRIPT,𝑻tgensuperscriptsubscript𝑻𝑡𝑔𝑒𝑛\bm{T}_{t}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT,𝑻tgtsuperscriptsubscript𝑻𝑡𝑔𝑡\bm{T}_{t}^{gt}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_t end_POSTSUPERSCRIPT

The historical, generated, and ground truth data from a target time series

3. TSG Overview

This section provides a taxonomy and comprehensive analysis of TSG methods. We first explore three foundational generative models: GAN, VAE, and Flow-based models (§3.1). We then delve into notable TSG methods stemming from these models (§3.2).

Refer to caption
(a) GAN-based models.
Refer to caption
(b) VAE-based models.
Refer to caption
(c) Flow-based models.
Figure 2. Three foundational generative models in popular TSG methods (solid arrow: training, dashed arrow: generation).

3.1. Generative Models for TSG

Generative models are designed to learn the intricate patterns and temporal dependencies in time series datasets, allowing for the generation of new time series that reflect the original data’s statistical properties. We next describe three foundational generative models for TSG, with their architectural nuances visualized in Figure 2.

Generative Adversarial Networks (GANs)

A typical GAN model (Goodfellow et al., 2014), as depicted in Figure 2(a), comprises a generator G𝐺Gitalic_G and a discriminator D𝐷Ditalic_D. During training, G𝐺Gitalic_G produces a synthetic time series that D𝐷Ditalic_D attempts to distinguish from real series. This adversarial cycle continues until D𝐷Ditalic_D cannot reliably differentiate between the two. For generation, only G𝐺Gitalic_G is used to create a new time series.

Numerous algorithms employ GAN-based models for TSG. They often incorporate specialized neural networks like RNN, LSTM, and Transformer to capture the sequential and temporal intricacies of time series data (Mogren, 2016; Esteban et al., 2017; Li et al., 2022b; Srinivasan and Knottenbelt, 2022; Yoon et al., 2019; Pei et al., 2021). Some models utilize novel metrics or loss functions for better alignment with specific temporal patterns (Ni et al., 2021; Ni et al., 2020). Others enhance traditional GANs with additional modules, such as extra discriminators, classification layers, error correction, and data augmentation to generate time series with specific temporal attributes (Wang et al., 2023; Seyfi et al., 2022; Jeha et al., 2021). While GAN-based models are effective in generating time series, they can be challenging to train and are often resource and time-intensive (Jeon et al., 2022).

Variational AutoEncoders (VAEs)

A standard VAE model (Kingma and Welling, 2013; Kingma et al., 2014), as shown in Figure 2(b), contains an encoder and a decoder. The encoder qθ(𝒛|𝒔)subscript𝑞𝜃conditional𝒛𝒔q_{\theta}(\bm{z}|\bm{s})italic_q start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT ( bold_italic_z | bold_italic_s ) transforms input time series 𝒔𝒔\bm{s}bold_italic_s into a latent representation 𝒛𝒛\bm{z}bold_italic_z, capturing essential features and generating parameters (e.g., mean μ𝜇\muitalic_μ and variance σ𝜎\sigmaitalic_σ) that model the inherent uncertainty and variability of the time series. The decoder pθ(𝒔^|𝒛)subscript𝑝𝜃conditional^𝒔𝒛p_{\theta}(\hat{\bm{s}}|\bm{z})italic_p start_POSTSUBSCRIPT italic_θ end_POSTSUBSCRIPT ( over^ start_ARG bold_italic_s end_ARG | bold_italic_z ) reconstructs time series 𝒔^^𝒔\hat{\bm{s}}over^ start_ARG bold_italic_s end_ARG from 𝒛𝒛\bm{z}bold_italic_z, preserving the model’s capacity to regenerate the temporal patterns. The training phase focuses on minimizing reconstruction loss and the divergence between the learned and a prior standard Gaussian distribution. For generation, the decoder draws from the latent space to create a synthetic time series.

While there are fewer studies on VAE-based methods for TSG compared to GANs, they effectively leverage variational inference to capture the complex temporal aspects of time series data (Desai et al., 2021; Li et al., 2023; Lee et al., 2023). The benefits of VAE models lie in their interpretability and training efficiency. Additionally, the structured and informative latent representations from VAEs can be used for other time series tasks, including representation learning (Fortuin et al., 2019) and imputation (Fortuin et al., 2020).

Flow-based Models

GANs and VAEs do not directly model the probability density function of time series due to the computational challenge of covering all possible latent representation 𝒛𝒛\bm{z}bold_italic_z values. Flow-based models (Dinh et al., 2014, 2016; Kingma and Dhariwal, 2018), as shown in Figure 2(c), address this by using invertible transformations f𝑓fitalic_f’s to explicitly learn data distributions. They have been increasingly employed in TSG, often utilizing explicit likelihood models or Ordinary Differential Equations (ODEs) (Chen et al., 2018; Rubanova et al., 2019; Kidger et al., 2021; Jeon et al., 2022; Alaa et al., 2021). Their architectures, typically featuring coupling layers, allow for a computable Jacobian determinant and reversibility. This is further enhanced by specific transformation techniques crucial for modeling complex data distributions.

3.2. Taxonomy of TSG Methods

We detail ten representative TSG methods (A1–A10) grounded in the three foundational generative models. Table 2 provides a summary of these methods, including their backbone models.

Table 2. Summary of popular TSG methods with their backbone models and specialties (TS: Time Series).
Time Method Model Specialty
2016 C-RNN-GAN (Mogren, 2016) GAN Music
2017 RGAN (Esteban et al., 2017) GAN General (w/ Medical) TS
2018 T-CGAN (Ramponi et al., 2018) GAN Irregular TS
2019 WaveGAN (Donahue et al., 2019) GAN Audio
2019 TimeGAN (Yoon et al., 2019) GAN General TS
2020 TSGAN (Smith and Smith, 2020) GAN General TS
2020 DoppelGANger (Lin et al., 2020) GAN General TS
2020 SigCWGAN (Ni et al., 2020) GAN Long Financial TS
2020 Quant GANs (Wiese et al., 2020) GAN Long Financial TS
2020 COT-GAN (Xu et al., 2020) GAN TS and Video
2021 Sig-WGAN (Ni et al., 2021) GAN Financial TS
2021 TimeGCI (Jarrett et al., 2021) GAN General TS
2021 RTSGAN (Pei et al., 2021) GAN General (w/ Incomplete) TS
2022 PSA-GAN (Jeha et al., 2021) GAN General (w/ Forecasting) TS
2022 CEGEN (Remlinger et al., 2022) GAN General TS
2022 TTS-GAN (Li et al., 2022b) GAN General TS
2022 TsT-GAN (Srinivasan and Knottenbelt, 2022) GAN General TS
2022 COSCI-GAN (Seyfi et al., 2022) GAN General TS
2023 AEC-GAN (Wang et al., 2023) GAN Long TS
2023 TT-AAE (Liu et al., 2022) GAN General TS
2021 TimeVAE (Desai et al., 2021) VAE General TS
2023 CRVAE (Li et al., 2023) VAE Medical TS & Causal Discovery
2023 TimeVQVAE (Lee et al., 2023) VAE General TS
2018 Neural ODE (Chen et al., 2018) ODE + RNN General TS
2019 ODE-RNN (Rubanova et al., 2019) ODE + RNN Irregular TS
2021 Neural SDE (Kidger et al., 2021) ODE + GAN General TS
2022 GT-GAN (Jeon et al., 2022) ODE + GAN General (w/ Irregular) TS
2023 LS4 (Zhou et al., 2023) ODE + VAE General (w/ Forecasting) TS
2020 CTFP (Deng et al., 2020) Flow General TS
2021 Fourier Flow (Alaa et al., 2021) Flow General TS
2023 TSGM (Lim et al., 2023) SGM General TS

Pure GAN-based Methods

Early efforts (Mogren, 2016; Esteban et al., 2017; Ramponi et al., 2018) blended vanilla GAN architectures from image generation with neural networks like RNN and LSTM tailored for sequential data. Subsequent studies have focused on pioneering techniques to adapt to time series data and boost performance.

  • A1: RGAN (Esteban et al., 2017). RGAN is a pioneering work that utilizes the GANs for TSG based on RNNs. It is inspired by the maximum mean discrepancy (Gretton et al., 2006) and tries to measure the statistical difference between generated and practical time series.

  • A2: TimeGAN (Yoon et al., 2019). TimeGAN considers temporal dependencies within GANs, by simultaneously learning to encode features, generate representations, and iterate across time. It delivers advanced performance and has become a benchmark model for subsequent methods.

  • A3: RTSGAN (Pei et al., 2021). RTSGAN combines an autoencoder into GANs and centers on generating time series with varying lengths and handling missing data.

  • A4: COSCI-GAN (Seyfi et al., 2022). COSCI-GAN is devised to explicitly model the complex dynamical patterns across every series, which favors channel/feature relationship preservation.

  • A5: AEC-GAN (Wang et al., 2023). AEC-GAN aims to generate long time series with distribution shifts and bias amplification via an error correction module that corrects bias in previously generated data and introduces adversarial samples.

Pure VAE-based Methods

VAE-based methods often exploit variational inference to capture the temporal features effectively. They are generally efficient and have the potential interpretability.

  • A6: TimeVAE (Desai et al., 2021). TimeVAE extends VAEs to the general-purpose TSG. It builds on convolution and enhances interpretability through time series decomposition.

  • A7: TimeVQVAE (Lee et al., 2023). It employs the STFT to decompose input time series into low-frequency and high-frequency components. Then, it integrates Vector Quantization with VAEs (van den Oord et al., 2017) for enhanced modeling of these components, preserving both the general shape and specific details of the time series.

Mixed-Type Methods

Recent TSG advancements have explored mixed-type methods, merging flow-based models with techniques like DFT or ODEs, or integrating them with GANs or VAEs.

  • A8: Fourier Flows (Alaa et al., 2021). It uses DFT (Oppenheim, 1999) to analyze the time series in the frequency domain and applies a sequence of data-dependent spectral filters to learn their distributions.

  • A9: GT-GAN (Jeon et al., 2022). GT-GAN is tailored for dealing with both regular and irregular time series, employing Continuous Time Flow Processes (CTFP) (Deng et al., 2020) for its generator and GRU-ODE for the discriminator;

  • A10: LS4 (Zhou et al., 2023). LS4 draws from deep-state space models and incorporates stochastic latent variables to enhance the model’s capacity and leverage the training objectives from VAEs.

4. TSGBench

To address the challenges and potential biases in dataset and evaluation selection, we have distilled the best practices from pertinent research and established TSGBench, a benchmark tailored for systematically assessing TSG methods. Its architecture is visualized in Figure 3, which encompasses three key modules: (1) a meticulous set of ten public, real-world time series datasets with a standardized preprocessing pipeline (§4.1); (2) a comprehensive suite of twelve evaluation measures customized for TSG (§4.2); (3) an innovative generation test using Domain Adaption (DA) for TSG (§4.3).

Refer to caption
Figure 3. Overall architecture of TSGBench.

4.1. Dataset Selection and Preprocessing

Dataset Selection. We use only publicly available, real-world datasets to ensure reproducibility and sidestep biases or oversimplification in our evaluations. Importantly, our aim is not to amass an exhaustive dataset collection but to curate a diverse set that spans multiple domains and features varied data statistics and distributions. We identify and collect ten datasets (D1–D10) published over the past two decades. Table 3 summarizes their statistics. Below, we provide a brief description of each dataset.

  • D1: Dodgers Loop Game (DLG) (Hutchins, 2006). It consists of loop sensor data from the Glendale on-ramp for the 101 North freeway in Los Angeles.

  • D2: Stock (Yoon et al., 2019). It comprises daily historical Google stock data from 2004 to 2019, including volume and high, low, opening, closing, and adjusted closing prices.

  • D3: Stock Long (Yoon et al., 2019). It is identical to the Stock dataset but with a sequence length of 125.

  • D4: Exchange (Lai et al., 2018). It contains the daily exchange rates of eight countries (i.e., Australia, Britain, Canada, Switzerland, China, Japan, New Zealand, and Singapore) from 1990 to 2016.

  • D5: Energy (Candanedo, 2017). It includes information on appliance’s energy use in a low-energy building.

  • D6: Energy Long (Candanedo, 2017). It is identical to the Energy dataset but with a sequence length of 125.

  • D7: EEG (Roesler, 2013). It is with the measurements derived from ElectroEncephaloGraphy (EEG) data captured by Emotiv EEG Neuroheadset. It helps to understand brainwave patterns, especially those under specific cognitive conditions or stimuli.

  • D8: HAPT (Reyes-Ortiz et al., 2012). It comprises recordings of 30 subjects performing activities of daily living captured via waist-mounted smartphones with embedded inertial sensors.

  • D9: Air (Zheng et al., 2015). It has air quality, meteorological, and weather forecast data from 4 major Chinese cities: Beijing, Tianjin, Guangzhou, and Shenzhen from 2014/05/01 to 2015/04/30.

  • D10: Boiler (Cai et al., 2021). It collects sensor data from three boilers from 2014/03/24 to 2016/11/30 to monitor the operating states.

Table 3. The statistics of the ten datasets.
Datasets R𝑅Ritalic_R l𝑙litalic_l N𝑁Nitalic_N Domain
DLG (Hutchins, 2006) 246 14 20 Traffic
Stock (Yoon et al., 2019) 3,294 24 6 Financial
Stock Long (Yoon et al., 2019) 3,204 125 6 Financial
Exchange (Lai et al., 2018) 6,715 125 8 Financial
Energy (Candanedo, 2017) 17,739 24 28 Appliances
Energy Long (Candanedo, 2017) 17,649 125 28 Appliances
EEG (Roesler, 2013) 13,366 128 14 Medical
HAPT (Reyes-Ortiz et al., 2012) 1,514 128 6 Medical
Air (Zheng et al., 2015) 7,731 168 6 Sensor
Boiler (Cai et al., 2021) 80,935 192 11 Industrial

Preprocessing Pipeline

While these ten datasets are publicly accessible, few TSG methods have evaluated a majority of them. To circumvent these issues, we introduce a standardized pipeline for preprocessing the raw time series datasets tailored for TSG.

To generate time series in a brief span while preserving meaningful structures, we first follow (Yoon et al., 2019; Jarrett et al., 2021) and segment the long time series 𝑻𝑻\bm{T}bold_italic_T into shorter sub-matrices {𝑻1,𝑻2,𝑻3,}subscript𝑻1subscript𝑻2subscript𝑻3\{\bm{T}_{1},\bm{T}_{2},\bm{T}_{3},\cdots\}{ bold_italic_T start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , bold_italic_T start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT , bold_italic_T start_POSTSUBSCRIPT 3 end_POSTSUBSCRIPT , ⋯ }. With a specified sequence length l𝑙litalic_l and a stride of 1, we convert 𝑻𝑻\bm{T}bold_italic_T into R𝑅Ritalic_R overlapping sub-matrices {𝑻r}1rRsubscriptsubscript𝑻𝑟1𝑟𝑅\{\bm{T}_{r}\}_{1\leq r\leq R}{ bold_italic_T start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT } start_POSTSUBSCRIPT 1 ≤ italic_r ≤ italic_R end_POSTSUBSCRIPT, where R=Ll+1𝑅𝐿𝑙1R=L-l+1italic_R = italic_L - italic_l + 1 and each 𝑻rsubscript𝑻𝑟\bm{T}_{r}bold_italic_T start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT has the same l𝑙litalic_l. To determine the value of l𝑙litalic_l, we employ autocorrelation functions (Parzen, 1963), ensuring that each 𝑻rsubscript𝑻𝑟\bm{T}_{r}bold_italic_T start_POSTSUBSCRIPT italic_r end_POSTSUBSCRIPT encompasses at least one time series period. The time series is then shuffled to approximate an i.i.d. sample distribution (Yoon et al., 2019). To assess the generalization capability of TSG methods, we divide the data into training and testing sets in a 9:1 ratio, allocating a larger portion for training and evaluation as is common in TSG methodology. Additionally, we normalize the dataset to the range of [0,1]01[0,1][ 0 , 1 ] to enhance efficiency and numerical stability, resulting in a dataset shape of (R,l,N)𝑅𝑙𝑁(R,l,N)( italic_R , italic_l , italic_N ).

4.2. Evaluation Measure Suite

Dozens of measures exist to gauge the quality of TSG methods, which typically adhere to principles like diversity, fidelity, and usefulness, as outlined in §1.1. We next offer a suite of twelve prevalent measures (M1–M12), complemented by in-depth descriptions. A summary of these measures used in TSG is depicted in Figure 4.

Model-based Measures

These measures predominantly adhere to the TSTR scheme (Esteban et al., 2017; Jordon et al., 2018). This scheme involves using the synthetically generated series to train a post-hoc neural network, which is subsequently tested on the original time series.

  • M1: Discriminative Score (DS) (Yoon et al., 2019). This measure employs a post-hoc time-series classification model with 2-layer GRUs or LSTMs to differentiate between original and generated series (Yoon et al., 2019). Each original series is labeled as real, while the generated series is labeled synthetic. Using these labels, an RNN classifier is trained. The classification error on a test set quantifies the generation model’s fidelity.

  • M2: Predictive Score (PS) (Yoon et al., 2019). It involves training a post-hoc time series prediction model on synthetic data (Yoon et al., 2019). Using GRUs or LSTMs, the model predicts either the temporal vectors of each input series for the upcoming steps (Yoon et al., 2019; Jarrett et al., 2021) or the entire vector (Jeon et al., 2022). The model’s performance is then evaluated on the original dataset using the mean absolute error.

  • M3: Contextual-FID (C-FID) (Jeha et al., 2021). It extends the concept of Frechet Inception Distance (FID) (Heusel et al., 2017) from image generation to TSG. It quantifies how well the synthetic time series conforms to the local context of the time series. Using the time series embeddings from (Franceschi et al., 2019), it learns embeddings that seamlessly blend with the local context.

Feature-based Measures

These measures are designed to capture inter-series correlations and temporal dependencies, assessing how well the generated time series preserves original characteristics. A key advantage of feature-based measures is their capacity to yield clear and deterministic results, providing an unambiguous assessment of the quality of generated time series.

  • M4: Marginal Distribution Difference (MDD) (Ni et al., 2021). This measure computes an empirical histogram for each dimension and time step in the generated series, using the bin centers and widths from the original series. It then calculates the average absolute difference between this histogram and that of the original series across bins, assessing how closely the distributions of the original and generated series align.

  • M5: AutoCorrelation Difference (ACD) (Lai et al., 2018). It computes the autocorrelation of both the original and generated time series, then determines their difference (Parzen, 1963; Lai et al., 2018). By contrasting the autocorrelations, we could evaluate how well dependencies are maintained in the generated time series.

  • M6: Skewness Difference (SD). Beyond ACF, we also consider the statistical measures (Wang et al., 2023; Hang Lou and Ni, 2023). Skewness is vital for the marginal distribution of a time series, quantifying its distribution asymmetry. Given the mean (standard deviation) of the train time series 𝑻strsuperscriptsubscript𝑻𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT as 𝝁strsuperscriptsubscript𝝁𝑠𝑡𝑟\bm{\mu}_{s}^{tr}bold_italic_μ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT (𝝈strsuperscriptsubscript𝝈𝑠𝑡𝑟\bm{\sigma}_{s}^{tr}bold_italic_σ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT) and the generated time series 𝑻sgensuperscriptsubscript𝑻𝑠𝑔𝑒𝑛\bm{T}_{s}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT as 𝝁sgensuperscriptsubscript𝝁𝑠𝑔𝑒𝑛\bm{\mu}_{s}^{gen}bold_italic_μ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT (𝝈sgensuperscriptsubscript𝝈𝑠𝑔𝑒𝑛\bm{\sigma}_{s}^{gen}bold_italic_σ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT), we evaluate the fidelity of 𝑻sgensuperscriptsubscript𝑻𝑠𝑔𝑒𝑛\bm{T}_{s}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT by computing the skewness difference between them as:

    (1) SD=|𝔼[(𝑻sgen𝝁sgen)3]𝝈sgen3𝔼[(𝑻str𝝁str)3]𝝈str3|.𝑆𝐷𝔼delimited-[]superscriptsuperscriptsubscript𝑻𝑠𝑔𝑒𝑛superscriptsubscript𝝁𝑠𝑔𝑒𝑛3superscriptsuperscriptsubscript𝝈𝑠𝑔𝑒𝑛3𝔼delimited-[]superscriptsuperscriptsubscript𝑻𝑠𝑡𝑟superscriptsubscript𝝁𝑠𝑡𝑟3superscriptsuperscriptsubscript𝝈𝑠𝑡𝑟3SD=\left|\frac{\mathbb{E}[(\bm{T}_{s}^{gen}-\bm{\mu}_{s}^{gen})^{3}]}{{\bm{% \sigma}_{s}^{gen}}^{3}}-\frac{\mathbb{E}[(\bm{T}_{s}^{tr}-\bm{\mu}_{s}^{tr})^{% 3}]}{{\bm{\sigma}_{s}^{tr}}^{3}}\right|.italic_S italic_D = | divide start_ARG blackboard_E [ ( bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT - bold_italic_μ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ] end_ARG start_ARG bold_italic_σ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT end_ARG - divide start_ARG blackboard_E [ ( bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT - bold_italic_μ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT ] end_ARG start_ARG bold_italic_σ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 3 end_POSTSUPERSCRIPT end_ARG | .
  • M7: Kurtosis Difference (KD). Like skewness, kurtosis assesses the tail behavior of a distribution, revealing extreme deviations from the mean. Using notations from Equation 1, the kurtosis difference between 𝑻strsuperscriptsubscript𝑻𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT and 𝑻sgensuperscriptsubscript𝑻𝑠𝑔𝑒𝑛\bm{T}_{s}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT is calculated as:

    (2) KD=|𝔼[(𝑻sgen𝝁sgen)4]𝝈sgen4𝔼[(𝑻str𝝁str)4]𝝈str4|.𝐾𝐷𝔼delimited-[]superscriptsuperscriptsubscript𝑻𝑠𝑔𝑒𝑛superscriptsubscript𝝁𝑠𝑔𝑒𝑛4superscriptsuperscriptsubscript𝝈𝑠𝑔𝑒𝑛4𝔼delimited-[]superscriptsuperscriptsubscript𝑻𝑠𝑡𝑟superscriptsubscript𝝁𝑠𝑡𝑟4superscriptsuperscriptsubscript𝝈𝑠𝑡𝑟4KD=\left|\frac{\mathbb{E}[(\bm{T}_{s}^{gen}-\bm{\mu}_{s}^{gen})^{4}]}{{\bm{% \sigma}_{s}^{gen}}^{4}}-\frac{\mathbb{E}[(\bm{T}_{s}^{tr}-\bm{\mu}_{s}^{tr})^{% 4}]}{{\bm{\sigma}_{s}^{tr}}^{4}}\right|.italic_K italic_D = | divide start_ARG blackboard_E [ ( bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT - bold_italic_μ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT ] end_ARG start_ARG bold_italic_σ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT end_ARG - divide start_ARG blackboard_E [ ( bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT - bold_italic_μ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT ) start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT ] end_ARG start_ARG bold_italic_σ start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT start_POSTSUPERSCRIPT 4 end_POSTSUPERSCRIPT end_ARG | .

Training Efficiency

Training efficiency is crucial, particularly in cases that demand rapid TSG methods or where computational resources are scarce. However, only a few studies, such as (Desai et al., 2021; Jeon et al., 2022), have been employed for evaluation in this context.

  • M8: Training Time. It refers to the wall clock time for training a TSG method. It is a vital measure for evaluating and deploying TSG methods due to economic considerations.

Refer to caption
Figure 4. Summary of evaluations in popular TSG methods.

Visualization

Visualization offers an intuitive and visually interpretive perspective to directly compare and contrast the structures and patterns between the original and generated time series.

  • M9: t-SNE (Van der Maaten and Hinton, 2008). It is a prevalent technique for succinctly visualizing the distribution of generated time series compared to the original one within a two-dimensional space.

  • M10: Distribution Plot (Jeon et al., 2022). It illuminates the difference between the input and generated time series in terms of density, spread, and central tendency to show how the generated time series closely mirrors the original’s statistics.

Challenges in DS and PS

As depicted in Figure 4, DS and PS are frequently employed for evaluating TSG methods. However, they can yield unreliable evaluations for several reasons:

  1. (1)

    DS and PS rely on the TSTR scheme, necessitating post-hoc model training. The inherent randomness in deep models, such as weight initialization, can cause inconsistent evaluations (Jeon et al., 2022; Lee et al., 2023). While repeated training and averaging of results can mitigate this issue, it is time-intensive.

  2. (2)

    These measures often hinge on specific network architectures and configurations, which vary across studies (Yoon et al., 2019; Jeha et al., 2021), complicating the comparisons of different TSG methods.

  3. (3)

    They are sensitive to dataset sizes. With smaller datasets, they may not converge effectively due to insufficient training data, compromising their reliability (Desai et al., 2021; Lee et al., 2023).

  4. (4)

    The sequence length for TSG is typically short, often just 24-time points, as seen in datasets like Stock and Energy (Yoon et al., 2019). They may not contain enough periodic information to accurately assess the TSG efficacy in real-world scenarios.

In summary, while DS and PS offer specific insights into the quality of generated time series, their lack of robustness, time-intensive nature, and difficulty adapting to varying dataset sizes and sequence lengths make them less suitable for a comprehensive and reliable evaluation of TSG methods.

Distance-based Measures

To mitigate the challenges associated with DS and PS, we propose the incorporation of two distance-based measures to provide an efficient, deterministic evaluation.

  • M11: Euclidean Distance (ED). For each original series 𝒔tr=(x1,,xl)superscript𝒔𝑡𝑟subscript𝑥1subscript𝑥𝑙\bm{s}^{tr}=(x_{1},\cdots,x_{l})bold_italic_s start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT = ( italic_x start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , italic_x start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT ) and its generated series 𝒔gen=(y1,,yl)superscript𝒔𝑔𝑒𝑛subscript𝑦1subscript𝑦𝑙\bm{s}^{gen}=(y_{1},\cdots,y_{l})bold_italic_s start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT = ( italic_y start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT , ⋯ , italic_y start_POSTSUBSCRIPT italic_l end_POSTSUBSCRIPT ), ED=i=1l(xiyi)2𝐸𝐷superscriptsubscript𝑖1𝑙superscriptsubscript𝑥𝑖subscript𝑦𝑖2ED=\sqrt{\textstyle\sum_{i=1}^{l}(x_{i}-y_{i})^{2}}italic_E italic_D = square-root start_ARG ∑ start_POSTSUBSCRIPT italic_i = 1 end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_l end_POSTSUPERSCRIPT ( italic_x start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT - italic_y start_POSTSUBSCRIPT italic_i end_POSTSUBSCRIPT ) start_POSTSUPERSCRIPT 2 end_POSTSUPERSCRIPT end_ARG. We take the mean of ED for all series and all samples. Given that the input time series has been preprocessed to fit within the range of [0,1]01[0,1][ 0 , 1 ], ED deterministically assesses the similarity between 𝒔gensuperscript𝒔𝑔𝑒𝑛\bm{s}^{gen}bold_italic_s start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT and 𝒔trsuperscript𝒔𝑡𝑟\bm{s}^{tr}bold_italic_s start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT. It provides a value-wise comparison between the time series.

  • M12: Dynamic Time Warping (DTW) (Berndt and Clifford, 1994). Given that ED overlooks alignment, we include DTW to capture the optimal alignment between series regardless of their pace or timing. The alignment facilitated by DTW offers insights into the predictive quality of the generated series. Moreover, as shown by (Shokoohi-Yekta et al., 2017), multi-dimensional DTW (Meert et al., 2020) can enhance downstream classification tasks, serving as a discriminative measure.

Using ED and DTW, we can efficiently and effectively evaluate the quality of generated time series, offering streamlined alternatives to DS and PS with similar evaluation goals.

4.3. Generalization Test

Motivation. The domain shift problem is a significant concern in the field of time series analysis (Cai et al., 2021; Ragab et al., 2023; Hu et al., 2020). For the task of TSG, most methods usually require large datasets, and many GAN-based methods (e.g., TimeGAN (Yoon et al., 2019) and GT-GAN (Jeon et al., 2022)) are time-intensive to train and fine-tune (Desai et al., 2021). Nevertheless, many applications struggle to quickly accumulate sufficient data. Their efficacy may suffer in data-limited situations. Thus, evaluating the generalization capabilities of these methods on small data becomes crucial.

Domain Adaptation (DA)

We introduce a novel generalization test using DA (Alaa et al., 2022) to assess the generalization capabilities of TSG methods on small datasets. While DA has been widely applied in other time series tasks like classification and forecasting (Cai et al., 2021; Wilson et al., 2020; Hu et al., 2020), its application in TSG remains underexplored. This is because typical DA tasks necessitate labels (such as class labels for classification or future values for forecasting) and aim to minimize the distribution shift between source and target domains.

We follow the conventions in DA tasks for time series data (Ragab et al., 2023; Cai et al., 2021; Wilson et al., 2020; Hu et al., 2020), examining examples that range from monitoring patient mortality (Reyes-Ortiz et al., 2012) to recording climate and air quality across cities (Zheng et al., 2015), and assessing different machines in a factory (Cai et al., 2021). The commonality across these examples lies in the time-dependent nature of the data, while the differences come from the unique characteristics inherent to each scenario. To illustrate, we first present a motivating example before offering a formal definition.

Example 4.0

In a factory, a machine (source domain) equipped with sensors generates operational data as a source time series 𝑻ssubscript𝑻𝑠\bm{T}_{s}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT. A TSG model G𝐺Gitalic_G is trained on this machine’s historical data 𝑻strsuperscriptsubscript𝑻𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT and tested on its new data 𝑻stesuperscriptsubscript𝑻𝑠𝑡𝑒\bm{T}_{s}^{te}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_e end_POSTSUPERSCRIPT. When a new machine (target domain) with identical sensors is installed, TSG models are used to synthesize sensor readings due to limited data availability. After collecting a brief historical time series 𝑻thissuperscriptsubscript𝑻𝑡𝑖𝑠\bm{T}_{t}^{his}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_h italic_i italic_s end_POSTSUPERSCRIPT from this new machine, the goal is to generate a synthetic time series 𝑻tgensuperscriptsubscript𝑻𝑡𝑔𝑒𝑛\bm{T}_{t}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT reflecting its expected performance and patterns. An effective TSG model should adapt to this new machine, producing realistic synthetic data. \triangle

In Example 4.1, the time series available are 𝑻strsuperscriptsubscript𝑻𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT, 𝑻stesuperscriptsubscript𝑻𝑠𝑡𝑒\bm{T}_{s}^{te}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_e end_POSTSUPERSCRIPT, and 𝑻thissuperscriptsubscript𝑻𝑡𝑖𝑠\bm{T}_{t}^{his}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_h italic_i italic_s end_POSTSUPERSCRIPT. To evaluate the generated time series 𝑻tgensuperscriptsubscript𝑻𝑡𝑔𝑒𝑛\bm{T}_{t}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT, we use a comprehensive time series 𝑻tgtsuperscriptsubscript𝑻𝑡𝑔𝑡\bm{T}_{t}^{gt}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_t end_POSTSUPERSCRIPT from the target domain as the ground truth. Since we aim to benchmark TSG methods, we do not explore scenarios like modifying the model’s architectures or hyperparameter tuning. Accordingly, we focus on the following three DA cases.

Definition 4.0 (Single DA)

A TSG model G𝐺Gitalic_G is trained using the time series 𝐓strsuperscriptsubscript𝐓𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT from the source domain. It then generates a new time series 𝐓tgensuperscriptsubscript𝐓𝑡𝑔𝑒𝑛\bm{T}_{t}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT in the target domain and evaluates the performance against 𝐓tgtsuperscriptsubscript𝐓𝑡𝑔𝑡\bm{T}_{t}^{gt}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_t end_POSTSUPERSCRIPT.

Definition 4.0 (Cross DA)

A TSG model G𝐺Gitalic_G is trained using the time series 𝐓strsuperscriptsubscript𝐓𝑠𝑡𝑟\bm{T}_{s}^{tr}bold_italic_T start_POSTSUBSCRIPT italic_s end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT from the source domain, alongside a small subset of time series from the target domain 𝐓thissuperscriptsubscript𝐓𝑡𝑖𝑠\bm{T}_{t}^{his}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_h italic_i italic_s end_POSTSUPERSCRIPT. It then generates a new time series 𝐓tgensuperscriptsubscript𝐓𝑡𝑔𝑒𝑛\bm{T}_{t}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT in the target domain and assesses the performance against 𝐓tgtsuperscriptsubscript𝐓𝑡𝑔𝑡\bm{T}_{t}^{gt}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_t end_POSTSUPERSCRIPT.

Definition 4.0 (Reference DA)

A TSG model G𝐺Gitalic_G is trained solely using a small subset of time series from the target domain 𝐓thissuperscriptsubscript𝐓𝑡𝑖𝑠\bm{T}_{t}^{his}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_h italic_i italic_s end_POSTSUPERSCRIPT. It then generates a new time series 𝐓tgensuperscriptsubscript𝐓𝑡𝑔𝑒𝑛\bm{T}_{t}^{gen}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT in the target domain and gauges the performance against 𝐓tgtsuperscriptsubscript𝐓𝑡𝑔𝑡\bm{T}_{t}^{gt}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_g italic_t end_POSTSUPERSCRIPT.

Datasets and Evaluations

We extend three datasets HAPT (Reyes-Ortiz et al., 2012), Air (Zheng et al., 2015), and Boiler (Cai et al., 2021) for generalization testing, as they include domain information in line with conventions in time series DA tasks (Ragab et al., 2023; Cai et al., 2021). Specifically, our dataset configurations are as follows:

  • HAPT (Reyes-Ortiz et al., 2012). The user is treated as the domain attribute. We randomly select User 14 as the source domain and Users 0, 23, 18, 52, and 20 as the target domains. Our evaluation targets the time series for ‘walking’ as it provides a more concentrated and comparable analysis of each user’s walking pattern.

  • Air (Zheng et al., 2015). The city serves as the domain attribute. We randomly chose Tianjin (TJ) as the source domain and selected Beijing (BJ), Guangzhou (GZ), and Shenzhen (SZ) as the target domains. This setup enables us to investigate variations in air quality patterns across different urban settings.

  • Boiler (Cai et al., 2021). We employ the boiler machine as the domain attribute. Boiler 1 is randomly chosen as the source domain, with Boilers 2 and 3 serving as the target domains. This configuration allows us to examine operational variations and similarities across different boiler units.

We utilize the evaluation criteria outlined in §4.2 for assessment. DA tasks serve as a valuable lens to scrutinize the generalization capabilities of TSG methods across domains. It is pertinent to mention that for the generalization test, efficient processing of data from the target domain is essential, making the training efficiency of a TSG method a pivotal consideration. Thus, the results from DA can enhance other time series tasks by providing synthetic data for target domains with limited sample availability.

5. Experimental Setup

The primary goal of TSGBench is to establish a rigorous, standardized framework for evaluating various TSG methods. As such, we will not conduct an exhaustive evaluation, given time and resource constraints (Desai et al., 2021; Jeon et al., 2022). Instead, we concentrate on assessing recent, prevalent methods that come with publicly available code and have exhibited state-of-the-art performance on selected datasets.

Algorithms

Our initial experiments evaluate the performance of ten pivotal TSG algorithms mentioned in §3.2. These algorithms, carefully selected from academic literature, include: (1) pure GAN-based methods: RGAN (Esteban et al., 2017), TimeGAN (Yoon et al., 2019), RTSGAN (Pei et al., 2021), COSCI-GAN (Seyfi et al., 2022), and AEC-GAN (Wang et al., 2023); (2) pure VAE-based method: TimeVAE (Desai et al., 2021) and TimeVQVAE (Lee et al., 2023); (3) mixed-type methods: GT-GAN (Jeon et al., 2022), LS4 (Zhou et al., 2023), and Fourier Flow (Alaa et al., 2021).

Datasets

Our experiments draw on ten real-world datasets across diverse domains, as detailed in §4.1. Moreover, we extend HAPT, Air, and Boiler for generalization tests, as described in §4.3.

Evaluation Measures

We employ twelve evaluation measures outlined in §4.2 to make a thorough and systematic assessment of the TSG algorithms. The lower value means the better performance. Specifically, for DS and PS, we adopt two layers of LSTM; for C-FID, we adopt ts2vec (Franceschi et al., 2019) as the backbone. For all evaluation measures, we repeat them five times and report their average results.

Experiments Environments

All experiments are conducted on a machine with Intel® Xeon® Gold 6342 CPU @ 2.80GHz, 64 GB memory, and NVIDIA GeForce RTX 3090.

Parameter Settings

For RGAN, the number of hidden units for GANs is set to 4n4𝑛4n4 italic_n. For TimeGAN, we use the suggested settings (Yoon et al., 2019) and adopt three-layer GRUs for the network architectures. For RTSGAN, we adhere to its complete time series generation (Pei et al., 2021) and set β1=0.9subscript𝛽10.9\beta_{1}=0.9italic_β start_POSTSUBSCRIPT 1 end_POSTSUBSCRIPT = 0.9 and β2=0.999subscript𝛽20.999\beta_{2}=0.999italic_β start_POSTSUBSCRIPT 2 end_POSTSUBSCRIPT = 0.999. For COSCI-GAN, we set γ=5𝛾5\gamma=5italic_γ = 5, employ MLP-based networks for the central discriminator, and follow other hyper-parameters from (Seyfi et al., 2022). For AEC-GAN, we set the context length lc=4subscript𝑙𝑐4l_{c}=4italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 4 if l=16𝑙16l=16italic_l = 16, lc=85subscript𝑙𝑐85l_{c}=85italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 85 if l=24𝑙24l=24italic_l = 24, lc=25subscript𝑙𝑐25l_{c}=25italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 25 if l=125𝑙125l=125italic_l = 125, lc=28subscript𝑙𝑐28l_{c}=28italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 28 if l=128𝑙128l=128italic_l = 128, lc=56subscript𝑙𝑐56l_{c}=56italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 56 if l=168𝑙168l=168italic_l = 168, and lc=64subscript𝑙𝑐64l_{c}=64italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT = 64 if l=192𝑙192l=192italic_l = 192, and set the generation length lq=llcsubscript𝑙𝑞𝑙subscript𝑙𝑐l_{q}=l-l_{c}italic_l start_POSTSUBSCRIPT italic_q end_POSTSUBSCRIPT = italic_l - italic_l start_POSTSUBSCRIPT italic_c end_POSTSUBSCRIPT. For TimeVAE, we set the latent dimension to 8 and the hidden layer sizes to 50, 100, and 200. For TimeVQVAE, we adopt settings from (Lee et al., 2023), with n_fft=8𝑛_𝑓𝑓𝑡8n\_fft=8italic_n _ italic_f italic_f italic_t = 8 and varying max_epochs{2000,10000}𝑚𝑎𝑥_𝑒𝑝𝑜𝑐𝑠200010000max\_epochs\in\{2000,10000\}italic_m italic_a italic_x _ italic_e italic_p italic_o italic_c italic_h italic_s ∈ { 2000 , 10000 } for two training stages. For GT-GAN, we use regular time series from (Jeon et al., 2022) and set PMLE=2subscript𝑃𝑀𝐿𝐸2P_{MLE}=2italic_P start_POSTSUBSCRIPT italic_M italic_L italic_E end_POSTSUBSCRIPT = 2. The absolute and relative tolerances for the generator are set to 0.001 and 0.01 for Energy and Energy Long, respectively, and 0.01 and 0.001 for other datasets. For LS4, we set the latent space dimension to 5 and configured the batch size to 512 for Air and Boiler and 1024 for the rest, optimizing GPU utilization. For Fourier Flow, which is primarily designed for individual series, we follow its guidelines (Alaa et al., 2021) and adapt it for time series with N>1𝑁1N>1italic_N > 1 by using DFT (Oppenheim, 1999) to each dimension. We configure the hidden size to 50 and set the number of flows to 3 for Stock and Stock Long and 5 for others.

6. Results Analysis

Refer to caption
Refer to caption
Refer to caption
Refer to caption
Figure 5. TSG benchmarking.

6.1. TSG Benchmarking

We first present the results of ten methods applied to ten real-world datasets in Figures 5 and 6.

Model-based Evaluations

As evident from the first three rows of Figure 5, TimeVQVAE, TimeVAE, RTSGAN, and COSCI-GAN consistently excel across the three model-based measures. In contrast, RGAN and TimeGAN underperform. The superior performance of VAE-based methods can be attributed to their adeptness at capturing temporal dependencies, pivotal for forecasting and representation learning tasks. Some methods like LS4, despite having high DS and PS, secure a relatively low C-FID. This indicates their satisfactory performance in the representation learning tasks. Some outliers appear in Energy and Energy Long, where almost all methods achieve DS around 0.5. This suggests while the generated time series might suffice for predictive tasks, they are easily distinguishable in classification tasks. Additionally, the large standard deviation in DS is worth noting, which will be further analyzed in §6.3.

Upon integrating observations from Table 3, we find that as l𝑙litalic_l increases, PS will slightly drop, implying that shorter sequences present a greater challenge in generating time series. Furthermore, a relatively strong correlation appears between N𝑁Nitalic_N and these measures, suggesting that the generation of high-dimensional time series presents a steeper challenge, leading to higher DS and PS.

Feature-based Evaluations

In Figure 5, when examining feature-based measures from rows 4 to 7, Fourier Flow delivers the best performance in ACD, while COSCI-GAN dominates in MDD and SD. This is likely due to their effectiveness in capturing the statistical properties of time series. Interestingly, within each dataset, the performance ranking across all four measures appears to be consistent. This consistency implies a robust correlation among these feature-based measures, indicating that the overall performance of a method in capturing key features is likely consistent as well.

Moreover, feature-based measures, which primarily assess the statistical similarities between original and generated data, tend to improve when N>10𝑁10N>10italic_N > 10. This observation suggests that generated time series may better match the statistical properties of the original one when dealing with high-dimensional datasets, potentially due to the rich features available for modeling.

Distance-based Evaluations

The patterns observed in the distance-based measures, shown in the 8th and 9th rows of Figure 5, differ from those in earlier measures. This divergence arises because distance-based measures direct quantification of dissimilarity between the generated and original time series. Regarding ED and DTW, VAE-based methods stand out. They effectively capture the overall trend of the original time series, preserving both value proximity (ED) and trend similarity (DTW).

An intriguing finding is that the distances between generated and authentic time series amplify as l𝑙litalic_l increases. This is likely because longer sequences introduce more complex temporal dependencies, making them harder to model accurately, leading to larger divergence in values and alignment. Conversely, as N𝑁Nitalic_N grows, these distances decrease. The reason could be that a larger set of series provides a broader range of temporal patterns and inter-series correlations, benefiting the methods’ evaluation.

Training Efficiency

In the final row of Figure 5, we explore the training efficiency. For ease of interpretation, we categorize training times into four distinct segments: <1absent1<1< 1 minute, <1absent1<1< 1 hour, <1absent1<1< 1 day, and 1absent1\geq 1≥ 1 day. Our findings highlight the exceptional efficiency of TimeVAE and LS4, likely due to their VAE-based structure and efficient training strategies that minimize computational demands and iterations needed for convergence. On the other hand, TimeVQVAE, while effective in modeling, presents a more time-intensive training process. The complexity of TimeVQVAE arises primarily from its STFT process, tokenization, and iterative decoding. Also, our fairness-driven decision to maintain consistent hyper-parameters across all datasets potentially escalates training times for those with larger R𝑅Ritalic_R values. In addition, GAN-based methods generally manifest longer training times. For example, GT-GAN takes training time of more than 1 day on all datasets except Stock, DLG, and Exchange. The inherent intricacy of GANs, requiring concurrent training of generator and discriminator networks to reach equilibrium, leads to a longer convergence period.

Refer to caption
Figure 6. Visualization for TSG benchmarking by t-SNE and Distribution Plot (blue as 𝑻trsuperscript𝑻𝑡𝑟\bm{T}^{tr}bold_italic_T start_POSTSUPERSCRIPT italic_t italic_r end_POSTSUPERSCRIPT, orange as 𝑻gensuperscript𝑻𝑔𝑒𝑛\bm{T}^{gen}bold_italic_T start_POSTSUPERSCRIPT italic_g italic_e italic_n end_POSTSUPERSCRIPT).

Visualization

At last, we look into the t-SNE visualization and Distribution Plot of the generated time series in Figure 6. VAE-based methods, COSCI-GAN, and RTSGAN excel at generating time series that closely mirror the features and patterns of the original ones. Examining the subtleties among these leading methods reveals variations in their generation capabilities for different distributions. For instance, the DLG dataset, characterized by its bimodal distribution, challenges COSCI-GAN, which struggles to capture both modes accurately. Conversely, TimeVAE and LS4 perform well with the Exchange dataset with the multifaceted peak structure, indicating their innate ability to grasp multifarious distributional patterns.

Some methods, such as RGAN and GT-GAN, which might fare well on a single data distribution, cannot deal with the dramatic shift in the overall distributions (e.g., from Stock to HAPT). This suggests limitations in their ability to adapt to significantly different data distributions. We also find that some methods, e.g., RGAN, while they successfully mimic the distribution of the original time series in their generated output (e.g., Energy), stumble when it comes to the precise matching by t-SNE. This observation aligns with the quantitative results in Figure 5, underscoring the challenges in replicating exact values of the original time series rather than overall distribution characteristics. Moreover, some methods, like TimeGAN, can partially fit the original time series but usually contain extraneous information. They may struggle to handle the inherent noise present in real-world time series.

Refer to caption
Refer to caption
(a) HAPT (Source: User 14).
Refer to caption
(b) Air (Source: Tianjin, TJ).
Refer to caption
(c) Boiler (Source: Boiler 1).
Figure 7. Generalization test: single DA, cross DA, and reference DA (left to right in each subfigure).

6.2. Generalization Test

In conjunction with benchmarking results, we delve deeper into a select group of methods that showcased eminent performance, with a pronounced emphasis on efficiency, especially when contemplating generalization in the nascent stages of the target domain. In particular, we employ TimeGAN as the baseline and focus on four efficient methods with leading performance, i.e., TimeVAE, COSCI-GAN, RTSGAN, and LS4. Quantitative results for the datasets HAPT, Air, and Boiler are displayed in Figure 7, where each measure is partitioned into three parts by gray dashed lines, signifying the single DA, cross DA, and reference DA, respectively.

We first focus on the HAPT dataset, which consists of the most number of target domains. As depicted in Figure 7(a), certain methods like TimeGAN show a little discrepancy in their performance across single DA, cross DA, and reference DA. This suggests that these methods may struggle with generalization in many cases. For instance, TimeGAN may struggle to adapt effectively due to reasons inherent to its model design. Another noteworthy observation is the considerable standard deviation seen in DS and PS under DA tasks, barring those that exhibit the worst score (0.5). This heightened variance undermines their reliability, which will be further analyzed in §6.3. When examining methods with strong generalization capabilities, the performance of some algorithms (e.g., TimeVAE and COSCI-GAN) in cross DA outperforms that in reference DA. This indicates that they do not treat the smaller proportion of target domain time series 𝑻thissuperscriptsubscript𝑻𝑡𝑖𝑠\bm{T}_{t}^{his}bold_italic_T start_POSTSUBSCRIPT italic_t end_POSTSUBSCRIPT start_POSTSUPERSCRIPT italic_h italic_i italic_s end_POSTSUPERSCRIPT as noise, even when faced with multiple distributions as inputs. Conversely, methods like RTSGAN and LS4 excel in single DA, as they quickly converge when given a limited set of time series. In addition, for the target domain User 20, TimeVAE’s performance in reference DA matches the level achieved in cross DA. This may be due to User 20’s data distribution being relatively simpler and less noisy, facilitating quicker convergence for TimeVAE during training

As R𝑅Ritalic_R and N𝑁Nitalic_N grow (from HAPT to Air and Boiler), we observe a consistent pattern for the single DA task in Figures 7(b) and 7(c). In the case of the reference DA task, a larger R𝑅Ritalic_R facilitates model convergence, yielding more competitive outcomes compared to the cross DA task. Another interesting observation is the inconsistent performance of SD, KD, and DTW measures in evaluating DA for the Boiler dataset compared to the HAPT and Air datasets. This discrepancy is due to the periodic trends present in HAPT and Air. Since SD and KD gauge data distribution and DTW assesses alignment, they are less effective for datasets lacking periodic trends.

6.3. Robustness Test for Evaluation Measures

In the course of TSG benchmarking (§6.1) and generalization testing (§6.2), we observed significant variability and inconsistency in DS and PS. Thus, we undertook additional analyses to evaluate the sensitivity and robustness of various evaluation measures.

We randomly generated 10,000 synthetic time series with N=5𝑁5N=5italic_N = 5 adhering to the sine function (Yoon et al., 2019), expressed as xi,j=sin(2πηj+θ)subscript𝑥𝑖𝑗2𝜋𝜂𝑗𝜃x_{i,j}=\sin(2\pi\eta j+\theta)italic_x start_POSTSUBSCRIPT italic_i , italic_j end_POSTSUBSCRIPT = roman_sin ( 2 italic_π italic_η italic_j + italic_θ ), where η𝒰[0,1]similar-to𝜂𝒰01\eta\sim\mathcal{U}[0,1]italic_η ∼ caligraphic_U [ 0 , 1 ], θ𝒰[π,π]similar-to𝜃𝒰𝜋𝜋\theta\sim\mathcal{U}[-\pi,\pi]italic_θ ∼ caligraphic_U [ - italic_π , italic_π ], i[1,5]𝑖15i\in[1,5]italic_i ∈ [ 1 , 5 ], and j[1,l]𝑗1𝑙j\in[1,l]italic_j ∈ [ 1 , italic_l ]. We then assessed these series using two sequence lengths, l=24𝑙24l=24italic_l = 24 and l=125𝑙125l=125italic_l = 125, employing the evaluation measures outlined in §4.2. The predictive score incorporated two configurations: next step forecasting (Yoon et al., 2019) (denoted as PS) and entire sequence forecasting (denoted as PS (entire)) (Jeon et al., 2022). Table 4 considered two scenarios for input time series: (1) identical original and generated data, where ideal evaluation measures should be 0; and (2) time series sampled from the same sine function but with different seeds.

In Table 4, it is evident that all feature-based, distance-based measures and C-FID demonstrate the robustness and accurate reflection of the changes in input time series. Contrarily, DS and PS exhibit some inconsistencies. For instance, the scores for DS and PS from random sampling at l=125𝑙125l=125italic_l = 125 manifest lower values than their identical counterparts, a result that tends to be counter-intuitive. Also, the standard deviation of DS is notably high relative to the mean value, suggesting considerable variation. Moreover, DS appears insensitive to the increase in l𝑙litalic_l, limiting its effectiveness in accurately evaluating the TSG methods’ performance on longer sequences. The above observations confirm that DS and PS may be less robust than other measures, especially as input settings change. This aligns with the challenges we discussed in §1.1.

Table 4. Robustness test on ten evaluation measures.
Input Shape (R,l,N)𝑅𝑙𝑁(R,l,N)( italic_R , italic_l , italic_N ) Model-based Feature-based Distance-based
DS PS PS (entire) C-FID MDD ACD SD KD ED DTW
Identical (10,000, 24, 5) 0.006±0.003 0.094±0.000 0.072±0.005 0.000±0.000 0.001 0.000 0.000 0.000 0.000 0.000
(10,000, 125, 5) 0.010±0.007 0.251±0.003 0.169±0.001 0.000±0.000 0.000 0.000 0.000 0.000 0.000 0.000
Random Sampling (10,000, 24, 5) 0.009±0.005 0.094±0.000 0.071±0.005 0.003±0.000 0.222 0.131×103absentsuperscript103\times 10^{-3}× 10 start_POSTSUPERSCRIPT - 3 end_POSTSUPERSCRIPT 0.009 0.007 0.653 1.689
(10,000, 125, 5) 0.003±0.005 0.249±0.003 0.168±0.001 0.016±0.001 0.108 0.022 0.009 0.020 4.350 9.663

6.4. Ranking Analysis

Selecting suitable TSG methods is vital for handling new time series datasets. Therefore, it is crucial to understand and analyze the consistency in performance across various methods.

Method Ranking

We initially present the ranking of ten methods under two specific scenarios. First, we evaluate their performance across all datasets for each individual measure, as depicted on the left-hand side of Figure 1. Second, we examine their average ranking across all measures but constricted to each dataset included in TSGBench, as showcased on the right-hand side of Figure 1.

Across all evaluation measures and datasets, no single method consistently dominates, but TimeVQVAE, TimeVAE, COSCI-GAN, RTSGAN, and LS4 often outperform others. Specifically, TimeVAE and LS4 excel in distance-based measures and demonstrate impressive training efficiency, while COSCI-GAN and RTSGAN lead in model-based measures. In contrast, RGAN generally ranks lower in performance. A dataset-centric analysis reveals a similar pattern, with the same group of TimeVQVAE, TimeVAE, COSCI-GAN, RTSGAN, and LS4 achieving high rankings across various datasets. This consistency across different evaluation aspects further validates the robustness and reliability of TSGBench.

Statistical Validation

To statistically confirm the method ranking, we employ the Friedman test (Friedman, 1937) along with Conover’s test (Conover and Iman, 1979; Terpilowski, 2019) for ranking comparisons. Figure 8 presents the average rankings and the critical difference for each method.

The ten TSG methods can be segregated into four tiers. TimeVQVAE, TimeVAE, COSCI-GAN, LS4, and RTSGAN lead, followed by Fourier Flow, AEC-GAN, and TimeGAN. GT-GAN forms the third cohort, while RGAN occupies the lowest tier. This aligns with the observations from §6.1. The supremacy of the first-tier methods becomes unambiguously clear as they stand statistically distinct from their counterparts spanning the other three tiers. Zooming into this premier group, despite the noticeable lead of TimeVQVAE and TimeVAE, they do not statistically tower over their peers within the group. This statistical overlap is not confined to the elite group but is also exhibited in the second group. Such an overlap indicates that the performance deltas between methods within these groups are not glaringly vast. Conversely, the third and fourth groups’ distinct position underscores a pronounced performance chasm, setting it distinctly apart from others.

Refer to caption
Figure 8. Critical difference diagram of TSG methods.

6.5. Recommendations

Finally, we provide guidelines to assist users in effectively using TSGBench. This benchmark is designed to be a beacon for navigating the intricate terrain of TSG.

Selection of TSG Methods

TSGBench serves as a toolkit to effectively discern the most appropriate TSG methods for different datasets. When confronted with a new dataset, an insightful strategy would be to juxtapose the statistical properties and distributions of the new time series datasets against those cataloged in TSGBench. This strategy offers a navigational compass, pointing users towards relevant generation techniques.

  1. (1)

    As a foundational step, we advocate for users to commence with VAE-based methods (e.g., TimeVAE and LS4). Their consistent leading performance and superior computational efficiency make them go-to choices for initial exploration.

  2. (2)

    In applications emphasizing autocorrelation or forecasting, such as predictive maintenance or stock market analysis, the ACD measure becomes crucial. Fourier Flow, which is recognized for maintaining temporal dependencies, is highly suitable for these scenarios. On the other hand, for capturing complex multi-variate relationships in datasets, COSCI-GAN is the recommended choice.

  3. (3)

    Subsequent considerations focus on dataset size and domain specificity. For small-sized datasets, RTSGAN and LS4, which excel in single DA, are strong choices. For heterogeneous datasets, or when the goal is to generate time series for a new target domain, TimeVAE and COSCI-GAN stand out for their effectiveness in cross DA.

  4. (4)

    Users can further fine-tune their method selection based on specific real-world application needs, which involves identifying the most relevant evaluation measures. In this case, Figure 1 serves as a valuable visual guide.

Selection of Evaluation Measures

When evaluating a new TSG method, a comprehensive assessment is essential. Leveraging the features of TSGBench, we offer the following guidelines to facilitate this process. This allows users to tailor their choice of evaluation measures to the specific application requirements.

  1. (1)

    For applications where generated series will be used in classification or forecasting, model-based measures are advisable. Nevertheless, considering the robustness issues with DS and PS, we recommend starting with C-FID. Its prowess in gauging fidelity based on representations bestows it with the capability to augment subsequent tasks.

  2. (2)

    When the goal is to emphasize the statistical attributes of the dataset, feature-based measures emerge as the preferred option, offering precise insights into the statistical nuances.

  3. (3)

    In projects focusing on time series clustering, distance-based metrics assume an elevated importance due to their ability to discern subtle distinctions and similarities within the data.

Thus, users can customize their choice of evaluation measures to align closely with their research goals, ensuring more robust results. Note that not all measures tend to yield uniform outcomes consistently. Users could continually calibrate their evaluations and discern the trade-off between effectiveness and efficiency. This ensures that the chosen measures are not only reflective of the desired outcomes but also optimized for performance.

7. Conclusion and Future Work

In this paper, we propose TSGBench, a groundbreaking benchmark specifically designed for TSG. This benchmark is comprehensive, featuring datasets from diverse domains, a standardized data preprocessing pipeline, a holistic evaluation suite, and a novel generalization test grounded in DA. Extensive results validate its capability to offer a unified and equitable platform for assessing the efficacy and robustness of various TSG methods. Importantly, TSGBench also sheds light on the potential of their generalization capabilities. As a collaborative resource, it promises to catalyze further advancements within the time series community.

Looking forward, our aspirations for TSGBench are multifold. We intend to continually integrate emerging TSG methods, ensuring the benchmark remains at the vanguard of advancements. Also, the addition of new datasets is on the horizon, aiming to enhance the diversity and complexity of the challenges the benchmark addresses. Lastly, we are also contemplating introducing functionalities that facilitate automatic tuning, thereby streamlining the training process and making it even more friendly for users.

Acknowledgements.
This research is supported by the National Research Foundation, Singapore under its Strategic Capability Research Centres Funding Initiative and the Ministry of Education, Singapore, under its MOE AcRF TIER 3 Grant (MOE-MOET32022-0001). Any opinions, findings and conclusions or recommendations expressed in this material are those of the author(s) and do not reflect the views of National Research Foundation, Singapore and the Ministry of Education, Singapore.

References

  • (1)
  • Alaa et al. (2022) Ahmed Alaa, Boris Van Breugel, Evgeny S Saveliev, and Mihaela van der Schaar. 2022. How Faithful is your Synthetic Data? Sample-level Metrics for Evaluating and Auditing Generative Models. In ICML. 290–306.
  • Alaa et al. (2021) Ahmed M. Alaa, Alex James Chan, and Mihaela van der Schaar. 2021. Generative Time-series Modeling with Fourier Flows. In ICLR.
  • Ang et al. (2023) Yihao Ang, Qiang Huang, Anthony KH Tung, and Zhiyong Huang. 2023. A Stitch in Time Saves Nine: Enabling Early Anomaly Detection with Correlation Analysis. In ICDE. 1832–1845.
  • Bagnall et al. (2018) Anthony Bagnall, Hoang Anh Dau, Jason Lines, Michael Flynn, James Large, Aaron Bostrom, Paul Southam, and Eamonn Keogh. 2018. The UEA multivariate time series classification archive, 2018. arXiv preprint arXiv:1811.00075 (2018).
  • Bauer et al. (2021) André Bauer, Marwin Züfle, Simon Eismann, Johannes Grohmann, Nikolas Herbst, and Samuel Kounev. 2021. Libra: A Benchmark for Time Series Forecasting Methods. In ICPE. 189–200.
  • Berndt and Clifford (1994) Donald J Berndt and James Clifford. 1994. Using dynamic time warping to find patterns in time series. In KDD Workshop. 359–370.
  • Cai et al. (2021) Ruichu Cai, Jiawei Chen, Zijian Li, Wei Chen, Keli Zhang, Junjian Ye, Zhuozhang Li, Xiaoyan Yang, and Zhenjie Zhang. 2021. Time Series Domain Adaptation via Sparse Associative Structure Alignment. In AAAI. 6859–6867.
  • Campos et al. (2021) David Campos, Tung Kieu, Chenjuan Guo, Feiteng Huang, Kai Zheng, Bin Yang, and Christian S Jensen. 2021. Unsupervised Time Series Outlier Detection with Diversity-Driven Convolutional Ensembles. Proc. VLDB Endow. 15, 3 (2021), 611–623.
  • Candanedo (2017) Luis Candanedo. 2017. Appliances energy prediction. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C5VC8G.
  • Chen et al. (2018) Tian Qi Chen, Yulia Rubanova, Jesse Bettencourt, and David Duvenaud. 2018. Neural Ordinary Differential Equations. In NeurIPS. 6572–6583.
  • Cirstea et al. (2022) Razvan-Gabriel Cirstea, Bin Yang, Chenjuan Guo, Tung Kieu, and Shirui Pan. 2022. Towards Spatio- Temporal Aware Traffic Time Series Forecasting. In ICDE. 2900–2913.
  • Conover and Iman (1979) William Jay Conover and Ronald L Iman. 1979. On multiple-comparisons procedures. Los Alamos Sci. Lab. Tech. Rep. LA-7677-MS 1 (1979), 14.
  • Dau et al. (2019) Hoang Anh Dau, Anthony Bagnall, Kaveh Kamgar, Chin-Chia Michael Yeh, Yan Zhu, Shaghayegh Gharghabi, Chotirat Ann Ratanamahatana, and Eamonn Keogh. 2019. The UCR Time Series Archive. IEEE/CAA Journal of Automatica Sinica 6, 6 (2019), 1293–1305.
  • Deng et al. (2020) Ruizhi Deng, Bo Chang, Marcus A. Brubaker, Greg Mori, and Andreas M. Lehrmann. 2020. Modeling Continuous Stochastic Processes with Dynamic Normalizing Flows. In NeurIPS. 7805–7815.
  • Desai et al. (2021) Abhyuday Desai, Cynthia Freeman, Zuhui Wang, and Ian Beaver. 2021. TimeVAE: A Variational Auto-Encoder for Multivariate Time Series Generation. arXiv preprint arXiv:2111.08095 (2021).
  • Ding et al. (2022) Daizong Ding, Mi Zhang, Yuanmin Huang, Xudong Pan, Fuli Feng, Erling Jiang, and Min Yang. 2022. Towards backdoor attack on deep learning based time series classification. In ICDE. 1274–1287.
  • Dinh et al. (2014) Laurent Dinh, David Krueger, and Yoshua Bengio. 2014. Nice: Non-linear independent components estimation. arXiv preprint arXiv:1410.8516 (2014).
  • Dinh et al. (2016) Laurent Dinh, Jascha Sohl-Dickstein, and Samy Bengio. 2016. Density estimation using Real NVP. In ICLR.
  • Donahue et al. (2019) Chris Donahue, Julian J. McAuley, and Miller S. Puckette. 2019. Adversarial Audio Synthesis. In ICLR.
  • Esteban et al. (2017) Cristóbal Esteban, Stephanie L Hyland, and Gunnar Rätsch. 2017. Real-valued (medical) time series generation with recurrent conditional gans. arXiv preprint arXiv:1706.02633 (2017).
  • Fortuin et al. (2020) Vincent Fortuin, Dmitry Baranchuk, Gunnar Rätsch, and Stephan Mandt. 2020. GP-VAE: Deep Probabilistic Multivariate Time Series Imputation. In AISTATS. 1651–1661.
  • Fortuin et al. (2019) Vincent Fortuin, Matthias Hüser, Francesco Locatello, Heiko Strathmann, and Gunnar Rätsch. 2019. SOM-VAE: Interpretable Discrete Representation Learning on Time Series. In ICLR.
  • Franceschi et al. (2019) Jean-Yves Franceschi, Aymeric Dieuleveut, and Martin Jaggi. 2019. Unsupervised Scalable Representation Learning for Multivariate Time Series. In NeurIPS. 4652–4663.
  • Friedman (1937) Milton Friedman. 1937. The use of ranks to avoid the assumption of normality implicit in the analysis of variance. J. Amer. Statist. Assoc. 32, 200 (1937), 675–701.
  • Goldberger et al. (2000) Ary L Goldberger, Luis AN Amaral, Leon Glass, Jeffrey M Hausdorff, Plamen Ch Ivanov, Roger G Mark, Joseph E Mietus, George B Moody, Chung-Kang Peng, and H Eugene Stanley. 2000. PhysioBank, PhysioToolkit, and PhysioNet: components of a new research resource for complex physiologic signals. Circulation 101, 23 (2000), e215–e220.
  • Goodfellow et al. (2014) Ian J Goodfellow, Jean Pouget-Abadie, Mehdi Mirza, Bing Xu, David Warde-Farley, Sherjil Ozair, Aaron Courville, and Yoshua Bengio. 2014. Generative adversarial nets. In NIPS. 2672–2680.
  • Gretton et al. (2006) Arthur Gretton, Karsten M. Borgwardt, Malte J. Rasch, Bernhard Schölkopf, and Alexander J. Smola. 2006. A Kernel Method for the Two-Sample-Problem. In NIPS. 513–520.
  • Hang Lou and Ni (2023) Xin Dong Baoren Xiao Lei Jiang Hang Lou, Jiajie Tao and Hao Ni. 2023. Evaluation of Time Series Generative Models. https://github.com/DeepIntoStreams/Evaluation-of-Time-Series-Generative-Models.git.
  • Hao et al. (2021) Yuanzhe Hao, Xiongpai Qin, Yueguo Chen, Yaru Li, Xiaoguang Sun, Yu Tao, Xiao Zhang, and Xiaoyong Du. 2021. TS-Benchmark: A Benchmark for Time Series Databases. In ICDE. 588–599.
  • Heusel et al. (2017) Martin Heusel, Hubert Ramsauer, Thomas Unterthiner, Bernhard Nessler, and Sepp Hochreiter. 2017. GANs Trained by a Two Time-Scale Update Rule Converge to a Local Nash Equilibrium. In NIPS. 6629–6640.
  • Hu et al. (2020) Hailin Hu, MingJian Tang, and Chengcheng Bai. 2020. Datsing: Data augmented time series forecasting with adversarial domain adaptation. In CIKM. 2061–2064.
  • Hutchins (2006) Jon Hutchins. 2006. Dodgers Loop Sensor. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C51P50.
  • Ismail Fawaz et al. (2019) Hassan Ismail Fawaz, Germain Forestier, Jonathan Weber, Lhassane Idoumghar, and Pierre-Alain Muller. 2019. Deep learning for time series classification: a review. DMKD 33, 4 (2019), 917–963.
  • Jacob et al. (2021) Vincent Jacob, Fei Song, Arnaud Stiegler, Bijan Rad, Yanlei Diao, and Nesime Tatbul. 2021. Exathlon: A Benchmark for Explainable Anomaly Detection over Time Series. Proc. VLDB Endow. 14, 11 (2021), 2613–2626.
  • Jarrett et al. (2021) Daniel Jarrett, Ioana Bica, and Mihaela van der Schaar. 2021. Time-series Generation by Contrastive Imitation. In NeurIPS. 28968–28982.
  • Javed et al. (2020) Ali Javed, Byung Suk Lee, and Donna M Rizzo. 2020. A Benchmark Study on Time Series Clustering. Machine Learning with Applications 1 (2020), 100001.
  • Jeha et al. (2021) Paul Jeha, Michael Bohlke-Schneider, Pedro Mercado, Shubham Kapoor, Rajbir Singh Nirwan, Valentin Flunkert, Jan Gasthaus, and Tim Januschowski. 2021. PSA-GAN: Progressive self attention GANs for synthetic time series. In ICLR.
  • Jeon et al. (2022) Jinsung Jeon, Jeonghak Kim, Haryong Song, Seunghyeon Cho, and Noseong Park. 2022. GT-GAN: General Purpose Time Series Synthesis with Generative Adversarial Networks. In NeurIPS. 36999–37010.
  • Johnson et al. (2016) Alistair EW Johnson, Tom J Pollard, Lu Shen, Li-wei H Lehman, Mengling Feng, Mohammad Ghassemi, Benjamin Moody, Peter Szolovits, Leo Anthony Celi, and Roger G Mark. 2016. MIMIC-III, a freely accessible critical care database. Scientific Data 3, 1 (2016), 1–9.
  • Jordon et al. (2018) James Jordon, Jinsung Yoon, and Mihaela Van Der Schaar. 2018. PATE-GAN: Generating synthetic data with differential privacy guarantees. In ICLR.
  • Keogh and Kasetty (2002) Eamonn Keogh and Shruti Kasetty. 2002. On the need for time series data mining benchmarks: a survey and empirical demonstration. In KDD. 102–111.
  • Kidger et al. (2021) Patrick Kidger, James Foster, Xuechen Li, and Terry J Lyons. 2021. Neural SDEs as Infinite-Dimensional GANs. In ICML. 5453–5463.
  • Kingma and Dhariwal (2018) Diederik P. Kingma and Prafulla Dhariwal. 2018. Glow: Generative Flow with Invertible 1x1 Convolutions. In NeurIPS. 10236–10245.
  • Kingma et al. (2014) Diederik P Kingma, Danilo J Rezende, Shakir Mohamed, and Max Welling. 2014. Semi-supervised learning with deep generative models. In NIPS. 3581–3589.
  • Kingma and Welling (2013) Diederik P Kingma and Max Welling. 2013. Auto-encoding variational bayes. arXiv preprint arXiv:1312.6114 (2013).
  • Lai et al. (2018) Guokun Lai, Wei-Cheng Chang, Yiming Yang, and Hanxiao Liu. 2018. Modeling Long-and Short-Term Temporal Patterns with Deep Neural Networks. In SIGIR. 95–104.
  • Lai et al. (2021) Kwei-Herng Lai, Daochen Zha, Junjie Xu, Yue Zhao, Guanchu Wang, and Xia Hu. 2021. Revisiting Time Series Outlier Detection: Definitions and Benchmarks. In NeurIPS datasets and benchmarks track (round 1).
  • Lee et al. (2023) Daesoo Lee, Sara Malacarne, and Erlend Aune. 2023. Vector Quantized Time Series Generation with a Bidirectional Prior Model. In AISTATS. 7665–7693.
  • Li et al. (2022a) Guozhong Li, Byron Choi, Jianliang Xu, Sourav S Bhowmick, Daphne Ngar-yin Mah, and Grace LH Wong. 2022a. IPS: Instance Profile for Shapelet Discovery for Time Series Classification. In ICDE. 1781–1793.
  • Li et al. (2023) Hongming Li, Shujian Yu, and Jose Principe. 2023. Causal Recurrent Variational Autoencoder for Medical Time Series Generation. In AAAI. 8562–8570.
  • Li et al. (2022b) Xiaomin Li, Vangelis Metsis, Huangyingrui Wang, and Anne Hee Hiong Ngu. 2022b. Tts-gan: A transformer-based time-series generative adversarial network. In AIME. 133–143.
  • Lim et al. (2023) Haksoo Lim, Minjung Kim, Sewon Park, and Noseong Park. 2023. Regular Time-series Generation using SGM. arXiv preprint arXiv:2301.08518 (2023).
  • Lin et al. (2020) Zinan Lin, Alankar Jain, Chen Wang, Giulia Fanti, and Vyas Sekar. 2020. Using GANs for Sharing Networked Time Series Data: Challenges, Initial Promise, and Open Questions. In IMC. 464–483.
  • Liu et al. (2022) Yuansan Liu, Sudanthi Wijewickrema, Ang Li, and James Bailey. 2022. Time-Transformer AAE: Connecting Temporal Convolutional Networks and Transformer for Time Series Generation. (2022).
  • Makridakis et al. (2021) Spyros Makridakis, Evangelos Spiliotis, et al. 2021. The M5 competition and the future of human expertise in forecasting. Foresight: The International Journal of Applied Forecasting 60 (2021), 33–37.
  • Makridakis et al. (2018) Spyros Makridakis, Evangelos Spiliotis, and Vassilios Assimakopoulos. 2018. The M4 Competition: Results, findings, conclusion and way forward. International Journal of Forecasting 34, 4 (2018), 802–808.
  • Meert et al. (2020) Wannes Meert, Kilian Hendrickx, Toon Van Craenendonck, Pieter Robberechts, Hendrik Blockeel, and Jesse Davis. 2020. DTAIDistance.
  • Mogren (2016) Olof Mogren. 2016. C-RNN-GAN: A continuous recurrent neural network with adversarial training. In Constructive Machine Learning Workshop (CML) at NIPS 2016. 1.
  • Ni et al. (2021) Hao Ni, Lukasz Szpruch, Marc Sabate-Vidales, Baoren Xiao, Magnus Wiese, and Shujian Liao. 2021. Sig-Wasserstein GANs for time series generation. In Proceedings of the Second ACM International Conference on AI in Finance. 1–8.
  • Ni et al. (2020) Hao Ni, Lukasz Szpruch, Magnus Wiese, Shujian Liao, and Baoren Xiao. 2020. Conditional Sig-Wasserstein GANs for Time Series Generation. arXiv preprint arXiv:2006.05421 (2020).
  • Nikitin et al. (2023) Alexander Nikitin, Letizia Iannucci, and Samuel Kaski. 2023. TSGM: A Flexible Framework for Generative Modeling of Synthetic Time Series. arXiv preprint arXiv:2305.11567 (2023).
  • Oppenheim (1999) Alan V Oppenheim. 1999. Discrete-time signal processing. Pearson Education India.
  • Paparrizos et al. (2022a) John Paparrizos, Paul Boniol, Themis Palpanas, Ruey S Tsay, Aaron Elmore, and Michael J Franklin. 2022a. Volume under the surface: a new accuracy evaluation measure for time-series anomaly detection. Proc. VLDB Endow. 15, 11 (2022), 2774–2787.
  • Paparrizos et al. (2022b) John Paparrizos, Yuhao Kang, Paul Boniol, Ruey S Tsay, Themis Palpanas, and Michael J Franklin. 2022b. TSB-UAD: an end-to-end benchmark suite for univariate time-series anomaly detection. Proc. VLDB Endow. 15, 8 (2022), 1697–1711.
  • Parzen (1963) Emanuel Parzen. 1963. On spectral analysis with missing observations and amplitude modulation. Sankhyā: The Indian Journal of Statistics, Series A (1963), 383–392.
  • Pei et al. (2021) Hengzhi Pei, Kan Ren, Yuqing Yang, Chang Liu, Tao Qin, and Dongsheng Li. 2021. Towards generating real-world time series data. In ICDM. 469–478.
  • Ragab et al. (2023) Mohamed Ragab, Emadeldeen Eldele, Wee Ling Tan, Chuan-Sheng Foo, Zhenghua Chen, Min Wu, Chee-Keong Kwoh, and Xiaoli Li. 2023. ADATIME: A Benchmarking Suite for Domain Adaptation on Time Series Data. TKDD (2023), 1–18.
  • Ramponi et al. (2018) Giorgia Ramponi, Pavlos Protopapas, Marco Brambilla, and Ryan Janssen. 2018. T-CGAN: Conditional Generative Adversarial Network for Data Augmentation in Noisy Time Series with Irregular Sampling. arXiv preprint arXiv:1811.08295 (2018).
  • Rani and Sikka (2012) Sangeeta Rani and Geeta Sikka. 2012. Recent Techniques of Clustering of Time Series Data: A Survey. International Journal of Computer Applications 52, 15 (2012).
  • Remlinger et al. (2022) Carl Remlinger, Joseph Mikael, and Romuald Elie. 2022. Conditional Loss and Deep Euler Scheme for Time Series Generation. In AAAI, Vol. 36. 8098–8105.
  • Reyes-Ortiz et al. (2012) Jorge Reyes-Ortiz, Davide Anguita, Alessandro Ghio, Luca Oneto, and Xavier Parra. 2012. Human Activity Recognition Using Smartphones. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C54S4K.
  • Roesler (2013) Oliver Roesler. 2013. EEG Eye State. UCI Machine Learning Repository. DOI: https://doi.org/10.24432/C57G7J.
  • Rubanova et al. (2019) Yulia Rubanova, Ricky T. Q. Chen, and David K Duvenaud. 2019. Latent Ordinary Differential Equations for Irregularly-Sampled Time Series. In NeurIPS. 5320–5330.
  • Seyfi et al. (2022) Ali Seyfi, Jean-François Rajotte, and Raymond T. Ng. 2022. Generating multivariate time series with COmmon Source CoordInated GAN (COSCI-GAN). In NeurIPS. 32777–32788.
  • Shokoohi-Yekta et al. (2017) Mohammad Shokoohi-Yekta, Bing Hu, Hongxia Jin, Jun Wang, and Eamonn Keogh. 2017. Generalizing DTW to the multi-dimensional case requires an adaptive approach. DMKD 31 (2017), 1–31.
  • Smith and Smith (2020) Kaleb E Smith and Anthony O Smith. 2020. Conditional GAN for timeseries generation. arXiv preprint arXiv:2006.16477 (2020).
  • Srinivasan and Knottenbelt (2022) Padmanaba Srinivasan and William J Knottenbelt. 2022. Time-series Transformer Generative Adversarial Networks. arXiv preprint arXiv:2205.11164 (2022).
  • Terpilowski (2019) Maksim Terpilowski. 2019. scikit-posthocs: Pairwise multiple comparison tests in Python. The Journal of Open Source Software 4, 36 (2019), 1169.
  • van den Oord et al. (2017) Aäron van den Oord, Oriol Vinyals, and Koray Kavukcuoglu. 2017. Neural Discrete Representation Learning. In NIPS. 6306–6315.
  • Van der Maaten and Hinton (2008) Laurens Van der Maaten and Geoffrey Hinton. 2008. Visualizing Data using t-SNE. JMLR 9, 11 (2008).
  • Wang et al. (2023) Lei Wang, Liang Zeng, and Jian Li. 2023. AEC-GAN: Adversarial Error Correction GANs for Auto-Regressive Long Time-Series Generation. In AAAI. 10140–10148.
  • Wiese et al. (2020) Magnus Wiese, Robert Knobloch, Ralf Korn, and Peter Kretschmer. 2020. Quant GANs: deep generation of financial time series. Quantitative Finance 20, 9 (2020), 1419–1440.
  • Wilson et al. (2020) Garrett Wilson, Janardhan Rao Doppa, and Diane J Cook. 2020. Multi-source deep domain adaptation with weak supervision for time-series sensor data. In KDD. 1768–1778.
  • Wu et al. (2021) Xinle Wu, Dalin Zhang, Chenjuan Guo, Chaoyang He, Bin Yang, and Christian S Jensen. 2021. AutoCTS: Automated correlated time series forecasting. Proc. VLDB Endow. 15, 4 (2021), 971–983.
  • Xu et al. (2020) Tianlin Xu, Li Kevin Wenliang, Michael Munn, and Beatrice Acciaio. 2020. COT-GAN: Generating Sequential Data via Causal Optimal Transport. In NeurIPS. 8798–8809.
  • Yan et al. (2022) Chao Yan, Yao Yan, Zhiyu Wan, Ziqi Zhang, Larsson Omberg, Justin Guinney, Sean D Mooney, and Bradley A Malin. 2022. A Multifaceted benchmarking of synthetic electronic health record generation models. Nature Communications 13, 1 (2022), 7609.
  • Yoon et al. (2019) Jinsung Yoon, Daniel Jarrett, and Mihaela van der Schaar. 2019. Time-series Generative Adversarial Networks. In NeurIPS. 5509–5519.
  • Zheng et al. (2015) Yu Zheng, Xiuwen Yi, Ming Li, Ruiyuan Li, Zhangqing Shan, Eric Chang, and Tianrui Li. 2015. Forecasting fine-grained air quality based on big data. In KDD. 2267–2276.
  • Zhou et al. (2023) Linqi Zhou, Michael Poli, Winnie Xu, Stefano Massaroli, and Stefano Ermon. 2023. Deep Latent State Space Models for Time-Series Generation. In ICML. 42625–42643.