IoU-balanced Loss Functions for Single-stage Object Detection

08/15/2019
by   Shengkai Wu, et al.
0

Single-stage detectors are efficient. However, we find that the loss functions adopted by single-stage detectors are sub-optimal for accurate localization. The standard cross entropy loss for classification is independent of localization task and drives all the positive examples to learn as high classification score as possible regardless of localization accuracy during training. As a result, there will be detections that have high classification score but low IoU or low classification score but high IoU. And the detections with low classification score but high IOU will be suppressed by the ones with high classification score but low IOU during NMS, hurting the localization accuracy. For the standard smooth L1 loss, the gradient is dominated by the outliers that have poorly localization accuracy and this is harmful for accurate localization. In this work, we propose IoU-balanced loss functions that consist of IoU-balanced classification loss and IoU-balanced localization loss to solve the above problems. The IoU-balanced classification loss focuses more attention on positive examples with high IOU and can enhance the correlation between classification and localization task. The IoU-balanced localization loss decreases the gradient of the examples with low IoU and increases the gradient of examples with high IoU, which can improve the localization accuracy of models. Sufficient studies on MS COCO demonstrate that both IoU-balanced classification loss and IoU-balanced localization loss can bring substantial improvement for the single-stage detectors. Without whistles and bells, the proposed methods can improve AP by 1.1 detectors and the improvement for AP at higher IoU threshold is especially large, such as 2.3

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/24/2021

Reconcile Prediction Consistency for Balanced Object Detection

Classification and regression are two pillars of object detectors. In mo...
research
11/11/2020

Optimized Loss Functions for Object detection and Application on Nighttime Vehicle Detection

Loss functions is a crucial factor than affecting the detection precisio...
research
11/13/2018

Gradient Harmonized Single-stage Detector

Despite the great success of two-stage detectors, single-stage detector ...
research
08/09/2022

Deep Object Detection with Example Attribute Based Prediction Modulation

Deep object detectors suffer from the gradient contribution imbalance du...
research
11/20/2020

Improvement of Classification in One-Stage Detector

RetinaNet proposed Focal Loss for classification task and improved one-s...
research
05/05/2017

S-OHEM: Stratified Online Hard Example Mining for Object Detection

One of the major challenges in object detection is to propose detectors ...
research
07/23/2019

DR Loss: Improving Object Detection by Distributional Ranking

Most of object detection algorithms can be categorized into two classes:...

Please sign up or login with your details

Forgot password? Click here to reset