Focal Loss for Dense Object Detection
Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, Piotr Doll\'ar

TL;DR
This paper introduces Focal Loss, a novel loss function that addresses class imbalance in dense object detection, enabling one-stage detectors like RetinaNet to achieve accuracy comparable to two-stage methods while maintaining high speed.
Contribution
The paper proposes Focal Loss to improve training of dense detectors by focusing on hard examples, leading to state-of-the-art accuracy with a simple one-stage detector.
Findings
RetinaNet with Focal Loss matches two-stage detector accuracy
Focal Loss effectively mitigates class imbalance during training
Dense detectors can achieve high accuracy at real-time speeds
Abstract
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…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
- 🤗monai-test/lung_nodule_ct_detectionmodel· ♡ 8♡ 8
- 🤗keras-io/Object-Detection-RetinaNetmodel· 17 dl· ♡ 2017 dl♡ 20
- 🤗FathomNet/MBARI-midwater-detectormodel· 1 dl· ♡ 11 dl♡ 1
- 🤗chatcompanion/compAnIonv1model· ♡ 1♡ 1
- 🤗Kalray/retinanet-resnet101model
- 🤗Kalray/retinanet-resnet50model
- 🤗Kalray/retinanet-resnext50-mlperfmodel
- 🤗qninhdt/detmodel
- 🤗nasa-impact/science-keyword-classificationmodel· 38 dl· ♡ 238 dl♡ 2
- 🤗matthewleechen/multilabel_patent_classifiermodel· 5 dl5 dl
Videos
Focal Loss for Dense Object Detection· youtube
Taxonomy
TopicsAdvanced Neural Network Applications · Video Surveillance and Tracking Methods · Image Enhancement Techniques
Methods7 Fastest Ways to Call American Airlines Reservations Number (USA Guide) · Nine Ways to Speak to a Human at Travelocity: A Step by step Guide · Five Ways to Connect: How Can I Speak to Someone at Priceline- A Step by Step Guide · Five Ways to Connect: How Can I Speak to Someone at Travelocity- A Step by Step Guide · SPEED: Separable Pyramidal Pooling EncodEr-Decoder for Real-Time Monocular Depth Estimation on Low-Resource Settings · Average Pooling · ResNeXt Block · Grouped Convolution · Feature Pyramid Network · Bottleneck Residual Block
