A lightweight and high-accuracy algorithm for strip steel surface defect detection

J.N. Wang X. Xie L. W W.Y. Bai Wu.Y. Guo

Журнал: Компьютерная оптика @computer-optics

Рубрика: Численные методы и анализ данных

Статья в выпуске: 5 т.50, 2026 года.

Бесплатный доступ

Given the dual demands for lightweight design and high precision in detecting surface defects of strip steel within complex industrial environments, this paper develops an improved YOLOv8 algorithm based on the YOLOv8n architecture. To start with, a SlimNeck lightweight structure is integrated into the neck network to reconstruct the feature extraction pathway, allowing the improved YOLOv8 model to markedly reduce its complexity while preserving robust feature expression capabilities. Next, the DySample dynamic upsampling operator is utilized in the neck network instead of the conventional UpSample operator, aiming to boost the model’s sensitivity to minute defects on the strip steel surface. Finally, the InnerMPDIoU loss function is incorporated to optimize bounding box regression accuracy, thereby fortifying the model’s adaptability to the multi-scale features of strip steel surface defects. Experimental results on the strip steel surface defect dataset, an open-source resource from Northeastern University (NEU-DET), indicate that the improved YOLOv8 algorithm achieves substantial improvements in detection accuracy while retaining its lightweight edge. Compared to the YOLOv8n baseline, it reduces parameters by 6.64 %, lowers computational load by 9.88 %, and maintains a model weight of just 5.9 MB. At the same time, its precision (P) reaches 80.1 % and mean average precision (mAP) hits 78.6 %, with these values being 3 % and 1.2 % higher than those of the baseline respectively. Consequently, the improved YOLOv8 algorithm proposed in this paper successfully balances lightweight design with high-precision detection performance, effectively meeting the dual requirements for strip steel surface defect detection tasks.

strip steel surface defect detection \ YOLOv8 \ lightweight model \ high accuracy detection \ SlimNeck structure \ DySample module \ InnerMPDIoU loss function

Короткий адрес: https://sciup.org/140316981

IDS: 140316981   |   DOI: 10.18287/COJ1808

Легковесный высокоточный алгоритм для обнаружения дефектов на поверхности полосовой стали

Учитывая необходимость сочетания легковесности и высокой точности при обнаружении дефектов на поверхности полосовой стали в сложных промышленных условиях, в данной работе представлен усовершенствованный алгоритм, основанный на архитектуре YOLOv8n. Во-первых, в структуру сети (ее промежуточную часть — neck) интегрирован легковесный блок SlimNeck, что позволило перестроить путь извлечения признаков: это существенно снизило сложность модели YOLOv8 при сохранении ее способности эффективно выделять значимые признаки. Во-вторых, вместо стандартного оператора повышения разрешения (UpSample) применен динамический оператор DySample, что повысило чувствительность модели к мелким дефектам на поверхности стали. Наконец, для оптимизации точности регрессии ограничивающих рамок (bounding boxes) внедрена функция потерь InnerMPDIoU, благодаря чему модель лучше адаптируется к дефектам различного масштаба. Эксперименты, проведенные на общедоступном наборе данных NEU-DET (созданном Северо-Восточным университетом), показали, что предложенный алгоритм обеспечивает значительный прирост точности обнаружения, оставаясь при этом легковесным. По сравнению с базовой моделью YOLOv8n, количество параметров сократилось на 6,64 %, вычислительная нагрузка снизилась на 9,88 %, а размер весов модели составил всего 5,9 МБ. При этом точность (Precision, P) достигла 80,1 %, а средняя точность (mean Average Precision, mAP) — 78,6 %, что соответственно на 3 % и 1,2 % выше показателей базовой версии. Таким образом, предложенный в работе усовершенствованный алгоритм YOLOv8 успешно сочетает легковесность с высокой точностью обнаружения, эффективно отвечая требованиям, предъявляемым к задачам контроля качества поверхности полосовой стали.