A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object Detection
Kemal Oksuz, Baris Can Cam, Emre Akbas, Sinan Kalkan
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 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 AP points, achieves AP without test time augmentation and outperforms all one-stage detectors. Code available at: this https URL .
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
15 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Rank-DETR for High Quality Object Detection cites Rank & Sort Loss for Object Detection and Instance Segmentation
- Rank-DETR for High Quality Object Detection cites TOOD: Task-aligned One-stage Object Detection
- Rank-DETR for High Quality Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
- YOLOv12: Attention-Centric Real-Time Object Detectors cites Rank & Sort Loss for Object Detection and Instance Segmentation
- YOLOv12: Attention-Centric Real-Time Object Detectors cites TOOD: Task-aligned One-stage Object Detection
- Rank & Sort Loss for Object Detection and Instance Segmentation cites FCOS: Fully Convolutional One-Stage Object Detection
- TOOD: Task-aligned One-stage Object Detection cites CenterNet: Keypoint Triplets for Object Detection
- TOOD: Task-aligned One-stage Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
- Hierarchical Shot Detector cites FCOS: Fully Convolutional One-Stage Object Detection
Cited by top-tier papers15
- YOLOv12: Attention-Centric Real-Time Object DetectorsYunjie Tian, Qixiang Ye, David S. DoermannNeurIPS 2025 · 2,652 citations
- TOOD: Task-aligned One-stage Object DetectionChengjian Feng, Yujie Zhong, Yu Gao, Matthew R. Scott et al.ICCV 2021 · 1,191 citations
- Rank-DETR for High Quality Object DetectionYifan Pu, Weicong Liang, Yiduo Hao, Yuhui Yuan et al.NeurIPS 2023 · 138 citations
- Stochastic Optimization of Areas Under Precision-Recall Curves with Provable ConvergenceQi Qi, Youzhi Luo, Zhao Xu, Shuiwang Ji et al.NeurIPS 2021 · 73 citations
- Rank & Sort Loss for Object Detection and Instance SegmentationKemal Oksuz, Baris Can Cam, Emre Akbas, Sinan KalkanICCV 2021 · 49 citations
Builds on8
- FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
- CenterNet: Keypoint Triplets for Object DetectionKaiwen Duan, Song Bai, Lingxi Xie, Honggang Qi et al.ICCV 2019 · 3,348 citations
- Differentiation of Blackbox Combinatorial SolversMarin Vlastelica Pogancic, Anselm Paulus, Vít Musil, Georg Martius et al.ICLR 2020 · 341 citations
- Enriched Feature Guided Refinement Network for Object DetectionJing Nie, Rao Muhammad Anwer, Hisham Cholakkal, Fahad Shahbaz Khan et al.ICCV 2019 · 80 citations
- Hierarchical Shot DetectorJiale Cao, Yanwei Pang, Jungong Han, Xuelong LiICCV 2019 · 70 citations
Related papers
- Searching Parameterized AP Loss for Object DetectionChenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang et al.NeurIPS 2021 · 6 citations
- Revisiting AP Loss for Dense Object Detection: Adaptive Ranking Pair SelectionDongli Xu, Jinhong Deng, Wen LiCVPR 2022 · 9 citations
- RankDetNet: Delving Into Ranking Constraints for Object DetectionJi Liu, Dong Li, Rongzhang Zheng, Lu Tian et al.CVPR 2021
- Correlation Loss: Enforcing Correlation between Classification and LocalizationFehmi Kahraman, Kemal Oksuz, Sinan Kalkan, Emre AkbasAAAI 2023 · 10 citations
- Reconcile Prediction Consistency for Balanced Object DetectionKeyang Wang, Lei ZhangICCV 2021 · 36 citations
