A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object Detection

Kemal Oksuz, Baris Can Cam, Emre Akbas, Sinan Kalkan
9/28/2020
cs.CV

Official code: kemaloksuz/aLRPLoss (137 stars, Apache-2.0, last commit 2020-12-17).

Abstract

We propose average Localisation-Recall-Precision (aLRP), a unified, bounded, balanced and ranking-based loss function for both classification and localisation tasks in object detection. aLRP extends the Localisation-Recall-Precision (LRP) performance metric (Oksuz et al., 2018) inspired from how Average Precision (AP) Loss extends precision to a ranking-based loss function for classification (Chen et al., 2020). aLRP has the following distinct advantages: (i) aLRP is the first ranking-based loss function for both classification and localisation tasks. (ii) Thanks to using ranking for both tasks, aLRP naturally enforces high-quality localisation for high-precision classification. (iii) aLRP provides provable balance between positives and negatives. (iv) Compared to on average $\sim$6 hyperparameters in the loss functions of state-of-the-art detectors, aLRP Loss has only one hyperparameter, which we did not tune in practice. On the COCO dataset, aLRP Loss improves its ranking-based predecessor, AP Loss, up to around $5$ AP points, achieves $48.9$ AP without test time augmentation and outperforms all one-stage detectors. Code available at: https://github.com/kemaloksuz/aLRPLoss .

View on arXivView PDF

Code Implementations(1)

Apache-2.0

Official PyTorch Implementation of aLRP Loss [NeurIPS2020]

13719C++, CudaSep 27, 20205 years agoApache-2.0

Similar Papers

Cite this paper

@article{oksuz2020rankingbased,
  title  = {A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object Detection},
  author = {Kemal Oksuz and Baris Can Cam and Emre Akbas and Sinan Kalkan},
  year   = {2020},
  eprint = {2009.13592},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2009.13592}
}

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

Discussion