Author:
Huang Chao,Kang Zhao,Wu Hong
Abstract
AbstractImage anomaly detection and localization perform not only image-level anomaly classification but also locate pixel-level anomaly regions. Recently, it has received much research attention due to its wide application in various fields. This paper proposes ProtoAD, a prototype-based neural network for image anomaly detection and localization. First, the patch features of normal images are extracted by a deep network pre-trained on nature images. Then, the prototypes of the normal patch features are learned by non-parametric clustering. Finally, we construct an image anomaly localization network (ProtoAD) by appending the feature extraction network with L2 feature normalization, a $$1\times 1$$
1
×
1
convolutional layer, a channel max-pooling, and a subtraction operation. We use the prototypes as the kernels of the $$1\times 1$$
1
×
1
convolutional layer; therefore, our neural network does not need a training phase and can conduct anomaly detection and localization in an end-to-end manner. Extensive experiments on two challenging industrial anomaly detection datasets, MVTec AD and BTAD, demonstrate that ProtoAD achieves competitive performance compared to the state-of-the-art methods with a higher inference speed. The code and pre-trained models are publicly available at https://github.com/98chao/ProtoAD.
Funder
National Defense Basic Scientific Research Program of China
Publisher
Springer Science and Business Media LLC
Reference42 articles.
1. Chandola V, Banerjee A, Kumar V (2009) Anomaly detection: a survey. ACM Comput Surv (CSUR) 41(3):1–58
2. Salehi M, Mirzaei H, Hendrycks D, Li Y, Rohban M, Sabokrou M, et al (2022) A unified survey on anomaly, novelty, open-set, and out of-distribution detection: Solutions and future challenges. Trans Mach Learn Res (234)
3. Ruff L, Vandermeulen R, Goernitz N, Deecke L, Siddiqui SA, Binder A, Müller E, Kloft M (2018) Deep one-class classification. In: International Conference on Machine Learning, pp. 4393–4402
4. Sabokrou M, Khalooei M, Fathy M, Adeli E (2018) Adversarially learned one-class classifier for novelty detection. In: Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, pp. 3379–3388
5. Golan I, El-Yaniv R (2018) Deep anomaly detection using geometric transformations. Adv Neural Inf Proc Syst 31