Autoencoder-Based Unsupervised Surface Defect Detection Using Two-Stage Training

被引:1
|
作者
Shiferaw, Tesfaye Getachew [1 ]
Yao, Li [1 ,2 ]
机构
[1] Southeast Univ, Sch Comp Sci & Engn, Nanjing 211189, Peoples R China
[2] Southeast Univ, Key Lab Comp Network & Informat Integrat, Minist Educ, Nanjing 211189, Peoples R China
关键词
autoencoder; surface defect detection; structural similarity; perceptual similarity; artificial defect generation; VISUAL INSPECTION;
D O I
10.3390/jimaging10050111
中图分类号
TB8 [摄影技术];
学科分类号
0804 ;
摘要
Accurately detecting defects while reconstructing a high-quality normal background in surface defect detection using unsupervised methods remains a significant challenge. This study proposes an unsupervised method that effectively addresses this challenge by achieving both accurate defect detection and a high-quality normal background reconstruction without noise. We propose an adaptive weighted structural similarity (AW-SSIM) loss for focused feature learning. AW-SSIM improves structural similarity (SSIM) loss by assigning different weights to its sub-functions of luminance, contrast, and structure based on their relative importance for a specific training sample. Moreover, it dynamically adjusts the Gaussian window's standard deviation (sigma) during loss calculation to balance noise reduction and detail preservation. An artificial defect generation algorithm (ADGA) is proposed to generate an artificial defect closely resembling real ones. We use a two-stage training strategy. In the first stage, the model trains only on normal samples using AW-SSIM loss, allowing it to learn robust representations of normal features. In the second stage of training, the weights obtained from the first stage are used to train the model on both normal and artificially defective training samples. Additionally, the second stage employs a combined learned Perceptual Image Patch Similarity (LPIPS) and AW-SSIM loss. The combined loss helps the model in achieving high-quality normal background reconstruction while maintaining accurate defect detection. Extensive experimental results demonstrate that our proposed method achieves a state-of-the-art defect detection accuracy. The proposed method achieved an average area under the receiver operating characteristic curve (AuROC) of 97.69% on six samples from the MVTec anomaly detection dataset.
引用
收藏
页数:17
相关论文
共 50 条
  • [31] Unsupervised defect detection for solar photovoltaic cells based on convolutional autoencoder
    Zhang, Yufei
    Zhang, Xu
    Tu, Dawei
    NONDESTRUCTIVE TESTING AND EVALUATION, 2025,
  • [32] Two-stage Train Components Defect Detection Based on Prior Knowledge
    Peng, Gang
    Li, Zhiyong
    Wan, Shaowei
    Deng, Zhang
    2023 IEEE/RSJ INTERNATIONAL CONFERENCE ON INTELLIGENT ROBOTS AND SYSTEMS (IROS), 2023, : 8243 - 8248
  • [33] A two-stage unsupervised approach for surface anomaly detection in wire and arc additive manufacturing
    Song, Hao
    Li, Chenxi
    Fu, Youheng
    Li, Runsheng
    Zhang, Haiou
    Wang, Guilan
    COMPUTERS IN INDUSTRY, 2023, 151
  • [34] Anomaly sign detection by monitoring thousands of process values using a two-stage autoencoder
    Naito, Susumu
    Taguchi, Yasunori
    Kato, Yuichi
    Nakata, Kouta
    Miyake, Ryota
    Nagura, Isaku
    Tominaga, Shinya
    Aoki, Toshio
    MECHANICAL ENGINEERING JOURNAL, 2021, 8 (04):
  • [35] Autoencoder-based Unsupervised Domain Adaptation for Speech Emotion Recognition
    Deng, Jun
    Zhang, Zixing
    Eyben, Florian
    Schuller, Bjoern
    IEEE SIGNAL PROCESSING LETTERS, 2014, 21 (09) : 1068 - 1072
  • [36] A two-stage intrusion detection method based on light gradient boosting machine and autoencoder
    Zhang, Hao
    Ge, Lina
    Zhang, Guifen
    Fan, Jingwei
    Li, Denghui
    Xu, Chenyang
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (04) : 6966 - 6992
  • [37] Baseline optimized autoencoder-based unsupervised anomaly detection in uncontrolled dynamic structural health monitoring
    Yang, Kang
    Liu, Tianqi
    Yang, Zekun
    Zhou, Yang
    Tian, Zhihui
    Kim, Nam H.
    Harley, Joel B.
    STRUCTURAL HEALTH MONITORING-AN INTERNATIONAL JOURNAL, 2025,
  • [38] Fabric defect detection based on a deep convolutional neural network using a two-stage strategy
    Jun, Xiang
    Wang, Jingan
    Zhou, Jian
    Meng, Shuo
    Pan, Ruru
    Gao, Weidong
    TEXTILE RESEARCH JOURNAL, 2021, 91 (1-2) : 130 - 142
  • [39] Autoencoder-based unsupervised one-class learning for abnormal activity detection in egocentric videos
    Hu, Haowen
    Hachiuma, Ryo
    Saito, Hideo
    IET COMPUTER VISION, 2025, 19 (01)
  • [40] Saliency Detection in Hyperspectral Images Using Autoencoder-Based Data Reconstruction
    Appice, Annalisa
    Lomuscio, Francesco
    Falini, Antonella
    Tamborrino, Cristiano
    Mazzia, Francesca
    Malerba, Donato
    FOUNDATIONS OF INTELLIGENT SYSTEMS (ISMIS 2020), 2020, 12117 : 161 - 170