Improvement of Classification in One-Stage Detector

Wu Kehe, Chen Zuge, Zhang Xiaoliang, Li Wei
11/20/2020
cs.CVcs.LG

Official code: chenzuge1/RetinaNet-Conf (1 star, Python, Apache-2.0, last commit 2020-12-15).

Abstract

RetinaNet proposed Focal Loss for classification task and improved one-stage detectors greatly. However, there is still a gap between it and two-stage detectors.

Show full abstract

We analyze the prediction of RetinaNet and find that the misalignment of classification and localization is the main factor. Most of predicted boxes, whose IoU with ground-truth boxes are greater than 0.5, while their classification scores are lower than 0.5, which shows that the classification task still needs to be optimized. In this paper we proposed an object confidence task for this problem, and it shares features with classification task. This task uses IoUs between samples and ground-truth boxes as targets, and it only uses losses of positive samples in training, which can increase loss weight of positive samples in classification task training. Also the joint of classification score and object confidence will be used to guide NMS. Our method can not only improve classification task, but also ease misalignment of classification and localization. To evaluate the effectiveness of this method, we show our experiments on MS COCO 2017 dataset. Without whistles and bells, our method can improve AP by 0.7% and 1.0% on COCO validation dataset with ResNet50 and ResNet101 respectively at same training configs, and it can achieve 38.4% AP with two times training time. Code is at: http://github.com/chenzuge1/RetinaNet-Conf.git.

View on arXivView PDF

Code Implementations(1)

Apache-2.0

We add an object confidence task, which shares features with classificaiton task. Based on MMdetection.

12Python, ShellOct 20, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{kehe2020improvement,
  title  = {Improvement of Classification in One-Stage Detector},
  author = {Wu Kehe and Chen Zuge and Zhang Xiaoliang and Li Wei},
  year   = {2020},
  eprint = {2011.10465},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2011.10465}
}

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/2011.10465.svg)](https://codeofpaper.com/paper/2011.10465)

Discussion