# DOPING: Generative Data Augmentation for Unsupervised Anomaly Detection with GAN

arXiv: https://arxiv.org/abs/1808.07632 · HTML: https://mlsanity.com/paper/1808.07632/

## Key facts

- Cited by 34 papers in the map (data through 14 Oct 2026).
- First posted on arXiv 23 Aug 2018.

## Built on by (most cited first, 30 of 34)

- [Hierarchical Semantic Contrast for Scene-aware Video Anomaly Detection](https://mlsanity.com/paper/2303.13051/) (2023)
- [Re-thinking Model Inversion Attacks Against Deep Neural Networks](https://mlsanity.com/paper/2304.01669/) (2023)
- [Few-shot Image Generation via Adaptation-Aware Kernel Modulation](https://mlsanity.com/paper/2210.16559/) (2022)
- [Revisiting Label Smoothing and Knowledge Distillation Compatibility: What was Missing?](https://mlsanity.com/paper/2206.14532/) (2022)
- [Data Augmentation in High Dimensional Low Sample Size Setting Using a Geometry-Based Variational Autoencoder](https://mlsanity.com/paper/2105.00026/) (2021)
- [Fair Generative Models via Transfer Learning](https://mlsanity.com/paper/2212.00926/) (2022)
- [Discovering Transferable Forensic Features for CNN-generated Images Detection](https://mlsanity.com/paper/2208.11342/) (2022)
- [Fine-grained Recognition with Learnable Semantic Data Augmentation](https://mlsanity.com/paper/2309.00399/) (2023)
- [Applications of Generative Adversarial Networks in Anomaly Detection: A Systematic Literature Review](https://mlsanity.com/paper/2110.12076/) (2021)
- [MemStream: Memory-Based Streaming Anomaly Detection](https://mlsanity.com/paper/2106.03837/) (2021)
- [Federated Variational Learning for Anomaly Detection in Multivariate Time Series](https://mlsanity.com/paper/2108.08404/) (2021)
- [Improving Generalizability of Graph Anomaly Detection Models via Data Augmentation](https://mlsanity.com/paper/2306.10534/) (2023)
- [Synthesising Multi-Modal Minority Samples for Tabular Data](https://mlsanity.com/paper/2105.08204/) (2021)
- [Novelty Detection via Contrastive Learning with Negative Data Augmentation](https://mlsanity.com/paper/2106.09958/) (2021)
- [Machine Learning in NextG Networks via Generative Adversarial Networks](https://mlsanity.com/paper/2203.04453/) (2022)
- [Towards Diverse and Coherent Augmentation for Time-Series Forecasting](https://mlsanity.com/paper/2303.14254/) (2023)
- [Story Visualization by Online Text Augmentation with Context Memory](https://mlsanity.com/paper/2308.07575/) (2023)
- [Vision-Language Models Assisted Unsupervised Video Anomaly Detection](https://mlsanity.com/paper/2409.14109/) (2024)
- [Double-Adversarial Activation Anomaly Detection: Adversarial Autoencoders are Anomaly Generators](https://mlsanity.com/paper/2101.04645/) (2021)
- [Data Augmentation for Multivariate Time Series Classification: An Experimental Study](https://mlsanity.com/paper/2406.06518/) (2024)
- [Test-Time Augmentation Meets Variational Bayes](https://mlsanity.com/paper/2409.12587/) (2024)
- [Performance of GAN-based augmentation for deep learning COVID-19 image classification](https://mlsanity.com/paper/2304.09067/) (2023)
- [Dominant Shuffle: A Simple Yet Powerful Data Augmentation for Time-series Prediction](https://mlsanity.com/paper/2405.16456/) (2024)
- [Unsupervised Anomaly Appraisal of Cleft Faces Using a StyleGAN2-based Model Adaptation Technique](https://mlsanity.com/paper/2211.06659/) (2022)
- [AdAM: Few-Shot Image Generation via Adaptation-Aware Kernel Modulation](https://mlsanity.com/paper/2307.01465/) (2023)
- [Semantic Data Augmentation for Long-tailed Facial Expression Recognition](https://mlsanity.com/paper/2411.17254/) (2024)
- [Rebalancing the Scales: A Systematic Mapping Study of Generative Adversarial Networks (GANs) in Addressing Data Imbalance](https://mlsanity.com/paper/2502.16535/) (2025)
- [Quantum Gated Recurrent GAN with Gaussian Uncertainty for Network Anomaly Detection](https://mlsanity.com/paper/2510.26487/) (2025)
- [Multi-scale Anomaly Detection for Big Time Series of Industrial Sensors](https://mlsanity.com/paper/2204.08159/) (2022)
- [Improving Generalizability of Graph Anomaly Detection Models via Data Augmentation](https://mlsanity.com/paper/2209.10168/) (2022)

## Abstract (arXiv)

Recently, the introduction of the generative adversarial network (GAN) and its variants has enabled the generation of realistic synthetic samples, which has been used for enlarging training sets. Previous work primarily focused on data augmentation for semi-supervised and supervised tasks. In this paper, we instead focus on unsupervised anomaly detection and propose a novel generative data augmentation framework optimized for this task. In particular, we propose to oversample infrequent normal samples - normal samples that occur with small probability, e.g., rare normal events. We show that these samples are responsible for false positives in anomaly detection. However, oversampling of infrequent normal samples is challenging for real-world high-dimensional data with multimodal distributions. To address this challenge, we propose to use a GAN variant known as the adversarial autoencoder (AAE) to transform the high-dimensional multimodal data distributions into low-dimensional unimodal latent distributions with well-defined tail probability. Then, we systematically oversample at the `edge' of the latent distributions to increase the density of infrequent normal samples. We show that our oversampling pipeline is a unified one: it is generally applicable to datasets with different complex data distributions. To the best of our knowledge, our method is the first data augmentation technique focused on improving performance in unsupervised anomaly detection. We validate our method by demonstrating consistent improvements across several real-world datasets.
