| Computer Technology |
|
|
|
|
| Efficient steel surface defect detection algorithm based on dynamic weighting and cross-scale interaction |
Liming Liang( ),Hongliang Yu,Lingliang Wang,Zhouyi Wu,Jinhui Cai |
| School of Electrical Engineering and Automation, Jiangxi University of Science and Technology, Ganzhou 341000, China |
|
|
|
Abstract An enhanced detection algorithm based on dynamic weighting and cross-scale interaction was proposed, to address insufficient feature representation, complex model structures, and low detection accuracy in steel surface defect detection. A feature enhancement module was constructed using learnable weighted convolutions to dynamically adjust channel and spatial weights, thereby strengthening the recognition and representation of key defect regions. A dynamic statistical perception interaction module was designed, which integrated multi-scale convolution and fast Fourier transform to achieve spatial-frequency cooperative modeling, efficiently capturing both local details and global semantic information while reducing computational redundancy. A lightweight cross-scale detection head was introduced to improve detection accuracy and computational efficiency while simplifying the overall model structure. Experimental results demonstrated that the proposed method improved mAP by 2.4 percentage points and 3.9 percentage points on the NEU-DET and Severstal datasets respectively, reduced parameters to 2.2 ×106, and achieved inference speeds of 188 frames per second and 192 frames per second, attaining an optimal balance of accuracy, lightweight design, and real-time performance. Additional tests on the GC10-DET and PCB datasets further confirmed the strong generalization capability of the algorithm, adequately meeting practical requirements for steel surface defect inspection.
|
|
Received: 04 November 2025
Published: 25 November 2026
|
|
|
基于动态加权与跨尺度交互的钢材表面缺陷高效检测算法
针对钢材表面缺陷检测中关键特征表达不足、现有模型结构复杂和检测精度低等问题,提出基于动态加权与跨尺度交互的改进检测算法. 构建特征增强模块,通过可学习加权卷积动态调整通道与空间权重,强化关键缺陷区域的特征识别与表达能力;设计动态统计感知交互模块,借助多尺度卷积与快速傅里叶变换实现空间-频域协同建模,在降低计算冗余的基础上,高效捕获局部细节与全局语义信息;构建轻量化跨尺度检测头,在简化模型结构的同时,提升复杂缺陷的检测精度与计算效率. 实验结果表明,所构算法在NEU-DET、Severstal数据集上的mAP较基线模型分别提升2.4、3.9个百分点,参数量降至2.2 ×106,推理速度达188、192 帧/s,在精度、轻量化与实时性方面达到最优平衡. 在GC10-DET与PCB数据集上的实验进一步佐证该算法具备优异的泛化能力,充分满足钢材表面缺陷检测的实际需求.
关键词:
缺陷检测,
可学习加权卷积,
跨尺度交互,
频域增强,
轻量化检测头
|
|
| [1] |
Wang S, Fan X, Zhao Z, et al. Research on steel surface defect detection system based on YOLOv5s-SE-CA model and BEMD image enhancement. Nondestructive Testing and Evaluation, 2025, 40 (7): 3080- 3099.
doi: 10.1080/10589759.2024.2393205
|
|
|
| [2] |
王浚银, 文斌, 沈艳军, 等. 基于改进YOLOv7-tiny的铝型材表面缺陷检测方法. 浙江大学学报(工学版), 2025, 59 (3): 523- 534. Wang Junyin, Wen Bin, Shen Yanjun, et al. Surface defect detection method for aluminum profiles based on improved YOLOv7-tiny. Journal of Zhejiang University (Engineering Science), 2025, 59 (3): 523- 534.
doi: 10.3785/j.issn.1008-973X.2025.03.010
|
|
|
| [3] |
Zhou M, Ye G, Yuen K V, et al. A graph attention reasoning model for prefabricated component detection. Computer-Aided Civil and Infrastructure Engineering, 2025, 40 (12): 1606- 1626.
doi: 10.1111/mice.13373
|
|
|
| [4] |
Wang Q, Paynabar K, Pacella M. Online automatic anomaly detection for photovoltaic systems using thermography imaging and low rank matrix decomposition. Journal of Quality Technology, 2022, 54 (5): 503- 516.
doi: 10.1080/00224065.2021.1948372
|
|
|
| [5] |
Cheng S, Zhu M, Yang F, et al. Radiomics models predict early neurodevelopment in infants with congenital cardiac septal defects. Quantitative Imaging in Medicine and Surgery, 2025, 15 (10): 10168- 10179.
doi: 10.21037/qims-2025-565
|
|
|
| [6] |
Yu M, Fang M, Guo G. Combined failure identification of intermediate bearing in aeroengine based on wavelet transform, second-order difference, and 1D-LBP. Structural Health Monitoring, 2025, 24 (6): 3617- 3636.
doi: 10.1177/14759217241270747
|
|
|
| [7] |
Girshick R. Fast R-CNN [C]// Proceedings of the IEEE International Conference on Computer Vision. Santiago: IEEE, 2016: 1440–1448.
|
|
|
| [8] |
Ren S, He K, Girshick R, et al. Faster R-CNN: towards real-time object detection with region proposal networks. IEEE Transactions on Pattern Analysis and Machine Intelligence, 2017, 39 (6): 1137- 1149.
doi: 10.1109/TPAMI.2016.2577031
|
|
|
| [9] |
Liu W, Anguelov D, Erhan D, et al. SSD: single shot MultiBox detector [C]// European Conference on Computer Vision. Cham: Springer, 2016: 21–37.
|
|
|
| [10] |
Dai N, Hu X, Xu K, et al. A study on lightweight algorithms for fabric defect detection. Textile Research Journal, 2025, 95 (21/22): 2553- 2569.
|
|
|
| [11] |
Bin F, Hou F, Chen D, et al. BCM-YOLO: an improved YOLOv8-based lightweight porcelain insulator defect detection model. High Voltage, 2025, 10 (4): 876- 889.
doi: 10.1049/hve2.70080
|
|
|
| [12] |
梁礼明, 龙鹏威, 金家新, 等. 基于改进YOLOv8s的钢材表面缺陷检测算法. 浙江大学学报(工学版), 2025, 59 (3): 512- 522. Liang Liming, Long Pengwei, Jin Jiaxin, et al. Steel surface defect detection algorithm based on improved YOLOv8s. Journal of Zhejiang University (Engineering Science), 2025, 59 (3): 512- 522.
doi: 10.3785/j.issn.1008-973X.2025.03.009
|
|
|
| [13] |
仵大奎, 葛承昆, 周文举, 等. 工业场景下的钢材表面缺陷实时检测网络. 计算机工程与应用, 2026, 62 (7): 85- 95. Wu Dakui, Ge Chengkun, Zhou Wenju, et al. Real-time detection network for steel surface defects in industrial scenarios. Computer Engineering and Applications, 2026, 62 (7): 85- 95.
doi: 10.3778/j.issn.1002-8331.2505-0316
|
|
|
| [14] |
雷富强, 马刘文, 关鹏, 等. 基于DFD-YOLOv11n的钢材装备表面缺陷检测算法研究. 计算机工程与应用, 2026, 62 (2): 92- 102. Lei Fuqiang, Ma Liuwen, Guan Peng, et al. Research on surface defect detection algorithm of steel equipment based on DFD-YOLOv11n. Computer Engineering and Applications, 2026, 62 (2): 92- 102.
|
|
|
| [15] |
Ma Y, Zhang Z, Ma S, et al. GLF-NET: global and local dynamic feature fusion network for real-time steel strip surface defect detection. IEEE Access, 2025, 13, 26063- 26078.
doi: 10.1109/ACCESS.2025.3539350
|
|
|
| [16] |
Li B, Xiao A, Hu X, et al. NGD-YOLO: an improved real-time steel surface defect detection algorithm. Electronics, 2025, 14 (14): 2859.
doi: 10.3390/electronics14142859
|
|
|
| [17] |
Li C, Zhou A, Yao A. Omni-dimensional dynamic convolution [PP/OL]. arXiv (2022−09−16) [2025−10−31]. https://doi.org/10.48550/arXiv.2209.07947.
|
|
|
| [18] |
Oluwasanmi A, Aftab M U, Qin Z, et al. Multi-head spatiotemporal attention graph convolutional network for traffic prediction. Sensors, 2023, 23 (8): 3836.
doi: 10.3390/s23083836
|
|
|
|
Viewed |
|
|
|
Full text
|
|
|
|
|
Abstract
|
|
|
|
|
Cited |
|
|
|
|
| |
Shared |
|
|
|
|
| |
Discussed |
|
|
|
|