1.Hunan Provincial Key Laboratory of Intelligent Manufacturing Technology for High-performance Mechanical Equipment,Changsha University of Science and Technology,Changsha,410114
2.College of Engineering Physics,Shenzhen Technology University,Shenzhen,Guangdong,518118
3.Hunan Provincial Technology Innovation Center of Aerospace New Light Alloy Materials,Changsha,410205
4.Hunan Provincial Engineering Research Center of Wrought Magnesium Alloys and Surface Protection,Changsha,410205
To tackle the problems of complex morphology and inconspicuous features in surface defects of magnesium alloy laser welding seams, which often lead to high miss-detection and false-positive rates, this paper presents an improved reconstruction network-based defect recognition approach. The network incorporates ASPP, CBAM, SSPCAB, and a multiscale feature fusion module (MSFFM) to enhance feature extraction and anomalous target localization, thereby improving reconstruction accuracy at defect sites and feature information fusion. Experiments conducted on both self-built and public datasets validate the proposed method. Results demonstrate that the approach exhibits strong generalization and can effectively identify, accurately segment, and localize defects characterized by small sample sizes and complex surface morphologies.
在缺陷检测任务中,检测结果会出现表4所示的4种情况。为验证重建网络性能,根据表4,实验采用曲线下面积(area under the curve of the receiver operating characteristics,AUROC)评估图像级的缺陷检测(defect detection,DET)性能和像素级的异常分割(anomaly segmentation,SEG)性能,分别用DET-AUROC和SEG-AUROC表示。DET性能关注图像中是否存在缺陷,以及缺陷的大致位置;SEG性能评估模型具备像素级别区分正常与异常区域的能力,从而精准分割缺陷。
LICui, ZHOUDan, MENGXiaoming,et al .Research on Laser Beam Swing Stacking Welding Process of Stainless Steel Plate [J].China Mechanical Engineering,2019,30(11):1359-1366.
LIKun, MARuijin, DAIQilei,et al .Research Status and Prospects of High Performance Magnesium Alloy Laser Manufacturing Technology [J].Aerospace Manufacturing Technology,2022,65(Z2):30-47.
HONGJingshan, ZHUYingdan, SONGKangkang,et al .Research progress on industrial defect detection based on deep learning [J].Computer Science,2024,51(10):261-275.
[7]
ZHANGHui, WUZuxuan, WANGZheng, et al. Prototypical Residual Networks for Anomaly Detection and Localization[C]∥2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). Vancouver, 2023: 16281-16291.
LIANGMing, ZHANGMinglu, LVXiaoling .Surface Defect Detection Based on Feature Pyramid Matching and Self-supervision[J].Advances in Laser and Optoelectronics,2023,60(4):367-375.
LIUYongjiang, CHENBin .Pixel Level Unsupervised Industrial Anomaly Detection Based on Multi-scale Memory Bank [J].Computer Applications,2024,44(11):3587-3594.
FENGZhiyuan, CHENYing .Distillation Learning Self Supervised Defect Detection Based on Discriminant Enhancement [J].Journal of System Simulation,2025,37(6):1499-1511.
[14]
ROTHK, PEMULAL, ZEPEDAJ, et al. Towards Total Recall in Industrial Anomaly Detection[C]∥2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). New Orleans, 2022: 14298-14308.
[15]
YANGJie, SHIYong, QIZhiquan. Learning Deep Feature Correspondence for Unsupervised Anomaly Detection and Segmentation[J]. Pattern Recognition, 2022, 132: 108874.
[16]
YANGJie, SHIYong, QIZhiquan .DFR:Deep Feature Reconstruction for Unsupervised Anomaly Segmentation[J].Neurocomputing,2020,424:9-22.
JIANGWan, YANGKai, QIUChunrong,et al .Anomaly Detection Algorithm for Ballastless Track Bed Based on Image Restoration [J].Advances in Laser and Optoelectronics,2024,61(12):410-421.
WANGDonghuan, YUAiyang, XIAOHong .Defect Detection Method for Casting Turbine Blades in Aircraft Engines Based on Unsupervised Learning [J].Journal of Aeronautical Power,2025, 40(6): 1000-8055(2025)06-20230800-12.
LEHuaGang, WANGWenwu, ZHULei,et al .Defect Detection Method Integrating Self Attention and Defect Highlighting [J].Journal of Electronic Measurement and Instrumentation,2023,37(9):85-92.
[23]
ZAVRTANIKV, KRISTANM, SKOČAJD. DRÆM -a Discriminatively Trained Reconstruction Embedding for Surface Anomaly Detection[C]∥2021 IEEE/CVF International Conference on Computer Vision (ICCV). Montreal, 2021: 8310-8319.
[24]
GEORGESCUM I. Masked Autoencoders for Unsupervised Anomaly Detection in Medical Images[J]. Procedia Computer Science, 2023, 225: 969-978.
[25]
LIUTongkun, LIBing, DUXiao, et al. Component-aware Anomaly Detection Framework for Adjustable and Logical Industrial Visual Inspection[J]. Advanced Engineering Informatics, 2023, 58: 102161.
[26]
CHENL C, PAPANDREOUG, KOKKINOSI, et al. DeepLab: Semantic Image Segmentation with Deep Convolutional Nets, Atrous Convolution, and Fully Connected CRFS[J]. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2018, 40(4): 834-848.
[27]
WOO S, PARKJ, LEEJ Y, et al. CBAM: Convolutional Block Attention Module[C]∥ European Conference on Computer Vision. Munich, 2018: 3-19.
[28]
RISTEAN C, MADANN, IONESCUR T, et al. Self-supervised Predictive Convolutional Attentive Block for Anomaly Detection[C]∥2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). New Orleans, 2022: 13566-13576.
[29]
YANGMinghui, WUPeng, FENGHui. MemSeg: a Semi-supervised Method for Image Surface Defect Detection Using Differences and Commonalities[J]. Engineering Applications of Artificial Intelligence, 2023, 119: 105835.
ZHANGHongwei, LIUShuaibo, LUShuai, et al. Knowledge Distillation for Unsupervised Defect Detection of Yarn-dyed Fabric Using the System DAERD: Dual Attention Embedded Reconstruction Distillation[J]. Coloration Technology, 2024, 140(1): 125-143.
[32]
BERGMANNP, BATZNERK, FAUSERM, et al. The MVTec Anomaly Detection Dataset: a Comprehensive Real-world Dataset for Unsupervised Anomaly Detection[J]. International Journal of Computer Vision, 2021, 129(4): 1038-1059.
[33]
LEES, LEES, SONGB C. CFA: Coupled-Hypersphere-based Feature Adaptation for Target-oriented Anomaly Localization[J]. IEEE Access, 2022, 10: 78446-78454.
[34]
LIUZhikang, ZHOUYiming, XUYuansheng, et al. SimpleNet: a Simple Network for Image Anomaly Detection and Localization[C]∥2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). Vancouver, 2023: 20402-20411.
[35]
ZHANGXuan, LIShiyu, LIXi, et al. DeSTSeg: Segmentation Guided Denoising Student-teacher for Anomaly Detection[C]∥2023 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR). Vancouver, 2023: 3914-3923.
[36]
TANPengjie, WONGW K. Unsupervised Anomaly Detection and Localization with One Model for all Category[J]. Knowledge-Based Systems, 2024, 289: 111533.
[37]
BATZNERK, HECKLERL, KÖNIGR. EfficientAD: Accurate Visual Anomaly Detection at Millisecond-level Latencies[C]∥2024 IEEE/CVF Winter Conference on Applications of Computer Vision (WACV). Waikoloa, 2024: 127-137.
[38]
DUXiao, LIBing, LIUTongkun, et al. Efficient Visual Anomaly Detection Model with Adaptive Wavelet Transform[J]. Optics and Lasers in Engineering, 2024, 182: 108457.
[39]
YANGLingxiao, ZHANGRuyuan, LILida, et al. SimAM: a Simple, Parameter-free Attention Module for Convolutional Neural Networks[C]∥International Conference on Machine Learning. Vienna,2021:11863-11874.
[40]
OUYANGDaliang, HESu, ZHANGGuozhong, et al. Efficient Multi-scale Attention Module with Cross-spatial Learning[C]∥2023 IEEE International Conference on Acoustics, Speech and Signal Processing (ICASSP). Rhodes, 2023: 1-5.
[41]
SHIPengfei, HEQi, ZHUSisi, et al. Multi-scale Fusion and Efficient Feature Extraction for Enhanced Sonar Image Object Detection[J]. Expert Systems with Applications, 2024, 256: 124958.