OMASGAN: Out-of-Distribution Minimum Anomaly Score GAN for Sample Generation on the Boundary

Nikolaos Dionelis, Mehrdad Yaghoobi, Sotirios A. Tsaftaris
10/28/2021
cs.LGstat.ML

Official code: nd1511/OMASGAN_ (16 stars, Python, GPL-3.0, last commit 2021-06-03).

Abstract

Generative models trained in an unsupervised manner may set high likelihood and low reconstruction loss to Out-of-Distribution (OoD) samples. This increases Type II errors and leads to missed anomalies, overall decreasing Anomaly Detection (AD) performance.

Show full abstract

In addition, AD models underperform due to the rarity of anomalies. To address these limitations, we propose the OoD Minimum Anomaly Score GAN (OMASGAN). OMASGAN generates, in a negative data augmentation manner, anomalous samples on the estimated distribution boundary. These samples are then used to refine an AD model, leading to more accurate estimation of the underlying data distribution including multimodal supports with disconnected modes. OMASGAN performs retraining by including the abnormal minimum-anomaly-score OoD samples generated on the distribution boundary in a self-supervised learning manner. For inference, for AD, we devise a discriminator which is trained with negative and positive samples either generated (negative or positive) or real (only positive). OMASGAN addresses the rarity of anomalies by generating strong and adversarial OoD samples on the distribution boundary using only normal class data, effectively addressing mode collapse. A key characteristic of our model is that it uses any f-divergence distribution metric in its variational representation, not requiring invertibility. OMASGAN does not use feature engineering and makes no assumptions about the data distribution. The evaluation of OMASGAN on image data using the leave-one-out methodology shows that it achieves an improvement of at least 0.24 and 0.07 points in AUROC on average on the MNIST and CIFAR-10 datasets, respectively, over other benchmark and state-of-the-art models for AD.

View on arXivView PDF

Code Implementations(1)

nd1511/OMASGAN_Official100%
GPL-3.0

OoD Minimum Anomaly Score GAN - Code for the Paper 'OMASGAN: Out-of-Distribution Minimum Anomaly Score GAN for Sample Generation on the Boundary'

163Python, ShellJan 14, 20215 years agoGPL-3.0

Similar Papers

Cite this paper

@article{dionelis2021omasgan,
  title  = {OMASGAN: Out-of-Distribution Minimum Anomaly Score GAN for Sample Generation on the Boundary},
  author = {Nikolaos Dionelis and Mehrdad Yaghoobi and Sotirios A. Tsaftaris},
  year   = {2021},
  eprint = {2110.15273},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.15273}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2110.15273.svg)](https://codeofpaper.com/paper/2110.15273)

Discussion