Revisiting AP Loss for Dense Object Detection: Adaptive Ranking Pair Selection
Dongli Xu, Jinhong Deng, Wen Li
Abstract
Average precision (AP) loss has recently shown promising performance on the dense object detection task. However, a deep understanding of how AP loss affects the detector from a pairwise ranking perspective has not yet been developed. In this work, we revisit the average precision (AP) loss and reveal that the crucial element is that of selecting the ranking pairs between positive and negative samples. Based on this observation, we propose two strategies to improve the AP loss. The first of these is a novel Adaptive Pairwise Error (APE) loss that focusing on ranking pairs in both positive and negative samples. Moreover, we select more accurate ranking pairs by exploiting the normalized ranking scores and localization scores with a clustering algorithm. Experiments conducted on the MS-COCO dataset support our analysis and demonstrate the superiority of our proposed method compared with current classification and ranking loss. The code is available at https://github.com/Xudangliatiger/APE-Loss .
Ask about this paper
Your agent reads all of it.
Lune indexed this paper to the last equation, along with the top-tier papers that cite it. Ask a question and the answer quotes them.
Your agent calls
Luneget_paper_fulltext
Free to start. No credit card required.
Terminal
Install the CLIlune papers fulltext 9257fa29-2d81-40d8-ae97-eb65857253d4Cited by top-tier papers4
- Reconciling Object-Level and Global-Level Objectives for Long-Tail DetectionShaoyu Zhang, Chen Chen, Silong PengICCV 2023 · 9 citations
- VoxDet: Rethinking 3D Semantic Scene Completion as Dense Object DetectionWuyang Li, Zhu Yu, Alexandre AlahiNeurIPS 2025 · 3 citations
- RARE: Learn to RAnk and REtrieve for Monocular 3D Object DetectionHyeonjeong Park, Peixi Xiong, Xiaoqian Ruan, Dian Jia et al.CVPR 2026
- MetaFusion: Infrared and Visible Image Fusion via Meta-Feature Embedding from Object DetectionWenda Zhao, Shigeng Xie, Fan Zhao, You He et al.CVPR 2023
Builds on15
- FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
- Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object DetectionXiang Li, Wenhai Wang, Lijun Wu, Shuo Chen et al.NeurIPS 2020 · 2,118 citations
- YOLACT: Real-Time Instance SegmentationDaniel Bolya, Chong Zhou, Fanyi Xiao, Yong Jae LeeICCV 2019 · 2,075 citations
- Learning to Rank Proposals for Object DetectionZhiyu Tan, Xuecheng Nie, Qi Qian, Nan Li et al.ICCV 2019 · 53 citations
- Rank & Sort Loss for Object Detection and Instance SegmentationKemal Oksuz, Baris Can Cam, Emre Akbas, Sinan KalkanICCV 2021 · 49 citations
Related papers
- A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object DetectionKemal Oksuz, Baris Can Cam, Emre Akbas, Sinan KalkanNeurIPS 2020 · 48 citations
- Searching Parameterized AP Loss for Object DetectionChenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang et al.NeurIPS 2021 · 6 citations
- Correlation Loss: Enforcing Correlation between Classification and LocalizationFehmi Kahraman, Kemal Oksuz, Sinan Kalkan, Emre AkbasAAAI 2023 · 10 citations
- RankDetNet: Delving Into Ranking Constraints for Object DetectionJi Liu, Dong Li, Rongzhang Zheng, Lu Tian et al.CVPR 2021
- Adaptive Sparse Pairwise Loss for Object Re-IdentificationXiao Zhou, Yujie Zhong, Zhen Cheng, Fan Liang et al.CVPR 2023
