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 条
  • [21] Lightweight Surface Defect Detection Algorithm Based on Improved YOLOv5
    Yang, Kaijun
    Chen, Tao
    2024 5TH INTERNATIONAL CONFERENCE ON MECHATRONICS TECHNOLOGY AND INTELLIGENT MANUFACTURING, ICMTIM 2024, 2024, : 798 - 802
  • [22] Surface defect detection of steel based on improved YOLOv5 algorithm
    Jiang, Yiwen
    MATHEMATICAL BIOSCIENCES AND ENGINEERING, 2023, 20 (11) : 19858 - 19870
  • [23] Improved Yolov5 Algorithm for Surface Defect Detection of Solar Cell
    Li, Pengjie
    Shan, Shuo
    Zeng, Pengzhong
    Wei, Haikun
    2023 35TH CHINESE CONTROL AND DECISION CONFERENCE, CCDC, 2023, : 3601 - 3605
  • [24] A Real-Time Green and Lightweight Model for Detection of Liquefied Petroleum Gas Cylinder Surface Defects Based on YOLOv5
    Duman, Burhan
    APPLIED SCIENCES-BASEL, 2025, 15 (01):
  • [25] YOLO-RLC: An Advanced Target-Detection Algorithm for Surface Defects of Printed Circuit Boards Based on YOLOv5
    Wang, Yuanyuan
    Huang, Jialong
    Dipu, Md Sharid Kayes
    Zhao, Hu
    Gao, Shangbing
    Zhang, Haiyan
    Lv, Pinrong
    CMC-COMPUTERS MATERIALS & CONTINUA, 2024, 80 (03): : 4973 - 4995
  • [26] Car Brake Disc Surface Defect Detection Based on Improved YOLOv5
    Guo, Yuan
    Zhang, Xuecheng
    Dong, Zhenbiao
    IEEE ACCESS, 2024, 12 : 68601 - 68610
  • [27] Research on strip surface defect detection based on improved YOLOv5 algorithm
    Lv, Shuaishuai
    Tao, Chuanzhen
    Hao, Zhuangzhuang
    Ni, Hongjun
    Hou, Zhengjie
    Li, Xiaoyuan
    Gu, Hai
    Shi, Weidong
    Chen, Linfei
    IRONMAKING & STEELMAKING, 2024, 51 (10) : 1046 - 1064
  • [28] Research on Identification and Detection of Transmission Line Insulator Defects Based on a Lightweight YOLOv5 Network
    Yu, Zhilong
    Lei, Yanqiao
    Shen, Feng
    Zhou, Shuai
    Yuan, Yue
    REMOTE SENSING, 2023, 15 (18)
  • [29] Detecting financial misstatements with fraud intention using multi-class cost-sensitive learning
    Kim, Yeonkook J.
    Baik, Bok
    Cho, Sungzoon
    EXPERT SYSTEMS WITH APPLICATIONS, 2016, 62 : 32 - 43
  • [30] Industrial IoT Intrusion Detection via Evolutionary Cost-Sensitive Learning and Fog Computing
    Telikani, Akbar
    Shen, Jun
    Yang, Jie
    Wang, Peng
    IEEE INTERNET OF THINGS JOURNAL, 2022, 9 (22) : 23260 - 23271