乐华钢,王文武,朱 磊,朱思宇.融合自注意力与缺陷凸显的缺陷检测方法[J].电子测量与仪器学报,2023,37(9):85-92
融合自注意力与缺陷凸显的缺陷检测方法
Defect detection method integrating self-attention and highlighting of defects
  
DOI:
中文关键词:  缺陷检测  重建网络  自注意力  缺陷凸显
英文关键词:defect detection  reconstruction network  self-attention  defect highlighting
基金项目:国家自然科学基金(62173262)项目资助
作者单位
乐华钢 1.武汉科技大学信息科学与工程学院 
王文武 1.武汉科技大学信息科学与工程学院 
朱 磊 1.武汉科技大学信息科学与工程学院 
朱思宇 1.武汉科技大学信息科学与工程学院 
AuthorInstitution
Yue Huagang 1.School of Information Science and Engineering, Wuhan University of Science and Technology 
Wang Wenwu 1.School of Information Science and Engineering, Wuhan University of Science and Technology 
Zhu Lei 1.School of Information Science and Engineering, Wuhan University of Science and Technology 
Zhu Siyu 1.School of Information Science and Engineering, Wuhan University of Science and Technology 
摘要点击次数: 433
全文下载次数: 512
中文摘要:
      针对无监督缺陷检测中重建网络在抑制异常重建的同时无法保留正常区域细节信息的问题,提出了一种融合自注意力 与缺陷凸显的缺陷检测方法。 首先,在重建网络中引入离散小波变换(DWT)进行下采样, 并使用离散小波逆变换( IDWT)进 行上采样。 相较于传统重建网络,这种方法能减少细节信息的丢失,并对特征进行频率分解。 同时,在跳连接中加入自注意力 模块对特征重新编码,使其重点关注正常区域的细节信息。 此外,设计了一个缺陷区域凸显模块,利用正常样本特征构建特征 库,将从测试图像提取的特征与特征库中特征对比得到异常图,将异常图与重建差值图相结合来改善缺陷定位结果。 在工业缺 陷检测数据集 MVTec AD 上进行测试,在图像级 AUROC 上取得了 99. 3%的结果,同时在像素级 AUROC 上取得了 98. 3%的结 果,在无监督缺陷检测中具有较高的检测精度和鲁棒性。
英文摘要:
      To address the issue of reconstruction networks in unsupervised defect detection failing to preserve detailed information of normal regions while simultaneously suppressing abnormal reconstructions, a defect detection method that combines self-attention and defect highlighting is proposed. First, the discrete wavelet transform ( DWT ) is introduced in the reconstruction network for downsampling, and the inverse discrete wavelet transform ( IDWT) is used for upsampling. Compared to traditional reconstruction networks, this method reduces the loss of detail information and performs frequency decomposition on features. Then self-attention modules are added into the skip connections to re-encode the features, enabling the features to focus on the details of the normal region. Additionally, a defect region highlighting module is designed, which utilizes features from normal samples to construct a feature library. By comparing the features extracted from the test image with the features in the library, an abnormal map is obtained. Finally, the abnormal map is combined with the reconstruction residual map to improve the results of defect localization. The proposed method is tested on the industrial defect detection dataset MVTec AD and achieved 99. 3% area under the receiver operating characteristic curve (AUROC) at the image level and 98. 3% at the pixel level, demonstrating high detection accuracy and robustness in unsupervised defect detection.
查看全文  查看/发表评论  下载PDF阅读器