A Systematic Benchmark of Attention Mechanisms on the NEU-DET Strip Surface Defect Dataset Using YOLOv11n
DOI:
https://doi.org/10.54097/k1e0ew07Keywords:
Strip Surface Defect Detection, YOLOv11n, Attention Mechanism, NEU-DET, Benchmark, Real-time Detection, OverfittingAbstract
Strip surface defect detection is an important part of the steel industry. Attention mechanisms have been widely used to enhance the feature representation capability of detection networks; however, their effectiveness on small industrial defect datasets lacks systematic evaluation. In this paper, we take the lightweight detector YOLOv11n as the baseline and integrate 15 attention mechanisms into a unified framework, covering channel attentions (SE and ECA), spatial attention (SimAM), hybrid attentions (CBAM and GAM), coordinate attention (CA), efficient multi-scale attention (EMA), and others. Strictly controlled experiments are conducted on the NEU-DET strip surface defect dataset. All models are trained under identical conditions: 50 epochs, 200×200 input resolution, batch size 16, 70/30 train/validation split, and random seed 42. Experimental results show that the original YOLOv11n baseline achieves the highest mAP@0.5 and mAP@0.5:0.95, outperforming all attention variants. The three best-performing attentions, namely ELA, TripletAttention, and SimAM, all achieve a mAP@0.5 of 0.735, only 0.003 lower than the baseline. In contrast, CBAM and SE, which have more parameters, drop by 0.066 and 0.076, respectively, and training curve analysis confirms that the degradation stems from overfitting. Per-class analysis reveals that crazing and rolled-in scale are the most challenging defect categories, with no attention mechanism improving detection accuracy on these classes over the baseline. The parameter-free SimAM shows the smallest drop, supporting the view that lightweight designs are safer on small datasets. Supplementary experiments at 640×640 resolution further validate the superiority of the baseline (baseline 0.772 vs. SimAM 0.761, ELA 0.741, SE 0.684). All models meet the real-time detection requirements. This baseline provides the real-world results of model selection for small industrial defect samples: a good baseline is often enough, attention should be emphasized, and parameter free or low-parameter designs should be chosen.
Downloads
References
[1] Mo, Z. K. (2025). Research on Lightweight Model for Strip Surface Defect Detection (Master’s dissertation). Hangzhou Dianzi University.
[2] Sun, Y. L., & Chen, G. F. (2026). Lightweight Strip Surface Defect Detection Algorithm Based on YOLO-AMM. Electronic Measurement Technology. Advance online publication.
[3] Yang, Q. C. (2025). Research on Lightweight Deep Learning Model for Strip Surface Defect Detection (Master’s dissertation). Shijiazhuang Tiedao University.
[4] Dai, L. H., Li, Y. S., Shi, R., et al. (2025). HSED-YOLO: A Lightweight Strip Surface Defect Detection Model. Journal of Guangxi Normal University (Natural Science Edition), 43(2), 95–106.
[5] Sun, P. Y., Huang, J., Gu, J. A., et al. (2025). Lightweight Chip Surface Defect Detection Method Based on YOLO11n. Semiconductor Technology, 50(7), 707–713.
[6] Hu, J., Shen, L., & Sun, G. (2018). Squeeze-and-Excitation Networks. In Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 7132–7141). IEEE. https://doi.org/10.1109/CVPR.2018.00745.
[7] Woo, S., Park, J., Lee, J. Y., & Kweon, I. S. (2018). CBAM: Convolutional Block Attention Module. In Proceedings of the European Conference on Computer Vision (ECCV) (pp. 3–19). Springer. https://doi.org/10.1007/978-3-030-01234-2_1.
[8] Yang, L., Zhang, R. Y., Li, L., & Xie, X. (2021). SimAM: A Simple, Parameter-Free Attention Module for Convolutional Neural Networks. In Proceedings of the 38th International Conference on Machine Learning (ICML) (pp. 11863–11874). PMLR. https://doi.org/10.48550/arXiv.2105.15133.
[9] Wang, Q., Wu, B., Zhu, P., Li, P., Zuo, W., & Hu, Q. (2020). ECA-Net: Efficient Channel Attention for Deep Convolutional Neural Networks. In Proceedings of the IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) (pp. 11534–11542). IEEE. https://doi.org/10.1109/ CVPR42600. 2020.01155.
[10] 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). IEEE. https://doi. org/ 10.1109/ CVPR46437.2021.01350.
[11] Xu, J., Jia, Y. A., & Wang, Z. F. (2026). Steel Surface Defect Detection Algorithm Based on Improved YOLOv11n. Laser & Optoelectronics Progress, 63(2), 205–216.
[12] Lei, F. Q., Ma, L. W., Guan, P., et al. (2026). Research on Steel Equipment Surface Defect Detection Algorithm Based on DFD-YOLOv11n. Computer Engineering and Applications. Advance online publication.
[13] Xu, H., Zhang, Z., Ye, H., et al. (2025). Efficient Steel Surface Defect Detection via a Lightweight YOLO Framework with Task-Specific Knowledge-Guided Optimization. Electronics, 14, 2029. https://doi.org/10.3390/electronics14102029.
[14] Wang, Y. P., Wei, Z., & Zhang, K. (2026). Lightweight Bearing Surface Defect Detection Algorithm Based on Improved YOLOv11. Journal of Computer Applications. Advance online publication.
[15] Xu, J. M., Cao, S., & Guan, H. Y. (2025). Lightweight Steel Surface Defect Detection Method Based on Improved YOLOv8. Electronic Measurement Technology, 48(24), 138–147.
[16] Gang, S., Liu, P. S., & Guo, X. W. (2025). Improved Lightweight Steel Surface Defect Detection Algorithm Based on YOLOv8n. Electronic Measurement Technology, 48(3), 74–82.
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.

