Focal Loss for Dense Object Detection

被引:6539
作者
Lin, Tsung-Yi [1 ]
Goyal, Priya [1 ]
Girshick, Ross [1 ]
He, Kaiming [1 ]
Dollar, Piotr [1 ]
机构
[1] Facebook AI Res, Menlo Pk, CA 94025 USA
关键词
Detectors; Training; Object detection; Entropy; Proposals; Convolutional neural networks; Feature extraction; Computer vision; object detection; machine learning; convolutional neural networks;
D O I
10.1109/TPAMI.2018.2858826
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
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.
引用
收藏
页码:318 / 327
页数:10
相关论文
共 40 条
[1]  
[Anonymous], 2008, The Elements of Statistical Learning
[2]  
[Anonymous], P NEUR INF PROC SYST
[3]  
[Anonymous], P EUR C COMPUT VIS
[4]  
[Anonymous], 2014, 2 INT C LEARN REPR I
[5]  
[Anonymous], P IEEE C COMP VIS PA
[6]  
[Anonymous], 1521 MIT AI
[7]  
[Anonymous], DETECTRON
[8]  
[Anonymous], 1995, CITESEER
[9]  
[Anonymous], ARXIV170106659
[10]   Inside-Outside Net: Detecting Objects in Context with Skip Pooling and Recurrent Neural Networks [J].
Bell, Sean ;
Zitnick, C. Lawrence ;
Bala, Kavita ;
Girshick, Ross .
2016 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2016, :2874-2883