Focal Loss for Dense Object Detection
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. Code is at: https://github.com/facebookresearch/Detectron.
Code (234)
Tasks
2D Object DetectionDense Object DetectionKnowledge DistillationLong-tail LearningObjectObject DetectionPedestrian DetectionReal-Time Object DetectionRegion ProposalMethods 이 논문이 사용한 방법론
Similar Papers 제목 키워드 기반
VarifocalNet: An IoU-aware Dense Object Detector
Accurately ranking the vast number of candidate detections is crucial for dense object detectors to achieve high performance. Prior work uses the classification score or a combination of classification and predicted loca…
General ClassificationObjectObject DetectionFocal Loss Dense Detector for Vehicle Surveillance
Deep learning has been widely recognized as a promising approach in different computer vision applications. Specifically, one-stage object detector and two-stage object detector are regarded as the most important two gro…
Objectobject-detectionObject Detectionvehicle detectionMask Focal Loss: A unifying framework for dense crowd counting with canonical object detection networks
As a fundamental computer vision task, crowd counting plays an important role in public safety. Currently, deep learning based head detection is a promising method for crowd counting. However, the highly concerned object…
Crowd CountingDensity EstimationHead DetectionObject+2Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
One-stage detector basically formulates object detection as dense classification and localization. The classification is usually optimized by Focal Loss and the box location is commonly learned under Dirac delta distribu…
Dense Object DetectionGeneral ClassificationGPUObject DetectionFocal Loss in 3D Object Detection
3D object detection is still an open problem in autonomous driving scenes. When recognizing and localizing key objects from sparse 3D inputs, autonomous vehicles suffer from a larger continuous searching space and higher…
3D Object DetectionAutonomous DrivingAutonomous VehiclesObject+2