Skip to main content
QUICK REVIEW

[Paper Review] Data Augmentation by AutoEncoders for Unsupervised Anomaly Detection

Kasra Babaei, Zhiyuan Chen|arXiv (Cornell University)|Dec 21, 2019
Anomaly Detection Techniques and ApplicationsComputer Science24 references5 citations
TL;DR

This paper proposes using autoencoders (AEs) to generate meaningful latent-space data augmentations for improving unsupervised one-class classifiers (OCCs) in anomaly detection. By training an AE on normal data and using its learned latent representations to augment the training set, the method enhances OCC performance—particularly in high-dimensionality and low-sample-size scenarios—outperforming SMOTE, ADASYN, and noise-based augmentation on multiple benchmark datasets.

ABSTRACT

This paper proposes an autoencoder (AE) that is used for improving the performance of once-class classifiers for the purpose of detecting anomalies. Traditional one-class classifiers (OCCs) perform poorly under certain conditions such as high-dimensionality and sparsity. Also, the size of the training set plays an important role on the performance of one-class classifiers. Autoencoders have been widely used for obtaining useful latent variables from high-dimensional datasets. In the proposed approach, the AE is capable of deriving meaningful features from high-dimensional datasets while doing data augmentation at the same time. The augmented data is used for training the OCC algorithms. The experimental results show that the proposed approach enhance the performance of OCC algorithms and also outperforms other well-known approaches.

Motivation & Objective

  • To address the poor performance of one-class classifiers (OCCs) in high-dimensional, sparse, or small-train-set scenarios.
  • To investigate whether autoencoders can generate meaningful latent-space data augmentations that improve OCC generalization.
  • To enhance anomaly detection performance without requiring labeled anomalies, maintaining unsupervised learning constraints.
  • To evaluate the effectiveness of AE-generated augmentations across diverse, real-world datasets with varying anomaly types and sparsity.

Proposed method

  • Train a deep autoencoder on normal-only training data to learn a compressed, non-linear representation in the bottleneck layer.
  • Extract latent vectors from the trained AE at multiple training epochs to generate augmented training samples.
  • Use the augmented latent data to retrain one-class classifiers (e.g., LOF, Isolation Forest, KDE) for improved boundary learning.
  • Apply the same AE architecture across all datasets to ensure fair comparison, including on high-dimensional, sparse datasets like InternetAds (1558 features).
  • Use statistical validation (Wilcoxon signed-rank test) to assess significance of performance differences between the proposed method and baseline augmentation (e.g., adding noise).
  • Evaluate performance using standard metrics: ROC AUC and PR AUC across multiple benchmark datasets (NSL-KDD, CTU13, PenDigits, etc.).

Experimental results

Research questions

  • RQ1Can autoencoder-derived latent-space data augmentations improve the performance of one-class classifiers in unsupervised anomaly detection?
  • RQ2How does AE-based data augmentation compare to traditional methods like SMOTE and ADASYN in terms of anomaly detection AUC scores?
  • RQ3Does the proposed method maintain robustness on high-dimensional, sparse datasets where feature sparsity challenges representation learning?
  • RQ4Is the improvement in performance statistically significant compared to noise-based augmentation or baseline OCCs?

Key findings

  • The proposed AE-based data augmentation outperformed SMOTE and ADASYN on NSL-KDD and CTU13 datasets, achieving the highest PR AUC and ROC AUC in most cases.
  • On the PenDigits dataset, the method produced LOF scores with significantly less variance than other augmentation methods, indicating a more stable and robust class boundary.
  • The Wilcoxon signed-rank test confirmed that the difference in LOF scores between the proposed method and noise-based augmentation was statistically significant (p < 0.05).
  • On the high-dimensional, sparse InternetAds dataset (1558 features), the method still performed competitively, though with a smaller margin compared to other datasets, suggesting sensitivity to feature sparsity.
  • The method achieved second-best ROC AUC on the U2R subset of NSL-KDD, trailing only a noise-augmentation approach by 0.044 AUC points.
  • On single-type anomaly datasets (e.g., PenDigits, Spambase, Arrhythmia), AE-based augmentation consistently outperformed or matched state-of-the-art methods, especially in PR AUC.

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.