Resolving Class Imbalance in Object Detection with Weighted Cross Entropy Losses

06/02/2020
by   Trong Huy Phan, et al.
0

Object detection is an important task in computer vision which serves a lot of real-world applications such as autonomous driving, surveillance and robotics. Along with the rapid thrive of large-scale data, numerous state-of-the-art generalized object detectors (e.g. Faster R-CNN, YOLO, SSD) were developed in the past decade. Despite continual efforts in model modification and improvement in training strategies to boost detection accuracy, there are still limitations in performance of detectors when it comes to specialized datasets with uneven object class distributions. This originates from the common usage of Cross Entropy loss function for object classification sub-task that simply ignores the frequency of appearance of object class during training, and thus results in lower accuracies for object classes with fewer number of samples. Class-imbalance in general machine learning has been widely studied, however, little attention has been paid on the subject of object detection. In this paper, we propose to explore and overcome such problem by application of several weighted variants of Cross Entropy loss, for examples Balanced Cross Entropy, Focal Loss and Class-Balanced Loss Based on Effective Number of Samples to our object detector. Experiments with BDD100K (a highly class-imbalanced driving database acquired from on-vehicle cameras capturing mostly Car-class objects and other minority object classes such as Bus, Person and Motor) have proven better class-wise performances of detector trained with the afore-mentioned loss functions.

READ FULL TEXT

page 9

page 10

research
08/07/2017

Focal Loss for Dense Object Detection

The highest accuracy object detectors to date are based on a two-stage a...
research
09/17/2018

Focal Loss in 3D Object Detection

3D object detection is still an open problem in autonomous driving scene...
research
06/29/2021

Fast and Accurate Road Crack Detection Based on Adaptive Cost-Sensitive Loss Function

Numerous detection problems in computer vision, including road crack det...
research
08/19/2023

DatasetEquity: Are All Samples Created Equal? In The Quest For Equity Within Datasets

Data imbalance is a well-known issue in the field of machine learning, a...
research
10/28/2020

Class-Agnostic Segmentation Loss and Its Application to Salient Object Detection and Segmentation

In this paper we present a novel loss function, called class-agnostic se...
research
12/01/2017

Rank of Experts: Detection Network Ensemble

The recent advances of convolutional detectors show impressive performan...
research
05/26/2021

Compensating class imbalance for acoustic chimpanzee detection with convolutional recurrent neural networks

Automatic detection systems are important in passive acoustic monitoring...

Please sign up or login with your details

Forgot password? Click here to reset