Lune

CVPR2022Top-tier venue

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 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.

4 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • Reconciling Object-Level and Global-Level Objectives for Long-Tail Detection cites Rank & Sort Loss for Object Detection and Instance Segmentation
  • Rank & Sort Loss for Object Detection and Instance Segmentation cites FCOS: Fully Convolutional One-Stage Object Detection
  • Rank & Sort Loss for Object Detection and Instance Segmentation cites Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection
  • Rank & Sort Loss for Object Detection and Instance Segmentation cites YOLACT: Real-Time Instance Segmentation
  • RARE: Learn to RAnk and REtrieve for Monocular 3D Object Detection cites Rank & Sort Loss for Object Detection and Instance Segmentation
  • Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
  • VoxDet: Rethinking 3D Semantic Scene Completion as Dense Object Detection cites FCOS: Fully Convolutional One-Stage Object Detection
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers4

  1. Reconciling Object-Level and Global-Level Objectives for Long-Tail DetectionShaoyu Zhang, Chen Chen, Silong PengICCV 2023 · 9 citations
  2. VoxDet: Rethinking 3D Semantic Scene Completion as Dense Object DetectionWuyang Li, Zhu Yu, Alexandre AlahiNeurIPS 2025 · 3 citations
  3. RARE: Learn to RAnk and REtrieve for Monocular 3D Object DetectionHyeonjeong Park, Peixi Xiong, Xiaoqian Ruan, Dian Jia et al.CVPR 2026
  4. 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

  1. FCOS: Fully Convolutional One-Stage Object DetectionZhi Tian, Chunhua Shen, Hao Chen, Tong HeICCV 2019 · 6,042 citations
  2. 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
  3. YOLACT: Real-Time Instance SegmentationDaniel Bolya, Chong Zhou, Fanyi Xiao, Yong Jae LeeICCV 2019 · 2,075 citations
  4. Learning to Rank Proposals for Object DetectionZhiyu Tan, Xuecheng Nie, Qi Qian, Nan Li et al.ICCV 2019 · 53 citations
  5. Rank & Sort Loss for Object Detection and Instance SegmentationKemal Oksuz, Baris Can Cam, Emre Akbas, Sinan KalkanICCV 2021 · 49 citations

Related papers

  1. A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object DetectionKemal Oksuz, Baris Can Cam, Emre Akbas, Sinan KalkanNeurIPS 2020 · 48 citations
  2. Searching Parameterized AP Loss for Object DetectionChenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang et al.NeurIPS 2021 · 6 citations
  3. Correlation Loss: Enforcing Correlation between Classification and LocalizationFehmi Kahraman, Kemal Oksuz, Sinan Kalkan, Emre AkbasAAAI 2023 · 10 citations
  4. RankDetNet: Delving Into Ranking Constraints for Object DetectionJi Liu, Dong Li, Rongzhang Zheng, Lu Tian et al.CVPR 2021
  5. Adaptive Sparse Pairwise Loss for Object Re-IdentificationXiao Zhou, Yujie Zhong, Zhen Cheng, Fan Liang et al.CVPR 2023
Dusk over the sea between two cliffs drawn in fine vertical lines