A Lightweight Steel Surface Defect Detection Algorithm Based on GhostConv and Coordinate Attention
DOI:
https://doi.org/10.54097/zhe42e46Keywords:
Steel Surface Defect Detection, Lightweight Model, YOLOv8n, GhostConv, Coordinate Attention, Ablation AnalysisAbstract
Aiming at the problems of large parameter size and high computational cost when deploying steel surface defect detection models on edge devices, this paper constructs a minimalist "compression-compensation" collaborative validation framework. Although existing studies have verified the effectiveness of the combination of GhostConv and Coordinate Attention (CA), they are often accompanied by complex structural stacking, making it difficult to isolate the net effect of a single module. To this end, this paper designs a minimalist configuration with strictly controlled variables based on the YOLOv8n baseline: GhostConv is introduced only in three downsampling stages of the backbone network to reduce computational complexity, and a single CA module is embedded only at the end of the P4 stage to compensate for the loss of spatial localization information caused by compression, without introducing any auxiliary structures. Experiments on the NEU-DET dataset show that under the condition of reducing the parameter size to 2.73 M and the computational cost to 7.5 GFLOPs, the minimalist model achieves an mAP@0.5 of 0.732. Compared with the baseline model, the parameter size and computational cost are reduced by 13.1% and 12.8% respectively, with only a 0.7 percentage point drop in accuracy. Compared with the configuration with only GhostConv, the addition of a single-point CA increases the mAP@0.5 by 2.5 percentage points. The ablation results completely quantify the causal chain of "compression causing loss—single-point attention compensating", providing a progressively validated trade-off boundary and a minimalist baseline for lightweight improvements in extremely resource-constrained scenarios.
Downloads
References
[1] Yuan, Z., Ning, H., Tang, X., et al. (2024). GDCP-YOLO: Enhancing steel surface defect detection using lightweight machine learning approach. Electronics, 13(7), 1388. https://doi.org/10.3390/electronics13071388.
[2] Tang, X. L., Shi, L. J., Tao, L. M., et al. (2025). GCA-YOLO: An improved steel surface defect detection algorithm. Journal of Hangzhou Normal University (Natural Science Edition), 24(1), 9–18.
[3] Li, F., Lu, Y., Ma, Q., et al. (2025). GhostConv+CA-YOLOv8n: A lightweight network for rice pest detection based on the aggregation of low-level features in real-world complex backgrounds. Frontiers in Plant Science, 16, 1620339. https://doi.org/10.3389/fpls.2025.1620339.
[4] Han, K., Wang, Y., Tian, Q., et al. (2020). GhostNet: More features from cheap operations. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 1580–1589). https://doi.org/10.1109/CVPR42600.2020.00166.
[5] Hou, Q., Zhou, D., & Feng, J. (2021). Coordinate attention for efficient mobile network design. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 13713–13722). https://doi.org/10.1109/CVPR46437.2021.01350.
[6] Jocher, G., Chaurasia, A., & Qiu, J. (n.d.). Ultralytics. https://github.com/ultralytics/ultralytics.
[7] Zhou, K., Chen, S., Du, Y., et al. (2025). RLA-YOLO: A lightweight and accurate method for real-time steel plate defect detection. Digital Signal Processing, 168, 105700. https://doi.org/10.1016/j.dsp.2025.105700.
[8] Song, K., & Yan, Y. (2013). A noise robust method based on completed local binary patterns for hot-rolled steel strip surface defects. Applied Surface Science, 285, 858–864. https://doi.org/10.1016/j.apsusc.2013.08.092.
Downloads
Published
Issue
Section
License
Copyright (c) 2026 Frontiers in Computing and Intelligent Systems

This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License.

