Skip to main content
QUICK REVIEW

[Paper Review] TTS-CGAN: A Transformer Time-Series Conditional GAN for Biosignal Data Augmentation

Xiaomin Li, Anne H. H. Ngu|arXiv (Cornell University)|Jun 28, 2022
Time Series Analysis and ForecastingComputer Science27 citations
TL;DR

TTS-CGAN is a transformer-based conditional GAN that can generate multi-class time-series biosignal data of arbitrary length, enabling data augmentation and transfer learning across classes.

ABSTRACT

Signal measurement appearing in the form of time series is one of the most common types of data used in medical machine learning applications. Such datasets are often small in size, expensive to collect and annotate, and might involve privacy issues, which hinders our ability to train large, state-of-the-art deep learning models for biomedical applications. For time-series data, the suite of data augmentation strategies we can use to expand the size of the dataset is limited by the need to maintain the basic properties of the signal. Generative Adversarial Networks (GANs) can be utilized as another data augmentation tool. In this paper, we present TTS-CGAN, a transformer-based conditional GAN model that can be trained on existing multi-class datasets and generate class-specific synthetic time-series sequences of arbitrary length. We elaborate on the model architecture and design strategies. Synthetic sequences generated by our model are indistinguishable from real ones, and can be used to complement or replace real signals of the same type, thus achieving the goal of data augmentation. To evaluate the quality of the generated data, we modify the wavelet coherence metric to be able to compare the similarity between two sets of signals, and also conduct a case study where a mix of synthetic and real data are used to train a deep learning model for sequence classification. Together with other visualization techniques and qualitative evaluation approaches, we demonstrate that TTS-CGAN generated synthetic data are similar to real data, and that our model performs better than the other state-of-the-art GAN models built for time-series data generation.

Motivation & Objective

  • Address data scarcity and privacy concerns in biosignal analysis by augmenting time-series data with a conditional GAN.
  • Enable multi-class time-series generation with transfer learning across classes in a single model.
  • Propose a robust similarity metric to evaluate generated time-series data quality.
  • Demonstrate utility through case studies showing augmentation benefits for classification tasks.

Proposed method

  • Present TTS-CGAN, a transformer-based conditional GAN with a generator that maps random noise and target class to a synthetic time-series sequence.
  • Treat time-series as 1 x 1 x W like an image with patches along the time axis, using learned positional encoding.
  • Train a discriminator with two heads: adversarial output and a classification output for the signal category, employing a Wasserstein loss with gradient penalty.
  • Embed class labels into the generator input while adding a separate classification head on the discriminator for the conditional setup.
  • Adopt a conditional GAN objective with adversarial loss and categorical loss, and use soft label strategies to stabilize training when needed.
  • Provide a study of label embedding strategies and conclude that concatenating label embeddings to the generator input with a discriminator classification head yields best performance across architectures.

Experimental results

Research questions

  • RQ1Can a single transformer-based conditional GAN generate multi-class biosignal time-series data of arbitrary length?
  • RQ2Does embedding class labels only in the generator and using a discriminator classifier head improve synthetic data quality for transformer-based GANs?
  • RQ3How can we quantitatively assess similarity between real and synthetic time-series data in a way that supports multi-class evaluation?
  • RQ4Do synthetic data augmentations improve downstream sequence classification performance on biosignal datasets?

Key findings

  • TTS-CGAN can generate class-specific synthetic time-series sequences of arbitrary length.
  • A label-embedding strategy that concatenates labels to the generator input and uses a discriminator classification head performs best across tested architectures.
  • A Wasserstein loss with gradient penalty stabilizes training and improves synthetic data quality.
  • A modified wavelet coherence metric is proposed to quantify similarity between two sets of time-series signals.
  • Experiments on multiple datasets show synthetic data are similar to real data and that TTS-CGAN outperforms state-of-the-art time-series GANs in quality metrics.

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.