arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2403.07113cs.CVcs.LG
收藏

目标检测中的类别不平衡:缓解策略的实验诊断与研究

Class Imbalance in Object Detection: An Experimental Diagnosis and Study of Mitigation Strategies

HID

Nieves Crasto

AI总结:

本研究针对单阶段检测器中受关注不足的前景-前景类别不平衡问题,构建COCO-ZIPF长尾数据集,基于YOLOv5框架对比三类缓解技术,发现数据增强方法可显著提升检测mAP。

摘要:

目标检测是计算机视觉中的核心任务,其性能常受数据集不平衡问题阻碍,尤其是研究尚不充分的前景-前景类别不平衡问题。在单阶段检测器的研究语境中,对前景-前景类别不平衡的关注缺失问题更为突出。本研究提出了一个基于YOLOv5单阶段检测器的基准测试框架,用于解决前景-前景类别不平衡问题。我们从COCO数据集构建了一个全新的10类长尾数据集,命名为COCO-ZIPF,该数据集专门用于模拟类别数量有限的常见真实世界检测场景。在此基础上,我们深入分析了三种成熟技术:采样、损失加权和数据增强。我们的对比分析表明,采样和损失重加权方法虽在两阶段检测器场景中被证实有效,但在提升YOLOv5在COCO-ZIPF数据集上的性能方面效果不佳。另一方面,数据增强方法,尤其是mosaic(马赛克增强)和mixup(混合增强),通过为训练数据引入更多可变性和复杂性,显著提升了模型的平均精度均值(mAP)。(代码获取地址:https://github.com/craston/object_detection_cib)

英文摘要:

Object detection, a pivotal task in computer vision, is frequently hindered by dataset imbalances, particularly the under-explored issue of foreground-foreground class imbalance. This lack of attention to foreground-foreground class imbalance becomes even more pronounced in the context of single-stage detectors. This study introduces a benchmarking framework utilizing the YOLOv5 single-stage detector to address the problem of foreground-foreground class imbalance. We crafted a novel 10-class long-tailed dataset from the COCO dataset, termed COCO-ZIPF, tailored to reflect common real-world detection scenarios with a limited number of object classes. Against this backdrop, we scrutinized three established techniques: sampling, loss weighing, and data augmentation. Our comparative analysis reveals that sampling and loss reweighing methods, while shown to be beneficial in two-stage detector settings, do not translate as effectively in improving YOLOv5's performance on the COCO-ZIPF dataset. On the other hand, data augmentation methods, specifically mosaic and mixup, significantly enhance the model's mean Average Precision (mAP), by introducing more variability and complexity into the training data. (Code available: https://github.com/craston/object_detection_cib)

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑