Prime Sample Attention in Object Detection

Yuhang Cao, Kai Chen, Chen Change Loy, Dahua Lin
4/9/2019
cs.CV

Official code: open-mmlab/mmdetection (33,063 stars, Python, Apache-2.0, PyTorch, last commit 2024-08-21).

Abstract

It is a common paradigm in object detection frameworks to treat all samples equally and target at maximizing the performance on average. In this work, we revisit this paradigm through a careful study on how different samples contribute to the overall performance measured in terms of mAP.

Show full abstract

Our study suggests that the samples in each mini-batch are neither independent nor equally important, and therefore a better classifier on average does not necessarily mean higher mAP. Motivated by this study, we propose the notion of Prime Samples, those that play a key role in driving the detection performance. We further develop a simple yet effective sampling and learning strategy called PrIme Sample Attention (PISA) that directs the focus of the training process towards such samples. Our experiments demonstrate that it is often more effective to focus on prime samples than hard samples when training a detector. Particularly, On the MSCOCO dataset, PISA outperforms the random sampling baseline and hard mining schemes, e.g., OHEM and Focal Loss, consistently by around 2% on both single-stage and two-stage detectors, even with a strong backbone ResNeXt-101.

View on arXivView PDF

Code Implementations(1)

PyTorchApache-2.0

OpenMMLab Detection Toolbox and Benchmark

33,0639,833Python, ShellAug 22, 20182 years agoApache-2.0
cascade-rcnnconvnextdetrfast-rcnnfaster-rcnn+15 more

Similar Papers

Cite this paper

@article{cao2019prime,
  title  = {Prime Sample Attention in Object Detection},
  author = {Yuhang Cao and Kai Chen and Chen Change Loy and Dahua Lin},
  year   = {2019},
  eprint = {1904.04821},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1904.04821}
}

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

Discussion