Data Augmentation is a Hyperparameter: Cherry-picked Self-Supervision for Unsupervised Anomaly Detection is Creating the Illusion of Success
Preprint
Abstract
Self-supervised learning (SSL) has emerged as a promising alternative to create supervisory signals to real-world problems, avoiding the extensive cost of manual labeling. SSL is particularly attractive for unsupervised tasks such as anomaly detection (AD), where labeled anomalies are rare or often nonexistent. A large catalog of augmentation functions has been used for SSL-based AD (SSAD) on image data, and recent works have reported that the type of augmentation has a significant impact on accuracy. Motivated by those, this work sets out to put image-based SSAD under a larger lens and investigate the role of data augmentation in SSAD. Through extensive experiments on 3 different detector models and across 420 AD tasks, we provide comprehensive numerical and visual evidences that the alignment between data augmentation and anomaly-generating mechanism is the key to the success of SSAD, and in the lack thereof, SSL may even impair accuracy. To the best of our knowledge, this is the first meta-analysis on the role of data augmentation in SSAD.Keywords
All Related Versions
This publication has 24 references indexed in Scilit:
- A comprehensive survey on pretrained foundation models: a history from BERT to ChatGPTInternational Journal of Machine Learning and Cybernetics, 2024
- Hyperparameter optimization: Foundations, algorithms, best practices, and open challengesWIREs Data Mining and Knowledge Discovery, 2023
- Catching Both Gray and Black Swans: Open-set Supervised Anomaly Detection2022
- Tuning of data augmentation hyperparameters in deep learning to building construction image classification with small datasetsInternational Journal of Machine Learning and Cybernetics, 2022
- CutPaste: Self-Supervised Learning for Anomaly Detection and Localization2021
- Unsupervised Outlier Detection via Transformation Invariant AutoencoderIEEE Access, 2021
- GANomaly: Semi-supervised Anomaly Detection via Adversarial Training2019
- Deep Residual Learning for Image Recognition2016
- Practical Nonparametric StatisticsTechnometrics, 2000
- Gradient-based learning applied to document recognitionProceedings of the IEEE, 1998