mlsanityData to 14 Oct 2026

Bucketed Ranking-based Losses for Efficient Training of Object Detectors

arXiv 2407.14204 ↗First posted 19 Jul 2024cs.CVcited by 3

Not on the map. Why?

Abstract (arXiv)

Ranking-based loss functions, such as Average Precision Loss and Rank&Sort Loss, outperform widely used score-based losses in object detection. These loss functions better align with the evaluation criteria, have fewer hyperparameters, and offer robustness against the imbalance between positive and negative classes. However, they require pairwise comparisons among P positive and N negative predictions, introducing a time complexity of O(PN), which is prohibitive since N is often large (e.g., 108 in ATSS). Despite their advantages, the widespread adoption of ranking-based losses has been hindered by their high time and space complexities. In this paper, we focus on improving the efficiency of ranking-based loss functions. To this end, we propose Bucketed Ranking-based Losses which group negative predictions into B buckets (B ll N) in order to reduce the number of pairwise comparisons so that time complexity can be reduced. Our method enhances the time complexity, reducing it to O(max (N log(N), P2)). To validate our method and show its generality, we conducted experiments on 2 different tasks, 3 different datasets, 7 different detectors. We show that Bucketed Ranking-based (BR) Losses yield the same accuracy with the unbucketed versions and provide 2× faster training on average. We also train, for the first time, transformer-based object detectors using ranking-based losses, thanks to the efficiency of our BR. When we train CoDETR, a state-of-the-art transformer-based object detector, using our BR Loss, we consistently outperform its original results over several different backbones. Code is available at https://github.com/blisgard/BucketedRankingBasedLosses

Key facts. Cited by 3 papers in the map (data through 14 Oct 2026). Builds on 33 of its 37 references that are in the map. First posted on arXiv 19 Jul 2024.

Builds on

33 of 37 references.

References · 33

  1. 2014Microsoft COCO: Common Objects in Contextcited by 17,608
  2. 2021Swin Transformer: Hierarchical Vision Transformer using Shifted Windowscited by 12,139
  3. 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
  4. 2017Mask R-CNNcited by 7,277
  5. 2021Emerging Properties in Self-Supervised Vision Transformerscited by 6,968
  6. 2016The Cityscapes Dataset for Semantic Urban Scene Understandingcited by 4,444
  7. 2020Deformable DETR: Deformable Transformers for End-to-End Object Detectioncited by 3,422
  8. 2015SSD: Single Shot MultiBox Detectorcited by 3,130
  9. 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,368
  10. 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
  11. 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
  12. 2021Grounded Language-Image Pre-trainingcited by 1,156
21 more
  1. 2018CornerNet: Detecting Objects as Paired Keypointscited by 763
  2. 2016Training Region-based Object Detectors with Online Hard Example Miningcited by 579
  3. 2019Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selectioncited by 540
  4. 2020Sparse R-CNN: End-to-End Object Detection with Learnable Proposalscited by 495
  5. 2022DN-DETR: Accelerate DETR Training by Introducing Query DeNoisingcited by 488
  6. 2019Hybrid Task Cascade for Instance Segmentationcited by 481
  7. 2019Distance-IoU Loss: Faster and Better Learning for Bounding Box Regressioncited by 459
  8. 2022DETRs with Collaborative Hybrid Assignments Trainingcited by 274
  9. 2019Libra R-CNN: Towards Balanced Learning for Object Detectioncited by 255
  10. 2020Probabilistic Anchor Assignment with IoU Prediction for Object Detectioncited by 150
  11. 2019Imbalance Problems in Object Detection: A Reviewcited by 118
  12. 2020Smooth-AP: Smoothing the Path Towards Large-Scale Image Retrievalcited by 98
  13. 2019FreeAnchor: Learning to Match Anchors for Visual Object Detectioncited by 90
  14. 2019Towards Accurate One-Stage Object Detection with AP-Losscited by 36
  15. 2020A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object Detectioncited by 25
  16. 2019DR Loss: Improving Object Detection by Distributional Rankingcited by 24
  17. 2020AP-Loss for Accurate One-Stage Object Detectioncited by 24
  18. 2021Rank & Sort Loss for Object Detection and Instance Segmentationcited by 22
  19. 2016Efficient Optimization for Rank-based Loss Functionscited by 15
  20. 2020UP-DETR: Unsupervised Pre-training for Object Detection with Transformerscited by 7
  21. 2021Mask-aware IoU for Anchor Assignment in Real-time Instance Segmentationcited by 5

Built on by

Cited by year

Citing papers per year: 2025: 3.

3 papers.