Patch Matching for Few-Shot Industrial Defect Detection

被引:3
作者
Chen, Ruiyun [1 ,2 ]
Yu, Guitao [3 ]
Qin, Zhen [3 ]
Song, Kangkang [4 ]
Tu, Jianfei [5 ]
Jiang, Xianliang [1 ,2 ]
Liang, Dan [5 ]
Peng, Chengbin [1 ,2 ]
机构
[1] Ningbo Univ, Coll Informat Sci & Engn, Ningbo 315200, Peoples R China
[2] Ningbo Univ, Key Lab Mobile Network Applicat Technol Zhejiang P, Ningbo 315200, Peoples R China
[3] Hlth & Intelligent Kitchen Engn Res Ctr Zhejiang P, Ningbo 315300, Zhejiang, Peoples R China
[4] Chinese Acad Sci, Ningbo Inst Mat Technol & Engn, Ningbo 315300, Peoples R China
[5] Ningbo Univ, Coll Mech Engn & Mech, Ningbo 315200, Peoples R China
基金
中国国家自然科学基金;
关键词
Defect detection; matching; multiview attention; space-efficient memory bank (SEMB);
D O I
10.1109/TIM.2024.3413170
中图分类号
TM [电工技术]; TN [电子技术、通信技术];
学科分类号
0808 ; 0809 ;
摘要
Surface defect segmentation is the basis of industrial production, where pixel-level defect prediction plays a vital role in many applications. As a new trend, few-shot defect detection aims to recognize defects by combining information from a few defect samples. However, many traditional few-shot methods do not consider patch-level correlations between input images and memory banks. This work introduces a novel representation framework consisting hierarchical normal and defect memory banks for few-shot surface defect detection. We propose an adaptive feature bank updating scheme that dynamically integrates frequent features while discarding rare ones. We design a fine-grain feature replacement module rooted in a matching attention mechanism to highlight ambiguous regions for input images and use fused features to identify overall defects. On benchmark datasets, our strategy can obtain in-depth insights from multiple scales, which showcase superiority in generalization for unidentified anomalies better than others in experiments. The experimental results for the ten-shot scenarios demonstrate that the proposed method achieves an average pixel AUC of 88.6%, 93.7%, and 98.7% on three benchmark datasets, respectively, and with more genuine and pseudo anomalous samples, the proposed approach can achieve 98.5% and 95.5% in image AUC and pixel F1 score, respectively, outperforming the state-of-the-art with 1.2% and 24% in each metric.
引用
收藏
页数:11
相关论文
共 50 条
  • [1] Bergman L, 2020, Arxiv, DOI arXiv:2002.10445
  • [2] Uninformed Students: Student-Teacher Anomaly Detection with Discriminative Latent Embeddings
    Bergmann, Paul
    Fauser, Michael
    Sattlegger, David
    Steger, Carsten
    [J]. 2020 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2020, : 4182 - 4191
  • [3] MVTec AD - A Comprehensive Real-World Dataset for Unsupervised Anomaly Detection
    Bergmann, Paul
    Fauser, Michael
    Sattlegger, David
    Steger, Carsten
    [J]. 2019 IEEE/CVF CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR 2019), 2019, : 9584 - 9592
  • [4] Mixed supervision for surface-defect detection: From weakly to fully supervised learning
    Bozic, Jakob
    Tabernik, Domen
    Skocaj, Danijel
    [J]. COMPUTERS IN INDUSTRY, 2021, 129
  • [5] Fabric defect detection by Fourier analysis
    Chan, CH
    Pang, GKH
    [J]. IEEE TRANSACTIONS ON INDUSTRY APPLICATIONS, 2000, 36 (05) : 1267 - 1276
  • [6] Research on YOLOv7-based defect detection method for automotive running lights
    Chen, Jincheng
    Bai, Shoujun
    Wan, Guoyang
    Li, Yunfei
    [J]. SYSTEMS SCIENCE & CONTROL ENGINEERING, 2023, 11 (01)
  • [7] Describing Textures in the Wild
    Cimpoi, Mircea
    Maji, Subhransu
    Kokkinos, Iasonas
    Mohamed, Sammy
    Vedaldi, Andrea
    [J]. 2014 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2014, : 3606 - 3613
  • [8] Defard Thomas, 2021, Pattern Recognition. ICPR International Workshops and Challenges. Proceedings. Lecture Notes in Computer Science (LNCS 12664), P475, DOI 10.1007/978-3-030-68799-1_35
  • [9] Dehaene D, 2020, Arxiv, DOI arXiv:2002.03734
  • [10] Few-Shot Steel Plate Surface Defect Detection with Multi-Relation Aggregation and Adaptive Support Learning
    Deng, Yongbiao
    Song, Yonghong
    [J]. ISIJ INTERNATIONAL, 2023, 63 (10) : 1727 - 1737