Boosting Anomaly Detection Using Unsupervised Diverse Test-Time Augmentation

Seffi Cohen, Niv Goldshlager, Lior Rokach, Bracha Shapira
10/29/2021
cs.LG

Official code: nivgold/TTAD (7 stars, Python, MIT, last commit 2023-06-01).

Abstract

Anomaly detection is a well-known task that involves the identification of abnormal events that occur relatively infrequently. Methods for improving anomaly detection performance have been widely studied.

Show full abstract

However, no studies utilizing test-time augmentation (TTA) for anomaly detection in tabular data have been performed. TTA involves aggregating the predictions of several synthetic versions of a given test sample; TTA produces different points of view for a specific test instance and might decrease its prediction bias. We propose the Test-Time Augmentation for anomaly Detection (TTAD) technique, a TTA-based method aimed at improving anomaly detection performance. TTAD augments a test instance based on its nearest neighbors; various methods, including the k-Means centroid and SMOTE methods, are used to produce the augmentations. Our technique utilizes a Siamese network to learn an advanced distance metric when retrieving a test instance's neighbors. Our experiments show that the anomaly detector that uses our TTA technique achieved significantly higher AUC results on all datasets evaluated.

View on arXivView PDF

Code Implementations(1)

nivgold/TTADOfficial100%
MIT

The official implementation of the "Boosting Anomaly Detection using Unsupervised Diverse Test-Time Augmentation" paper

70PythonJan 14, 20233 years agoMIT

Similar Papers

Cite this paper

@article{cohen2021boosting,
  title  = {Boosting Anomaly Detection Using Unsupervised Diverse Test-Time Augmentation},
  author = {Seffi Cohen and Niv Goldshlager and Lior Rokach and Bracha Shapira},
  year   = {2021},
  eprint = {2110.15700},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2110.15700}
}

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.15700.svg)](https://codeofpaper.com/paper/2110.15700)

Discussion