Affiliation:
1. Department of Computer Science, Hanyang University, Seoul 04763, Republic of Korea
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.
Funder
National Research Foundation of Korea
Institute for Information and Communications Technology Promotion
Reference33 articles.
1. Attribute Restoration Framework for Anomaly Detection;Ye;IEEE Trans. Multimed.,2020
2. Kumari, P., Choudhary, P., Atrey, P.K., and Saini, M. (2022). Concept Drift Challenge in Multimedia Anomaly Detection: A Case Study with Facial Datasets. arXiv.
3. Deep learning for anomaly detection: A review;Pang;ACM Comput. Surv. (CSUR),2021
4. Im-iad: Industrial image anomaly detection benchmark in manufacturing;Xie;IEEE Trans. Cybern.,2024
5. Schlegl, T., Seeböck, P., Waldstein, S.M., Schmidt-Erfurth, U., and Langs, G. (2017). Unsupervised Anomaly Detection with Generative Adversarial Networks to Guide Marker Discovery. International Conference on Information Processing in Medical Imaging, Springer.