Semi-Patchcore: A Novel Two-Staged Method for Semi-Supervised Anomaly Detection and Localization

被引:0
作者
Xie, Shuo [1 ]
Wu, Xiaojun [1 ]
Yu Wang, Michael [2 ]
机构
[1] Harbin Inst Technol Shenzhen, Sch Mech Engn & Automat, Shenzhen 518055, Peoples R China
[2] Great Bay Univ, Sch Adv Engn, Dongguan 523000, Peoples R China
基金
中国国家自然科学基金;
关键词
Feature extraction; Defect detection; Anomaly detection; Training; Image reconstruction; Location awareness; Generative adversarial networks; Costs; Classification algorithms; Semantic segmentation; detection and localization; memory bank; Semi-Patchcore; semi-supervised learning;
D O I
10.1109/TIM.2025.3527588
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Product surface defect detection is a crucial technology in industrial production. The adoption of deep learning-based algorithms for inspecting product surface defects has been steadily increasing due to their superior detection capability and enhanced generalization performance. However, current deep learning-based algorithms primarily focus on supervised approaches, which can be inefficient and costly. In this article, we present a novel pipeline for semi-supervised defect detection called Semi-Patchcore, which achieves comparable defect detection performance to weakly supervised methods using only defect-free and unlabeled samples for training. Initially, we establish a memory bank using a labeled defect-free training dataset. Subsequently, we compare the unlabeled mixed data with the features in the memory bank to derive pseudo-class labels. Finally, we train a segmentation network based on DeepLabV3+ using the pseudo-classification labels. To evaluate the performance of our approach, we conduct comparative experiments on four public datasets: MVTecAD dataset, DAGM dataset, BTAD dataset, and KSDD2 dataset. The experimental results demonstrate that our method outperforms state-of-the-art semi-supervised or unsupervised methods in terms of superiority and generalization. Additionally, we explore the impact of label issues on supervised learning observed in this study. Our method also surpasses some weakly supervised segmentation algorithms, showcasing its effectiveness in industrial defect detection.
引用
收藏
页数:12
相关论文
共 48 条
[1]   A step-by-step training method for multi generator GANs with application to anomaly detection and cybersecurity [J].
Adiban, Mohammad ;
Siniscalchi, Sabato Marco ;
Salvi, Giampiero .
NEUROCOMPUTING, 2023, 537 :296-308
[2]   ANOMALIB: A DEEP LEARNING LIBRARY FOR ANOMALY DETECTION [J].
Akcay, Samet ;
Ameln, Dick ;
Vaidya, Ashwin ;
Lakshmanan, Barath ;
Ahuja, Nilesh ;
Genc, Utku .
2022 IEEE INTERNATIONAL CONFERENCE ON IMAGE PROCESSING, ICIP, 2022, :1706-1710
[3]   GANomaly: Semi-supervised Anomaly Detection via Adversarial Training [J].
Akcay, Samet ;
Atapour-Abarghouei, Amir ;
Breckon, Toby P. .
COMPUTER VISION - ACCV 2018, PT III, 2019, 11363 :622-637
[4]   SegNet: A Deep Convolutional Encoder-Decoder Architecture for Image Segmentation [J].
Badrinarayanan, Vijay ;
Kendall, Alex ;
Cipolla, Roberto .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2017, 39 (12) :2481-2495
[5]   MVTec AD - A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection [J].
Bergmann, Paul ;
Fauser, Michael ;
Sattlegger, David ;
Steger, Carsten .
2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, :9584-9592
[6]   Mixed supervision for surface-defect detection: From weakly to fully supervised learning [J].
Bozic, Jakob ;
Tabernik, Domen ;
Skocaj, Danijel .
COMPUTERS IN INDUSTRY, 2021, 129
[7]   Grad-CAM plus plus : Generalized Gradient-based Visual Explanations for Deep Convolutional Networks [J].
Chattopadhay, Aditya ;
Sarkar, Anirban ;
Howlader, Prantik ;
Balasubramanian, Vineeth N. .
2018 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV 2018), 2018, :839-847
[8]  
Chen LC, 2016, Arxiv, DOI [arXiv:1412.7062, 10.48550/arXiv.1412.7062]
[9]  
Chen LC, 2017, Arxiv, DOI arXiv:1706.05587
[10]   Encoder-Decoder with Atrous Separable Convolution for Semantic Image Segmentation [J].
Chen, Liang-Chieh ;
Zhu, Yukun ;
Papandreou, George ;
Schroff, Florian ;
Adam, Hartwig .
COMPUTER VISION - ECCV 2018, PT VII, 2018, 11211 :833-851