Papers / Vision
RetinaNet (2017)
Focal Loss for Dense Object Detection
Down-weighted easy background examples in the loss so a single-stage detector finally matched two-stage accuracy.
Why it matters
After YOLO, the field assumed you had to trade accuracy for one-stage speed. Focal loss showed the gap was not architectural but a training imbalance between foreground and background, and its one-line loss modification became a standard tool well beyond object detection.
- Year
- 2017
- Authors
- Tsung-Yi Lin, Priya Goyal, Ross Girshick, Kaiming He, Piotr Dollár
- Venue
- ICCV 2017
- Data
- MS COCO
The idea
Dense single-stage detectors evaluate tens of thousands of candidate boxes per image, almost all obvious background whose small losses add up to swamp the gradient. Focal loss scales standard cross-entropy by (1 − p)^γ so confident negatives barely contribute, letting a clean one-stage detector on a Feature Pyramid Network (RetinaNet) focus on hard examples.
The result
39.1 AP on COCO test-dev with ResNet-101-FPN (and 37.8 AP at about 5 frames per second), surpassing every published one-stage and two-stage detector of the time without a proposal stage.
The data
Builds on
- YOLO (2015): Object detection as one pass of one network, fast enough for live video.
- Faster R-CNN (2015): Replaced the slow external region proposer with a small network that shares the detector's features.
- FPN (2016): Give a detector strong features at every scale by sending the deep, coarse ones back down to the fine ones.
- ResNet (2015): Skip connections that let networks grow from about 20 layers to more than 150.




