Focal Loss for Dense Object Detection

08/07/2017
by   Tsung-Yi Lin, et al.
0

The highest accuracy object detectors to date are based on a two-stage approach popularized by R-CNN, where a classifier is applied to a sparse set of candidate object locations. In contrast, one-stage detectors that are applied over a regular, dense sampling of possible object locations have the potential to be faster and simpler, but have trailed the accuracy of two-stage detectors thus far. In this paper, we investigate why this is the case. We discover that the extreme foreground-background class imbalance encountered during training of dense detectors is the central cause. We propose to address this class imbalance by reshaping the standard cross entropy loss such that it down-weights the loss assigned to well-classified examples. Our novel Focal Loss focuses training on a sparse set of hard examples and prevents the vast number of easy negatives from overwhelming the detector during training. To evaluate the effectiveness of our loss, we design and train a simple dense detector we call RetinaNet. Our results show that when trained with the focal loss, RetinaNet is able to match the speed of previous one-stage detectors while surpassing the accuracy of all existing state-of-the-art two-stage detectors.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
03/03/2018

Focal Loss Dense Detector for Vehicle Surveillance

Deep learning has been widely recognized as a promising approach in diff...
research
06/02/2020

Resolving Class Imbalance in Object Detection with Weighted Cross Entropy Losses

Object detection is an important task in computer vision which serves a ...
research
07/23/2019

DR Loss: Improving Object Detection by Distributional Ranking

Most of object detection algorithms can be categorized into two classes:...
research
09/11/2019

Are Sampling Heuristics Necessary in Object Detectors?

The prevalent object detectors to date, such as Faster R-CNN and RetinaN...
research
04/10/2018

Loss Rank Mining: A General Hard Example Mining Method for Real-time Detectors

Modern object detectors usually suffer from low accuracy issues, as fore...
research
08/24/2019

Residual Objectness for Imbalance Reduction

For a long time, object detectors have suffered from extreme imbalance b...
research
06/21/2021

Structured Sparse R-CNN for Direct Scene Graph Generation

Scene graph generation (SGG) is to detect entity pairs with their relati...

Please sign up or login with your details

Forgot password? Click here to reset