Cost-Sensitive YOLOv5 for Detecting Surface Defects of Industrial Products

被引:2
作者
Liu, Ben [1 ]
Gao, Feng [1 ]
Li, Yan [1 ]
机构
[1] Xian Univ Technol, Sch Mech & Precis Instrument Engn, Xian 710048, Peoples R China
关键词
defect detection; cost-sensitive learning; YOLOv5; misclassification risk; intelligent industry; CLASSIFICATION; BINARY;
D O I
10.3390/s23052610
中图分类号
O65 [分析化学];
学科分类号
070302 ; 081704 ;
摘要
Owing to the remarkable development of deep learning algorithms, defect detection techniques based on deep neural networks have been extensively applied in industrial production. Most existing surface defect detection models assign equal costs to the classification errors among different defect categories but do not strictly distinguish them. However, various errors can generate a great discrepancy in decision risk or classification costs and then produce a cost-sensitive issue that is crucial to the manufacturing process. To address this engineering challenge, we propose a novel supervised classification cost-sensitive learning method (SCCS) and apply it to improve YOLOv5 as CS-YOLOv5, where the classification loss function of object detection was reconstructed according to a new cost-sensitive learning criterion explained by a label-cost vector selection method. In this way, the classification risk information from a cost matrix is directly introduced into the detection model and fully exploited in training. As a result, the developed approach can make low-risk classification decisions for defect detection. It is applicable for direct cost-sensitive learning based on a cost matrix to implement detection tasks. Using two datasets of a painting surface and a hot-rolled steel strip surface, our CS-YOLOv5 model outperforms the original version with respect to cost under different positive classes, coefficients, and weight ratios, but also maintains effective detection performance measured by mAP and F1 scores.
引用
收藏
页数:17
相关论文
共 50 条
  • [31] CRGF-YOLO: An Optimized Multi-Scale Feature Fusion Model Based on YOLOv5 for Detection of Steel Surface Defects
    Yu, Tao
    Luo, Xu
    Li, Qiang
    Li, Lei
    INTERNATIONAL JOURNAL OF COMPUTATIONAL INTELLIGENCE SYSTEMS, 2024, 17 (01)
  • [32] Surface Defect Detection Method of Wooden Spoon Based on Improved YOLOv5 Algorithm
    Tian, Siqing
    Li, Xiao
    Fang, Xiaolin
    Qi, Xiaozhong
    Li, Jichao
    BIORESOURCES, 2023, 18 (04) : 7713 - 7730
  • [33] Unleashing the power of AI in detecting metal surface defects: an optimized YOLOv7-tiny model approach
    Chen, Shuaiting
    Zhou, Feng
    Gao, Gan
    Ge, Xiaole
    Wang, Rugang
    PEERJ COMPUTER SCIENCE, 2024, 10
  • [34] YOLOv5 detection algorithm of Steel defects based on introducing light convolution network and DIOU function
    Wu YiNan
    Zhu Yun
    Guo Jia
    Yin ZhenYu
    2023 IEEE 12TH DATA DRIVEN CONTROL AND LEARNING SYSTEMS CONFERENCE, DDCLS, 2023, : 118 - 122
  • [35] Application of YOLOv5 Neural Network Based on Improved Attention Mechanism in Recognition of Thangka Image Defects
    Fan, Yao
    Li, Yubo
    Shi, Yingnan
    Wang, Shuaishuai
    KSII TRANSACTIONS ON INTERNET AND INFORMATION SYSTEMS, 2022, 16 (01): : 245 - 265
  • [36] YOLO-MBBi: PCB Surface Defect Detection Method Based on Enhanced YOLOv5
    Du, Bowei
    Wan, Fang
    Lei, Guangbo
    Xu, Li
    Xu, Chengzhi
    Xiong, Ying
    ELECTRONICS, 2023, 12 (13)
  • [37] Mobile phone screen surface scratch detection based on optimized YOLOv5 model (OYm)
    Zhao, Jian
    Zhu, Bolin
    Peng, Mo
    Li, Lingling
    IET IMAGE PROCESSING, 2023, 17 (05) : 1364 - 1374
  • [38] Detection of Defects on Cut-Out Switches in High-Resolution Images Based on YOLOv5 Algorithm
    Kim, Young Jun
    Lim, Sung Soo
    Jeong, Se-Yeong
    Yoon, Ji Won
    JOURNAL OF ELECTRICAL ENGINEERING & TECHNOLOGY, 2024, 19 (07) : 4537 - 4550
  • [39] Rapid Detection Method for Self-exploding Defects in Glass Insulators Based on Improved FasterNet and YOLOv5
    Wu K.
    Xu Z.
    Shan H.
    Gaodianya Jishu/High Voltage Engineering, 2024, 50 (05): : 1865 - 1876
  • [40] YOLOv5-Based Lightweight Algorithm for Detecting Bottle-Cap Packaging Defects
    Zhao Lei
    Jiao Likuan
    Zhai Ran
    Li Bin
    Xu Meiye
    LASER & OPTOELECTRONICS PROGRESS, 2023, 60 (22)