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 条
  • [41] A batch-adapted cost-sensitive contrastive feature learning network for industrial diagnosis with extremely imbalanced data
    Liu, Yijin
    Li, Zipeng
    Chen, Jinglong
    Zhang, Tianci
    Pan, Tongyang
    He, Shuilong
    MEASUREMENT, 2025, 244
  • [42] Cost-Sensitive Learning and Threshold-Moving Approach to Improve Industrial Lots Release Process on Imbalanced Datasets
    Lobo, Armindo
    Oliveira, Pedro
    Sampaio, Paulo
    Novais, Paulo
    19TH INTERNATIONAL SYMPOSIUM ON DISTRIBUTED COMPUTING AND ARTIFICIAL INTELLIGENCE, 2023, 583 : 280 - 290
  • [43] Detecting Hypoglycemia Incidents Reported in Patients' Secure Messages: Using Cost-Sensitive Learning and Oversampling to Reduce Data Imbalance
    Chen, Jinying
    Lalor, John
    Liu, Weisong
    Druhl, Emily
    Granillo, Edgard
    Vimalananda, Varsha G.
    Yu, Hong
    JOURNAL OF MEDICAL INTERNET RESEARCH, 2019, 21 (03)
  • [44] RETRACTED: Improved Deep Learning Network Based in combination with Cost-sensitive Learning for Early Detection of Ovarian Cancer in Color Ultrasound Detecting System (Retracted Article)
    Zhang, Lei
    Huang, Jian
    Liu, Li
    JOURNAL OF MEDICAL SYSTEMS, 2019, 43 (08)
  • [45] Joint attention mechanism with dynamic kernel for yolov5 mobile wireless charging coil surface defect identification
    Wei, Zhao
    Wang, Tingting
    MULTIMEDIA TOOLS AND APPLICATIONS, 2024, 83 (04) : 12403 - 12424
  • [46] Joint attention mechanism with dynamic kernel for yolov5 mobile wireless charging coil surface defect identification
    Zhao Wei
    Tingting Wang
    Multimedia Tools and Applications, 2024, 83 : 12403 - 12424
  • [47] Accurate detection and intelligent classification of solar cells defects based on photoluminescence images: A novel study on the optimized YOLOv5 model
    Wang X.
    Gao M.
    Xie Y.
    Song Y.
    Liang Z.
    Song P.
    Liu J.
    Du Q.
    Zhou Y.
    Chen J.
    Zhou Y.
    Fang Z.
    Qian J.
    Infrared Physics and Technology, 2024, 138
  • [48] Surface Defect Detection of Industrial Components Based on Improved YOLOv5s
    Liu, Li
    Feng, Xuefeng
    Li, Feng
    Xian, Qinglong
    Chen, Zhendong
    Jia, Zhenhong
    IEEE SENSORS JOURNAL, 2024, 24 (15) : 23940 - 23950
  • [49] An Engine Cylinder Surface Defect Detection Algorithm Based on the YOLOv5 Network and Pix2Pix Model
    Zeng, Zhilin
    Qu, Hao
    Du, Zhengchun
    Jixie Gongcheng Xuebao/Journal of Mechanical Engineering, 2025, 61 (02): : 46 - 55
  • [50] YOLO-HLT: improved lightweight printed circuit board surface defect detection algorithm based on YOLOv5
    Yang, Bohao
    Liu, Wei
    Wang, Zhenzhen
    INSIGHT, 2024, 66 (10) : 628 - 638