High accuracy and lightweight surface defect detection of metal strips based on improved YOLOv5s

To address the challenges of diverse surface defect types, significant scale variations, and the high miss rate of small targets, a novel YOLOv5s-SC surface defect detection model for metal strips is proposed based on the YOLOv5s architecture. First, the K-means + + algorithm is adopted to optimize anchor box generation, and the Shape-IoU loss function is introduced to enhance bounding box regression accuracy. Second, the backbone network is improved by integrating the C2f module and switchable atrous convolution (SAC) to enrich gradient flow and strengthen multi-scale feature extraction. while the neck is upgraded with RepGFPN and a Squeeze-and-Excitation (SE) attention mechanism to strengthen semantic fusion and focus on defect-critical regions. To enable deployment on resource-constrained edge devices, the layer-adaptive magnitude-based pruning (LAMP) method is applied to structurally compress the model. Experimental results on the NEU-DET dataset demonstrate that the proposed YOLOv5s-SC2 achieves a mean average precision ([email protected]:0.95) of 84.3%, outperforming the baseline YOLOv5s by 4.4% points in mAP and 9.6% points in Precision (85.8% vs. 76.2%). With LAMP pruning at a 2.5× acceleration ratio, the model size, computational cost, and memory are reduced to 56.2%, 39.4%, and 56.9% of the original, respectively, with a negligible mAP drop of only 0.2% points, providing an effective and lightweight solution for industrial surface defect detection.

Authors

Institutions

Publication Details

Journal
Scientific Reports
Published
2026-09-15
DOI
https://doi.org/10.1038/s41598-026-71705-w
Primary Topic
Advanced Neural Network Applications
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
article

High accuracy and lightweight surface defect detection of metal strips based on improved YOLOv5s

Lifeng Ma, Guangming Liu, Lifang Pan, Manman Chen
Scientific Reports
Advanced Neural Network Applications
article

High accuracy and lightweight surface defect detection of metal strips based on improved YOLOv5s

Lifeng Ma, Guangming Liu, Lifang Pan, Manman Chen
article en

Abstract

To address the challenges of diverse surface defect types, significant scale variations, and the high miss rate of small targets, a novel YOLOv5s-SC surface defect detection model for metal strips is proposed based on the YOLOv5s architecture. First, the K-means + + algorithm is adopted to optimize anchor box generation, and the Shape-IoU loss function is introduced to enhance bounding box regression accuracy. Second, the backbone network is improved by integrating the C2f module and switchable atrous convolution (SAC) to enrich gradient flow and strengthen multi-scale feature extraction. while the neck is upgraded with RepGFPN and a Squeeze-and-Excitation (SE) attention mechanism to strengthen semantic fusion and focus on defect-critical regions. To enable deployment on resource-constrained edge devices, the layer-adaptive magnitude-based pruning (LAMP) method is applied to structurally compress the model. Experimental results on the NEU-DET dataset demonstrate that the proposed YOLOv5s-SC2 achieves a mean average precision ([email protected]:0.95) of 84.3%, outperforming the baseline YOLOv5s by 4.4% points in mAP and 9.6% points in Precision (85.8% vs. 76.2%). With LAMP pruning at a 2.5× acceleration ratio, the model size, computational cost, and memory are reduced to 56.2%, 39.4%, and 56.9% of the original, respectively, with a negligible mAP drop of only 0.2% points, providing an effective and lightweight solution for industrial surface defect detection.

Scientific Reports
Taiyuan Iron and Steel Group (China) (CN), Taiyuan University of Science and Technology (CN), Taiyuan University of Technology (CN)
Shanxi Scholarship Council of China
Openalex Percentile: Top 14%
Advanced Neural Network Applications
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

High accuracy and lightweight surface defect detection of metal strips based on improved YOLOv5s — Lifeng Ma, Guangming Liu, et al. · Scientific Reports (2026) | TGRS Research Map | TGRS