VarifocalNet: An IoU-aware Dense Object Detector

Haoyang Zhang, Ying Wang, Feras Dayoub, Niko Sünderhauf
8/31/2020
cs.CV

Official code: hyz-xmaster/VarifocalNet (360 stars, Apache-2.0, last commit 2021-03-05).

Abstract

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 localization scores to rank candidates. However, neither option results in a reliable ranking, thus degrading detection performance. In this paper, we propose to learn an Iou-aware Classification Score (IACS) as a joint representation of object presence confidence and localization accuracy. We show that dense object detectors can achieve a more accurate ranking of candidate detections based on the IACS. We design a new loss function, named Varifocal Loss, to train a dense object detector to predict the IACS, and propose a new star-shaped bounding box feature representation for IACS prediction and bounding box refinement. Combining these two new components and a bounding box refinement branch, we build an IoU-aware dense object detector based on the FCOS+ATSS architecture, that we call VarifocalNet or VFNet for short. Extensive experiments on MS COCO show that our VFNet consistently surpasses the strong baseline by $\sim$2.0 AP with different backbones. Our best model VFNet-X-1200 with Res2Net-101-DCN achieves a single-model single-scale AP of 55.1 on COCO test-dev, which is state-of-the-art among various object detectors.Code is available at https://github.com/hyz-xmaster/VarifocalNet .

View on arXivView PDF

Code Implementations(1)

Apache-2.0

VarifocalNet: An IoU-aware Dense Object Detector

36051Shell, PythonAug 28, 20205 years agoApache-2.0
dense-object-detectionfocal-lossmscocoobject-detectionvarifocal-loss+1 more

Similar Papers

Cite this paper

@article{zhang2020varifocalnet,
  title  = {VarifocalNet: An IoU-aware Dense Object Detector},
  author = {Haoyang Zhang and Ying Wang and Feras Dayoub and Niko Sünderhauf},
  year   = {2020},
  eprint = {2008.13367},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2008.13367}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2008.13367.svg)](https://codeofpaper.com/paper/2008.13367)

Discussion