Adjacent Image Augmentation and Its Framework for Self-Supervised Learning in Anomaly Detection
Open Access
Abstract
Anomaly detection has gained significant attention with the advancements in deep neural networks. Effective training requires both normal and anomalous data, but this often leads to a class imbalance, as anomalous data is scarce. Traditional augmentation methods struggle to maintain the correlation between anomalous patterns and their surroundings. To address this, we propose an adjacent augmentation technique that generates synthetic anomaly images, preserving object shapes while distorting contours to enhance correlation. Experimental results show that adjacent augmentation captures high-quality anomaly features, achieving superior AU-ROC and AU-PR scores compared to existing methods. Additionally, our technique produces synthetic normal images, aiding in learning detailed normal data features and reducing sensitivity to minor variations. Our framework considers all training images within a batch as positive pairs, pairing them with synthetic normal images as positive pairs and with synthetic anomaly images as negative pairs. This compensates for the lack of anomalous features and effectively distinguishes between normal and anomalous features, mitigating class imbalance. Using the ResNet50 network, our model achieved perfect AU-ROC and AU-PR scores of 100% in the bottle category of the MVTec-AD dataset. We are also investigating the relationship between anomalous pattern size and detection performance.Keywords
Funding Information
- National Research Foundation of Korea (2018R1A5A7059549, RS-2020-II201373)
- Institute of Information and communications Technology Planning and evaluation (IITP) (2018R1A5A7059549, RS-2020-II201373)
This publication has 23 references indexed in Scilit:
- Video Anomaly Detection by Solving Decoupled Spatio-Temporal Jigsaw Puzzles2022
- SPot-the-Difference Self-supervised Pre-training for Anomaly Detection and Segmentation2022
- CutPaste: Self-Supervised Learning for Anomaly Detection and Localization2021
- PaDiM: A Patch Distribution Modeling Framework for Anomaly Detection and Localization2021
- Patch SVDD: Patch-Level SVDD for Anomaly Detection and Segmentation2021
- The MVTec Anomaly Detection Dataset: A Comprehensive Real-World Dataset for Unsupervised Anomaly DetectionInternational Journal of Computer Vision, 2021
- Semantic Image Synthesis With Spatially-Adaptive Normalization2019
- GANomaly: Semi-supervised Anomaly Detection via Adversarial Training2019
- Real-World Anomaly Detection in Surveillance Videos2018
- Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery2017