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 条
  • [1] MR-YOLO: An Improved YOLOv5 Network for Detecting Magnetic Ring Surface Defects
    Lang, Xianli
    Ren, Zhijie
    Wan, Dahang
    Zhang, Yuzhong
    Shu, Shuangbao
    SENSORS, 2022, 22 (24)
  • [2] An improved YOLOv5n algorithm for detecting surface defects in industrial components
    Tian, Jia-Hui
    Feng, Xue-Feng
    Li, Feng
    Xian, Qing-Long
    Jia, Zhen-Hong
    Liu, Jie-Liang
    SCIENTIFIC REPORTS, 2025, 15 (01):
  • [3] Detection of surface defects for maize seeds based on YOLOv5
    Xia, Yu
    Che, Tianci
    Meng, Jingwu
    Hu, Jinghao
    Qiao, Gengle
    Liu, Wenbo
    Kang, Jie
    Tang, Wei
    JOURNAL OF STORED PRODUCTS RESEARCH, 2024, 105
  • [4] Surface Defect Detection of Industrial Parts Based on YOLOv5
    Le, Hai Feng
    Zhang, Lu Jia
    Liu, Yan Xia
    IEEE ACCESS, 2022, 10 : 130784 - 130794
  • [5] Surface Defect Detection of Remanufactured Products by Using the Improved Yolov5
    Sun, Weice
    Liu, Zhengqing
    Wang, Qiucheng
    Zhu, Bingbin
    ADVANCES IN REMANUFACTURING, IWAR 2023, 2024, : 239 - 250
  • [6] DBCW-YOLO: A Modified YOLOv5 for the Detection of Steel Surface Defects
    Han, Jianfeng
    Cui, Guoqing
    Li, Zhiwei
    Zhao, Jingxuan
    APPLIED SCIENCES-BASEL, 2024, 14 (11):
  • [7] Cost-Sensitive Decision Support for Industrial Batch Processes
    Mahlkvist, Simon
    Ejenstam, Jesper
    Kyprianidis, Konstantinos
    SENSORS, 2023, 23 (23)
  • [8] A real-time method for detecting bottom defects of lithium batteries based on an improved YOLOv5 model
    Zhang, Yu
    Shu, Shuangbao
    Lang, Xianli
    Liang, Huajun
    Yu, Ziqiao
    Yang, Ziqiang
    MEASUREMENT SCIENCE AND TECHNOLOGY, 2023, 34 (12)
  • [9] SGN-YOLO: Detecting Wood Defects with Improved YOLOv5 Based on Semi-Global Network
    Meng, Wei
    Yuan, Yilin
    SENSORS, 2023, 23 (21)
  • [10] An improved lightweight and real-time YOLOv5 network for detection of surface defects on indocalamus leaves
    Tang, Zhe
    Zhou, Lin
    Qi, Fang
    Chen, Huarong
    JOURNAL OF REAL-TIME IMAGE PROCESSING, 2023, 20 (01)