Skip to main content
QUICK REVIEW

[Paper Review] TimeVAE: A Variational Auto-Encoder for Multivariate Time Series Generation

Abhyuday Desai, Cynthia Freeman|arXiv (Cornell University)|Nov 15, 2021
Time Series Analysis and ForecastingComputer Science38 citations
TL;DR

TimeVAE introduces a variational auto-encoder for generating multivariate time series with interpretable temporal constructs, achieving competitive or superior similarity and prediction performance while being more efficient to train than GAN-based methods.

ABSTRACT

Recent work in synthetic data generation in the time-series domain has focused on the use of Generative Adversarial Networks. We propose a novel architecture for synthetically generating time-series data with the use of Variational Auto-Encoders (VAEs). The proposed architecture has several distinct properties: interpretability, ability to encode domain knowledge, and reduced training times. We evaluate data generation quality by similarity and predictability against four multivariate datasets. We experiment with varying sizes of training data to measure the impact of data availability on generation quality for our VAE method as well as several state-of-the-art data generation methods. Our results on similarity tests show that the VAE approach is able to accurately represent the temporal attributes of the original data. On next-step prediction tasks using generated data, the proposed VAE architecture consistently meets or exceeds performance of state-of-the-art data generation methods. While noise reduction may cause the generated data to deviate from original data, we demonstrate the resulting de-noised data can significantly improve performance for next-step prediction using generated data. Finally, the proposed architecture can incorporate domain-specific time-patterns such as polynomial trends and seasonalities to provide interpretable outputs. Such interpretability can be highly advantageous in applications requiring transparency of model outputs or where users desire to inject prior knowledge of time-series patterns into the generative model.

Motivation & Objective

  • Motivate synthetic time-series data generation when real data is scarce or restricted.
  • Propose a VAE-based architecture (Base TimeVAE and Interpretable TimeVAE) that can encode domain knowledge.
  • Enable incorporation of temporal structures (level, trend, seasonality) for interpretability.
  • Show that TimeVAE achieves high data similarity to originals, strong predictive performance, and faster training than GAN-based methods.

Proposed method

  • Use a variational auto-encoder where the encoder outputs a probabilistic latent z and the decoder reconstructs X.
  • Train with ELBO loss, incorporating KL divergence to regularize the latent space.
  • Base TimeVAE uses convolutional and dense layers to map X(N x T x D) to a multivariate Gaussian latent and back.
  • Interpretable TimeVAE adds interpretable decoder blocks for trend and seasonality (injection of domain knowledge) plus a residual base decoder.
  • Trend block estimates polynomial trend coefficients from z and reconstructs a monotonic trend V_tr.
  • Seasonality block models multiple seasonal patterns via basis coefficients and indexing to reconstruct V_sn, then sum across patterns.
  • The overall interpreter output is the sum of trend, seasonality, and optional base-decoder outputs.
  • TimeVAE training uses a weighted ELBO where reconstruction loss weight can be tuned (0.5 to 3.5).

Experimental results

Research questions

  • RQ1Can TimeVAE faithfully model temporal components of real multivariate time-series data?
  • RQ2How does TimeVAE compare to GAN-based and autoregressive baselines in similarity and predictive tasks across varying data availability?
  • RQ3Does injecting domain-specific temporal structures (level, trend, seasonality) improve interpretability without sacrificing generation quality?
  • RQ4Is TimeVAE more data-efficient and computationally efficient to train than state-of-the-art methods for time-series generation?

Key findings

  • TimeVAE achieves strong overlap with original data in t-SNE visualizations across datasets and training sizes, indicating high similarity.
  • On next-step prediction tasks, TimeVAE consistently meets or exceeds performance of competing generators, often approaching original data performance, especially on sine and stockv datasets.
  • TimeVAE demonstrates de-noising effects that can improve downstream forecasting performance.
  • Interpretable TimeVAE enables explicit modeling of level, trend, and seasonality, providing interpretable outputs and facilitating domain knowledge injection.
  • Training time for TimeVAE is significantly lower than GAN-based methods (Table 3 shows notably faster times).
  • Across data scarcity scenarios (2–100% training data), TimeVAE generally outperforms T-Forcing and RCGAN and is competitive with TimeGAN, with notable advantages on noisier or smaller datasets.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.