Quantifying quality of class-conditional generative models in time series domain

Alireza Koochali, Maria Walch, Sankrutyayan Thota, Peter Schichtel, Andreas Dengel, Sheraz Ahmed

Abstract

Evaluating generative models for time series is notoriously difficult because, unlike images, humans cannot easily "eyeball" synthetic signals for quality. This paper introduces two new metrics—InceptionTime Score (ITS) and Fréchet InceptionTime Distance (FITD)—and demonstrates through experiments on 80 datasets that a combination of these metrics with existing methods provides a robust framework for detecting quality decline, mode drop, and mode collapse.

Introduction

In the computer vision domain, researchers rely on the Inception Score (IS) and Fréchet Inception Distance (FID) to evaluate the quality and diversity of GAN-generated images. However, the time series domain has lacked a standardized, reliable equivalent. Time series data is often unintuitive; while a person can easily spot a blurry face in a synthetic image, they likely cannot distinguish a realistic synthetic ECG signal from a subtly flawed one.

Existing metrics like TSTR (Train on Synthetic, Test on Real) and TRTS (Train on Real, Test on Synthetic) offer some insight but often fail to capture specific failure modes, such as a gradual decline in signal quality or the loss of specific data classes (modes). This paper proposes a new evaluation framework to move the field toward rigorous, quantitative assessment.

Methodology

The proposed framework adapts the gold standards of image evaluation to time series by utilizing a powerful backbone: InceptionTime, a state-of-the-art deep learning classifier for time series data.

The proposed evaluation pipeline for FITD and ITS, illustrating how real and fake samples are processed through a pre-trained InceptionTime classifier to derive feature representations and softmax probabilities.

1. InceptionTime Score (ITS)

Inspired by the Inception Score, ITS uses a pre-trained InceptionTime model to evaluate synthetic samples. A high ITS indicates that the generative model produces samples that are both "clear" (the classifier is confident about the class) and "diverse" (the model produces samples across all expected classes).

2. Fréchet InceptionTime Distance (FITD)

Inspired by FID, this metric extracts feature vectors from the penultimate layer of the InceptionTime model for both real and synthetic data. It calculates the Fréchet distance between these two distributions. A lower FITD signifies that the synthetic data distribution closely mimics the real data distribution in a high-dimensional feature space.

Experimental Setup

To validate these metrics, the authors utilized 80 datasets from the UCR Time Series Archive where the InceptionTime classifier achieved at least 80% accuracy. The researchers systematically "broke" real data to test the sensitivity of the metrics against three common failure modes:

  • Decline in Quality: Adding progressive Gaussian noise.
  • Mode Drop: Removing one or more classes from the dataset.
  • Mode Collapse: Replacing diverse samples of a class with a single averaged signal.

Results and Discussion

The experiments revealed that no single metric is a "silver bullet." Instead, different metrics excel at identifying different types of model failure.

Metric Quality Decline Mode Drop Mode Collapse
ITS Moderate (+) Excellent (++) Moderate (+)
FITD Excellent (++) Moderate (+) Moderate (+)
TRTS Moderate (+) Poor (-) Poor (-)
TSTR Poor (-) Excellent (++) Excellent (++)

Key findings include:

  • FITD is uniquely effective at quantifying quality decline because it has no upper bound; as noise increases, the FITD score continues to climb.
  • ITS is the most consistent detector of missing classes (mode drop) across diverse datasets.
  • TRTS was found to be largely redundant, as it rarely provided insights not already captured more effectively by ITS or FITD.
  • TSTR remains a powerful tool for detecting mode collapse, acting as a necessary complement to the new metrics.

Conclusion

By leveraging specialized time series architectures rather than generic 1D-CNNs, the proposed ITS and FITD metrics become highly sensitive to temporal dependencies. While the metrics currently rely on high-performing classifiers and univariate data, they provide a much-needed "ruler" for the time series community, enabling more confident deployment of generative models in sensitive fields like medicine and finance.

Summary updated

BibTeX
@article{koochali2023quantifying,
  author = {Alireza Koochali and Maria Walch and Sankrutyayan Thota and Peter Schichtel and Andreas Dengel and Sheraz Ahmed},
  title = {{Quantifying quality of class-conditional generative models in time series domain}},
  journal = {Applied Intelligence},
  year = {2023},
  doi = {10.1007/s10489-023-04644-y},
}
Figure