现代检测器默认使用四变量独立回归定位损失,如平滑- $\ell_1$损失。然而,这种损失过于简化,以至于它与最终的评估指标--交集大于并集(IoU)--不一致。直接使用标准IoU也不是不可行的,因为在非重叠框的情况下的恒定零平台和最小的非零梯度可能使其不可训练。因此,我们提出了一个系统的方法来解决这些问题。首先,我们提出了一个新的度量标准,扩展的IoU(EIoU),当两个盒子不重叠时,它是定义良好的,当重叠时,它被简化为标准的IoU。其次,我们提出了凸化技术(CT)的基础上EIoU,它可以保证梯度在最小值为零的损失。第三,我们提出了一种稳定的优化技术(SOT),使分数EIoU损失更稳定,更平滑地接近最小值。第四,为了充分利用基于丢失的EIoU的能力,我们引入了一个相关的IoU预测头,以进一步提高定位精度。利用所提出的贡献,结合到具有ResNet 50 +FPN作为主干的更快R-CNN中的新方法在VOC 2007上产生\textbf{4.2 mAP}增益,在COCO 2017上产生\textbf{2.3 mAP}增益,超过基线平滑- $\ell_1$损失,几乎为\textbf{no training and inferencing computational cost}。具体而言,度量越严格,增益越显著,在度量$AP_{90}$下,VOC 2007上的\textbf{8.2 mAP}和COCO 2017上的\textbf{5.4 mAP}得到改善。
英文摘要:
Four-variable-independent-regression localization losses, such as Smooth-$\ell_1$ Loss, are used by default in modern detectors. Nevertheless, this kind of loss is oversimplified so that it is inconsistent with the final evaluation metric, intersection over union (IoU). Directly employing the standard IoU is also not infeasible, since the constant-zero plateau in the case of non-overlapping boxes and the non-zero gradient at the minimum may make it not trainable. Accordingly, we propose a systematic method to address these problems. Firstly, we propose a new metric, the extended IoU (EIoU), which is well-defined when two boxes are not overlapping and reduced to the standard IoU when overlapping. Secondly, we present the convexification technique (CT) to construct a loss on the basis of EIoU, which can guarantee the gradient at the minimum to be zero. Thirdly, we propose a steady optimization technique (SOT) to make the fractional EIoU loss approaching the minimum more steadily and smoothly. Fourthly, to fully exploit the capability of the EIoU based loss, we introduce an interrelated IoU-predicting head to further boost localization accuracy. With the proposed contributions, the new method incorporated into Faster R-CNN with ResNet50+FPN as the backbone yields \textbf{4.2 mAP} gain on VOC2007 and \textbf{2.3 mAP} gain on COCO2017 over the baseline Smooth-$\ell_1$ Loss, at almost \textbf{no training and inferencing computational cost}. Specifically, the stricter the metric is, the more notable the gain is, improving \textbf{8.2 mAP} on VOC2007 and \textbf{5.4 mAP} on COCO2017 at metric $AP_{90}$.
Gaussian Guided IoU: A Better Metric for Balanced Learning on Object Detection
Huazhong University of Science and Technology(华中科技大学)
对于大多数基于锚点的检测器,Intersection over Union(IoU)被广泛用于在训练期间为锚点分配目标。然而,IoU对锚点中心与真值框中心的接近程度关注不够。这导致两个问题:(1)大多数细长物体只分配一个锚点,导致训练过程中对细长物体的监督信息不足,影响细长物体的表现;(2)IoU不能准确地表示锚点中心特征的感受野与物体的对齐程度。因此,在训练过程中,一些特征的感受野对准更好的对象是失踪,而一些特征的感受野对准较差的对象被采用。这损害了模型的定位精度。为了解决这些问题,我们首先设计了高斯引导的IoU(GGIoU),它更加关注锚点中心与真值盒中心的接近程度。在此基础上,提出了GGIoU均衡学习方法,包括GGIoU引导的分配策略和GGIoU均衡的定位损失。该方法可以为每个细长物体分配多个锚点,并将训练过程偏向于与物体对齐的特征。在PASCAL VOC和MS COCO等主流测试平台上的大量实验表明,GGIoU均衡学习可以解决上述问题,并显著提高目标检测模型的性能,尤其是定位精度。
Alibaba Group(阿里巴巴集团);Huazhong University of Science and Technology(华中科技大学)
非最大值抑制(NMS)广泛用于目标检测流水线中以去除重复的边界框。NMS的置信度与实际定位置信度之间的不一致严重影响了检测性能。先前的工作提出预测边界框和相应的地面实况之间的交集(IoU)以改进NMS,而准确预测IoU仍然是一个具有挑战性的问题。我们认为,复杂的定义和功能错位的IoU很难准确预测IoU。在本文中,我们提出了一种新的解耦IoU回归(IOU)模型来处理这些问题。该算法将传统的本地化置信度度量IoU扩展为两个新的度量:纯度和完整性。纯度反映了检测到的限界框中对象区域的比例,完整性是指检测到的对象区域的完整性。分别预测纯度和完整性可以将限界框与其IoU之间的复杂映射划分为两个更清晰的映射,并独立地对它们进行建模。此外,还引入了一种简单但有效的特征重对齐方法,使IoU回归器以事后的方式工作,这可以使目标映射更加稳定。该方法可以方便地与现有的两级检测器集成,并显着提高其性能。通过一个简单的实现与HTC,我们获得了51.3%的AP MS COCO基准,这优于以往的方法,达到国家的最先进的。
Geometry Meets Semantics: Fractional Gradient Stabilization for Semantic-Driven Bounding Box Optimization in Visual Detection Tasks
Beijing University of Technology(北京工业大学);ShanghaiTech University(上海科技大学);Beijing Institute of Technology(北京理工大学);Beijing Electronic Science and Technology Institute(北京电子科技学院);Zhengzhou University(郑州大学);Yunnan Normal University(云南师范大学)
LAF-YOLOv10 with Partial Convolution Backbone, Attention-Guided Feature Pyramid, Auxiliary P2 Head, and Wise-IoU Loss for Small Object Detection in Drone Aerial Imagery
Department of Information Technology(信息科技系);Department of Computer Science and Engineering(计算机科学与工程系)
D2-Net: Weakly-Supervised Action Localization via Discriminative Embeddings and Denoised Activations
Inception Institute of Artificial Intelligence(启元人工智能研究院);Mohamed Bin Zayed University of AI(穆罕默德·本·扎耶德人工智能大学);Monash University(莫纳什大学);Linköping University(林雪平大学);University of California Merced(加州大学默塞德分校);Google Research(谷歌研究院);Yonsei University(延世大学)