Skip to main content
QUICK REVIEW

[Paper Review] Autoencoders and Generative Adversarial Networks for Anomaly Detection for Sequences.

Stephanie Ger, Diego Klabjan|arXiv (Cornell University)|Jan 8, 2019
Anomaly Detection Techniques and ApplicationsComputer Science17 references9 citations
TL;DR

This paper proposes using autoencoders and generative adversarial networks (GANs) to generate synthetic, structure-preserving sequences for anomaly detection in multi-feature time series data. By applying synthetic oversampling to the minority (anomalous) class via autoencoders and GANs, and leveraging GANs to model the majority class for novelty detection, the approach significantly improves downstream classification performance across multiple sequence datasets.

ABSTRACT

We introduce synthetic oversampling in anomaly detection for multi-feature sequence datasets based on autoencoders and generative adversarial networks. The first approach considers the use of an autoencoder in conjunction with standard oversampling methods to generate synthetic data that captures the sequential nature of the data. A different model uses generative adversarial networks to generate structure preserving synthetic data for the minority class. We also use generative adversarial networks on the majority class as an outlier detection method for novelty detection. We show that the use of generative adversarial network based synthetic data improves classification model performance on a variety of sequence data sets.

Motivation & Objective

  • To address class imbalance in multi-feature sequence anomaly detection by generating synthetic minority-class sequences.
  • To preserve temporal and structural relationships in synthetic sequence generation for improved model generalization.
  • To explore GAN-based generation of both minority and majority class sequences for enhanced anomaly detection.
  • To evaluate the impact of GAN- and autoencoder-based synthetic data on classification performance in sequence-based anomaly detection.
  • To provide a scalable, generative approach to data augmentation that maintains sequence integrity for anomaly detection.

Proposed method

  • An autoencoder is trained on the full sequence data to learn a compressed, meaningful representation of the input sequences.
  • Standard oversampling techniques are applied to the latent space of the trained autoencoder to generate synthetic minority-class sequences.
  • A conditional GAN is trained to generate synthetic sequences that preserve structural and sequential characteristics of the original data.
  • The GAN is used to generate synthetic data for the minority class, ensuring that the generated sequences are semantically and temporally coherent.
  • A separate GAN is trained on the majority class to learn its distribution, enabling novelty detection by identifying samples that deviate significantly from the learned distribution.
  • The synthetic sequences from both approaches are used to augment the training set, improving the performance of downstream classification models.

Experimental results

Research questions

  • RQ1Can autoencoder-based latent space oversampling improve anomaly detection performance on imbalanced sequence datasets?
  • RQ2To what extent do GAN-generated synthetic sequences preserve the structural and sequential properties of real data?
  • RQ3Does using GANs to model the majority class enhance novelty detection capabilities?
  • RQ4How does GAN-based synthetic data augmentation compare to traditional oversampling in sequence anomaly detection?
  • RQ5Can generative models effectively address data scarcity in minority anomaly classes while maintaining sequence integrity?

Key findings

  • The use of GAN-based synthetic data generation significantly improves the performance of classification models on multiple sequence datasets.
  • Synthetic sequences generated via GANs preserve the structural and sequential characteristics of real data, enabling better generalization.
  • Autoencoder-based oversampling in the latent space leads to improved detection of anomalous sequences compared to baseline methods.
  • Modeling the majority class with a GAN enables effective novelty detection by identifying out-of-distribution samples.
  • The combination of autoencoder and GAN-based data augmentation yields superior performance over standard oversampling techniques in sequence anomaly detection tasks.
  • The proposed method demonstrates consistent improvements across diverse sequence datasets, indicating robustness and scalability.

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.