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 条
  • [41] Autoencoder-based Data Augmentation for Deepfake Detection
    Stanciu, Dan-Cristian
    Ionescu, Bogdan
    PROCEEDINGS OF THE 2ND ACM INTERNATIONAL WORKSHOP ON MULTIMEDIA AI AGAINST DISCRIMINATION, MAD 2023, 2023, : 19 - 27
  • [42] Color Image Classifier Based on Two-Stage Learning Autoencoder
    Chou, Tzren-Ru
    Ku, You-Jia
    2024 7TH INTERNATIONAL CONFERENCE ON ARTIFICIAL INTELLIGENCE AND BIG DATA, ICAIBD 2024, 2024, : 500 - 504
  • [43] Unsupervised SAR Change Detection Using Two-Stage Pseudo Labels Refining Framework
    Fang, Sheng
    Qi, Chenxu
    Yang, Shuqi
    Li, Zhe
    Wang, Wenhao
    Wang, Yumeng
    IEEE GEOSCIENCE AND REMOTE SENSING LETTERS, 2024, 21 : 1 - 5
  • [44] Autoencoder-Based fault detection using building automation system data
    El Mokhtari, Karim
    McArthur, J. J.
    ADVANCED ENGINEERING INFORMATICS, 2024, 62
  • [45] Food Intake Detection Using Autoencoder-Based Deep Neural Networks
    Turan, M. A. Tugtekin
    Erzin, Engin
    2018 26TH SIGNAL PROCESSING AND COMMUNICATIONS APPLICATIONS CONFERENCE (SIU), 2018,
  • [46] PM-AE: Pyramid Memory Autoencoder for Unsupervised Textured Surface Defect Detection
    Yao, Haiming
    Li, Dan
    Zhu, Yiwen
    Yu, Wenyong
    2020 5TH INTERNATIONAL CONFERENCE ON MECHANICAL, CONTROL AND COMPUTER ENGINEERING (ICMCCE 2020), 2020, : 1320 - 1324
  • [47] Fabric Defect Detection Algorithm Based on Two-stage Deep Transfer Learning
    Zhao S.
    Zhang J.
    Wang J.
    Xu C.
    Jixie Gongcheng Xuebao/Journal of Mechanical Engineering, 2021, 57 (17): : 86 - 97
  • [48] A NOVEL UNSUPERVISED AUTOENCODER-BASED HFOS DETECTOR IN INTRACRANIAL EEG SIGNALS
    Li, Weilai
    Zhong, Lanfeng
    Xiang, Weixi
    Kang, Tongzhou
    Lai, Dakun
    2022 IEEE INTERNATIONAL CONFERENCE ON ACOUSTICS, SPEECH AND SIGNAL PROCESSING (ICASSP), 2022, : 1426 - 1430
  • [49] Enhancing corrosion detection in pulsed eddy current testing systems through autoencoder-based unsupervised learning
    Le, Minhhuy
    Pham, Phuong Huy
    Trung, Le Quang
    Hoang, Sy Phuong
    Le, Duc Minh
    Pham, Quang Vuong
    Luong, Van Su
    NDT & E INTERNATIONAL, 2024, 146
  • [50] Classifying Depression in Imbalanced Datasets using an Autoencoder-Based Anomaly Detection Approach
    Gerych, Walter
    Agu, Emmanuel
    Rundensteiner, Elke
    2019 13TH IEEE INTERNATIONAL CONFERENCE ON SEMANTIC COMPUTING (ICSC), 2019, : 124 - 127