On Model Calibration for Long-Tailed Object Detection and Instance Segmentation

Tai-Yu Pan, Cheng Zhang, Yandong Li, Hexiang Hu, Dong Xuan +3 more
7/5/2021
cs.CVcs.AIcs.LG

Official code: tydpan/NorCal (30 stars, Python, Apache-2.0, last commit 2021-10-25).

Abstract

Vanilla models for object detection and instance segmentation suffer from the heavy bias toward detecting frequent objects in the long-tailed setting. Existing methods address this issue mostly during training, e.g., by re-sampling or re-weighting.

Show full abstract

In this paper, we investigate a largely overlooked approach -- post-processing calibration of confidence scores. We propose NorCal, Normalized Calibration for long-tailed object detection and instance segmentation, a simple and straightforward recipe that reweighs the predicted scores of each class by its training sample size. We show that separately handling the background class and normalizing the scores over classes for each proposal are keys to achieving superior performance. On the LVIS dataset, NorCal can effectively improve nearly all the baseline models not only on rare classes but also on common and frequent classes. Finally, we conduct extensive analysis and ablation studies to offer insights into various modeling choices and mechanisms of our approach. Our code is publicly available at https://github.com/tydpan/NorCal/.

View on arXivView PDF

Code Implementations(1)

tydpan/NorCalOfficial100%
Apache-2.0
301Python, CudaOct 25, 20215 years agoApache-2.0

Similar Papers

Cite this paper

@article{pan2021model,
  title  = {On Model Calibration for Long-Tailed Object Detection and Instance Segmentation},
  author = {Tai-Yu Pan and Cheng Zhang and Yandong Li and Hexiang Hu and Dong Xuan and Soravit Changpinyo and Boqing Gong and Wei-Lun Chao},
  year   = {2021},
  eprint = {2107.02170},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2107.02170}
}

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

Discussion