Cited by 30,581Advanced Neural Network ApplicationsVisual Attention and Saliency DetectionDomain Adaptation and Few-Shot Learning

Focal Loss for Dense Object Detection

Lin, Tsung-Yi, Goyal, Priya, Girshick, Ross, He, Kaiming, Dollar, Piotr·2017·2017 IEEE International Conference on Computer Vision (ICCV)

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 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.

Integrity signals

Registry

Crossref · 10.1109/iccv.2017.324

Cites

40 of 40 references verified0 citation errors · 0 not checkable

Statistics

Recomputing p-values needs the paper’s full text.

Claims the paper makes

This paper’s full text isn’t openly available, so its claims and self-check weren’t run. The registry and citation checks still apply.

Claims other papers make about this one

Each is checked against this paper’s own text: does it say what the citing paper says it does?

  • Under a similar accuracy constraint, EfficientDet uses 28x fewer FLOPs than YOLOv3, 30x fewer FLOPs than RetinaNet, and 19x fewer FLOPs than ResNet-based NAS-FPN.

    “Under similar accuracy constraint, our EfficientDet uses 28x fewer FLOPs than YOLOv3 [34], 30x fewer FLOPs than RetinaNet [24], and 19x fewer FLOPs than the recent ResNet based NAS-FPN [10].”

    From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]

  • Compared to RetinaNet and Mask-RCNN, EfficientDet achieves similar accuracy with up to 8x fewer parameters and 21x fewer FLOPs.

    “Compared to RetinaNet [24] and Mask-RCNN [13], our EfficientDet achieves similar accuracy with up to 8x fewer parameters and 21x fewer FLOPs.”

    From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]

  • Compared to the default 37 AP [24], reproduced RetinaNet achieves higher accuracy (+2AP) using our training settings.

    “(3) compared to the default 37 AP [24], our reproduced RetinaNet achieves higher accuracy (+2AP) using our training settings.”

    From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]

  • The latest AmoebaNet-based NAS-FPN detector requires 167M parameters and 3045B FLOPs, 30x more than RetinaNet, to achieve state-of-the-art accuracy.

    “For example, the latest AmoebaNet-based NASFPN detector [45] requires 167M parameters and 3045B FLOPs (30x more than RetinaNet [24]) to achieve state-ofthe-art accuracy.”

    From EfficientDet: Scalable and Efficient Object Detection (2019) · cites this paper as [24]

  • RetinaNet incorporates a Feature Pyramid Network for multi-scale feature extraction and a focal loss function that prioritizes harder-to-detect objects, making it effective in scenarios with sparse object occurrences.

    “The architecture incorporates a Feature Pyramid Network (FPN) for multi-scale feature extraction and employs a novel focal loss function to give higher priority to harder-to-detect objects during training. This loss function helps mitigate the imbalance between foreground and background classes, making RetinaNet particularly effective in scenarios with sparse object occurrences.”

Cites

Flagged first, then by citations

Cited by

Sorted by citations

Authors
Lin, T.-Y., Goyal, P., Girshick, R., He, K., & Dollar, P.
Affiliations
Meta (United States) (US)
Venue
2017 IEEE International Conference on Computer Vision (ICCV)
Publisher
IEEE
Published
2017-10
Pages
2999-3007
OpenAlex
W2963351448
Cited by
30,581
References
40
Citations by year
2026: 3829 · 2025: 4853 · 2024: 5165 · 2023: 4882 · 2022: 3999 · 2021: 3739 · 2020: 2424 · 2019: 1368 · 2018: 309 · 2017: 7 · 2016: 1 · 2013: 1 · 2012: 2
FWCI
323.50
Type
conference paper
Language
en
Open access
closed
Locations
IEEE/CVF International Conference on Computer Vision (ICCV) (publishedVersion)
Topics
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Neural Network Applications
  • Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Visual Attention and Saliency Detection
  • Physical Sciences › Computer Science › Artificial Intelligence › Domain Adaptation and Few-Shot Learning
Keywords
focal loss, dense object detection, class imbalance, foreground-background imbalance, one-stage object detectors, RetinaNet, cross-entropy loss, hard example mining, loss function design

About these checks

Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.

Statistics and arithmetic are recomputed, not judged.

Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.

What counts as a claim ›How we measure confidence ›How we check this ›

Are you an author, or do you see a problem with this page? Request a review