Steel Surface Defect Detection Using an Enhanced YOLOv8s with PPA Mechanism and AFPN

Authors

  • Dong Wang

DOI:

https://doi.org/10.54097/wfhyes67

Keywords:

Steel surface defect detection, YOLOv8, Paralleled Patch-Aware Attention (PPA), Asymptotic Feature Pyramid Network (AFPN), Multi-scale feature fusion

Abstract

Accurate and real-time detection of steel surface defects is essential for industrial quality control, yet it remains challenging due to extreme scale variations and complex background noise. Conventional object detection models often suffer from feature degradation and spatial information conflicts when processing these microscopic and multi-scale defects. To overcome these limitations, we propose an enhanced YOLOv8s-based detector. First, a Paralleled Patch-Aware Attention (PPA) module is integrated to extract multi-scale defect features, adaptively emphasizing critical textures while suppressing irrelevant industrial background noise. Second, we optimize the neck architecture by introducing an Asymptotic Feature Pyramid Network (AFPN) equipped with an Adaptive Spatial Fusion (ASF) mechanism. This structure progressively fuses non-adjacent hierarchical features, effectively mitigating semantic gaps and spatial information conflicts during multi-level aggregation. Extensive experiments conducted on the NEU-DET dataset demonstrate that the proposed method significantly outperforms the baseline YOLOv8s and other state-of-the-art models. The enhanced model achieves a superior balance between detection precision (mAP@0.5) and real-time inference speed, making it highly suitable for practical industrial inspection tasks.

Downloads

Download data is not yet available.

References

[1] J. Redmon, S. Divvala, R. Girshick, and A. Farhadi, “You only look once: Unified, real-time object detection,” in Proceedings of the IEEE conference on computer vision and pattern recogni-tion, 2016, pp. 779–788.

[2] K. Song and Y. Yan, “A noise robust method based on com-pleted local binary patterns for steel surface defect classifica-tion,” IEEE Transactions on Instrumentation and Measurement, vol. 62, no. 11, pp. 2856–2864, 2013.W.-K. Chen, Linear Networks and Systems (Book style). Belmont, CA: Wadsworth, 1993, pp. 123–135.

[3] G. Yang et al., “AFPN: Asymptotic Feature Pyramid Network for Object Detection,” arXiv preprint arXiv:2306.15988, 2023.

[4] C. Y. Wang, I. H. Yeh, and H. Y. M. Liao, "YOLOv9: Learning Zable gradient information aids network to learn everything," arXiv preprint arXiv:2402.13616, 2024.

[5] C. Li et al., “YOLOv10: Real-Time End-to-End Object Detec-tion,” arXiv preprint arXiv:2405.14458, 2024.

Downloads

Published

28-02-2026

Issue

Section

Articles

How to Cite

Wang, D. (2026). Steel Surface Defect Detection Using an Enhanced YOLOv8s with PPA Mechanism and AFPN. Journal of Computing and Electronic Information Management, 20(2), 58-62. https://doi.org/10.54097/wfhyes67