Rank & Sort Loss for Object Detection and Instance Segmentation
Not on the map. Why?
Abstract (arXiv)
We propose Rank & Sort (RS) Loss, a ranking-based loss function to train deep object detection and instance segmentation methods (i.e. visual detectors). RS Loss supervises the classifier, a sub-network of these methods, to rank each positive above all negatives as well as to sort positives among themselves with respect to (wrt.) their localisation qualities (e.g. Intersection-over-Union - IoU). To tackle the non-differentiable nature of ranking and sorting, we reformulate the incorporation of error-driven update with backpropagation as Identity Update, which enables us to model our novel sorting error among positives. With RS Loss, we significantly simplify training: (i) Thanks to our sorting objective, the positives are prioritized by the classifier without an additional auxiliary head (e.g. for centerness, IoU, mask-IoU), (ii) due to its ranking-based nature, RS Loss is robust to class imbalance, and thus, no sampling heuristic is required, and (iii) we address the multi-task nature of visual detectors using tuning-free task-balancing coefficients. Using RS Loss, we train seven diverse visual detectors only by tuning the learning rate, and show that it consistently outperforms baselines: e.g. our RS Loss improves (i) Faster R-CNN by ~ 3 box AP and aLRP Loss (ranking-based baseline) by ~ 2 box AP on COCO dataset, (ii) Mask R-CNN with repeat factor sampling (RFS) by 3.5 mask AP (~ 7 AP for rare classes) on LVIS dataset; and also outperforms all counterparts. Code is available at: https://github.com/kemaloksuz/RankSortLoss
Key facts. Cited by 22 papers in the map (data through 14 Oct 2026). Builds on 41 of its 47 references that are in the map. First posted on arXiv 24 Jul 2021.
Builds on
41 of 47 references.
References · 41
- 2014Microsoft COCO: Common Objects in Contextcited by 17,608
- 2015Faster R-CNN: Towards Real-Time Object Detection with Region Proposal Networkscited by 9,639
- 2017Mask R-CNNcited by 7,277
- 2016Feature Pyramid Networks for Object Detectioncited by 5,036
- 2015SSD: Single Shot MultiBox Detectorcited by 3,130
- 2019FCOS: Fully Convolutional One-Stage Object Detectioncited by 1,577
- 2019MMDetection: Open MMLab Detection Toolbox and Benchmarkcited by 1,385
- 2019Generalized Intersection over Union: A Metric and A Loss for Bounding Box Regressioncited by 1,368
- 2017Cascade R-CNN: Delving into High Quality Object Detectioncited by 1,276
- 2019LVIS: A Dataset for Large Vocabulary Instance Segmentationcited by 1,217
- 2017Focal Loss for Dense Object Detectioncited by 752
- 2018Deformable ConvNets v2: More Deformable, Better Resultscited by 670
29 more
- 2016Training Region-based Object Detectors with Online Hard Example Miningcited by 579
- 2019Bridging the Gap Between Anchor-based and Anchor-free Detection via Adaptive Training Sample Selectioncited by 540
- 2019Hybrid Task Cascade for Instance Segmentationcited by 481
- 2019YOLACT: Real-time Instance Segmentationcited by 443
- 2020Generalized Focal Loss: Learning Qualified and Distributed Bounding Boxes for Dense Object Detectioncited by 409
- 2019Mask Scoring R-CNNcited by 266
- 2019Libra R-CNN: Towards Balanced Learning for Object Detectioncited by 255
- 2019PolarMask: Single Shot Instance Segmentation with Polar Representationcited by 188
- 2018Acquisition of Localization Confidence for Accurate Object Detectioncited by 176
- 2019Scale-Aware Trident Networks for Object Detectioncited by 159
- 2020Overcoming Classifier Imbalance for Long-tail Object Detection with Balanced Group Softmaxcited by 152
- 2020Probabilistic Anchor Assignment with IoU Prediction for Object Detectioncited by 150
- 2020BlendMask: Top-Down Meets Bottom-Up for Instance Segmentationcited by 145
- 2018Bounding Box Regression with Uncertainty for Accurate Object Detectioncited by 143
- 2019CARAFE: Content-Aware ReAssembly of FEaturescited by 119
- 2019Imbalance Problems in Object Detection: A Reviewcited by 118
- 2021Deep Occlusion-Aware Instance Segmentation with Overlapping BiLayerscited by 104
- 2020Dynamic R-CNN: Towards High Quality Object Detection via Dynamic Trainingcited by 103
- 2019TensorMask: A Foundation for Dense Object Segmentationcited by 101
- 2020Equalization Loss v2: A New Gradient Balance Approach for Long-tailed Object Detectioncited by 99
- 2019Optimizing Rank-based Metrics with Blackbox Differentiationcited by 58
- 2020RepPoints V2: Verification Meets Regression for Object Detectioncited by 40
- 2018Localization Recall Precision (LRP): A New Performance Metric for Object Detectioncited by 31
- 2020CenterMask: single shot instance segmentation with point representationcited by 31
- 2020A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object Detectioncited by 25
- 2019DR Loss: Improving Object Detection by Distributional Rankingcited by 24
- 2020AP-Loss for Accurate One-Stage Object Detectioncited by 24
- 2021Loss Function Discovery for Object Detection via Convergence-Simulation Driven Searchcited by 20
- 2020One Metric to Measure them All: Localisation Recall Precision (LRP) for Evaluating Visual Detection Taskscited by 15
Built on by
Citing papers per year: 2021: 2; 2022: 4; 2023: 6; 2024: 5; 2025: 4; 2026: 1.
22 papers.
Sort:
By area:
- 2022YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectorscited by 982
- 2024YOLOv9: Learning What You Want to Learn Using Programmable Gradient Informationcited by 425
- 2025YOLOv12: Attention-Centric Real-Time Object Detectorscited by 305
- 2021Mask Transfiner for High-Quality Instance Segmentationcited by 64
- 2023Rank-DETR for High Quality Object Detectioncited by 50
- 2024A Systematic Review on Long-Tailed Learningcited by 28
- 2023Towards Building Self-Aware Object Detectors via Reliable Uncertainty Quantification and Calibrationcited by 19
- 2024RankED: Addressing Imbalance and Uncertainty in Edge Detection Using Ranking-based Lossescited by 19
- 2022Learning Equivariant Segmentation with Instance-Unique Queryingcited by 17
- 2023MoCaE: Mixture of Calibrated Experts Significantly Improves Object Detectioncited by 17
- 2022STC: Spatio-Temporal Contrastive Learning for Video Instance Segmentationcited by 13
- 2023Long-tail Detection with Effective Class-Marginscited by 13
10 more
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
- 2021Mask-aware IoU for Anchor Assignment in Real-time Instance Segmentationcited by 5
- 2022Revisiting AP Loss for Dense Object Detection: Adaptive Ranking Pair Selectioncited by 4
- 2023Correlation Loss: Enforcing Correlation between Classification and Localizationcited by 4
- 2024Bucketed Ranking-based Losses for Efficient Training of Object Detectorscited by 3
- 2025QAMRO: Quality-aware Adaptive Margin Ranking Optimization for Human-aligned Assessment of Audio Generation Systemscited by 3
- 2025Improving Transformer Based Line Segment Detection with Matched Predicting and Re-rankingcited by 1
- 2023Generalized Mask-aware IoU for Anchor Assignment for Real-time Instance Segmentationcited by 0
- 2025Pixel-level Quality Assessment for Oriented Object Detectioncited by 0
- 2026A Systematic Comparison of Training Objectives for Out-of-Distribution Detection in Image Classificationcited by 0
- 2026A Systematic Comparison of Training Objectives for Out-of-Distribution Detection in Image Classification8 Mar 2026
- 2025Pixel-level Quality Assessment for Oriented Object Detection11 Nov 2025
- 2025QAMRO: Quality-aware Adaptive Margin Ranking Optimization for Human-aligned Assessment of Audio Generation Systems12 Aug 2025
- 2025Improving Transformer Based Line Segment Detection with Matched Predicting and Re-ranking25 Feb 2025
- 2025YOLOv12: Attention-Centric Real-Time Object Detectors18 Feb 2025
- 2024A Systematic Review on Long-Tailed Learning1 Aug 2024
- 2024Bucketed Ranking-based Losses for Efficient Training of Object Detectors19 Jul 2024
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselines30 May 2024
- 2024RankED: Addressing Imbalance and Uncertainty in Edge Detection Using Ranking-based Losses4 Mar 2024
- 2024YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information21 Feb 2024
- 2023Generalized Mask-aware IoU for Anchor Assignment for Real-time Instance Segmentation28 Dec 2023
- 2023Rank-DETR for High Quality Object Detection13 Oct 2023
10 more
- 2023MoCaE: Mixture of Calibrated Experts Significantly Improves Object Detection26 Sep 2023
- 2023Towards Building Self-Aware Object Detectors via Reliable Uncertainty Quantification and Calibration3 Jul 2023
- 2023Long-tail Detection with Effective Class-Margins23 Jan 2023
- 2023Correlation Loss: Enforcing Correlation between Classification and Localization3 Jan 2023
- 2022Learning Equivariant Segmentation with Instance-Unique Querying3 Oct 2022
- 2022Revisiting AP Loss for Dense Object Detection: Adaptive Ranking Pair Selection25 Jul 2022
- 2022YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectors6 Jul 2022
- 2022STC: Spatio-Temporal Contrastive Learning for Video Instance Segmentation8 Feb 2022
- 2021Mask Transfiner for High-Quality Instance Segmentation26 Nov 2021
- 2021Mask-aware IoU for Anchor Assignment in Real-time Instance Segmentation19 Oct 2021
- 2022YOLOv7: Trainable bag-of-freebies sets new state-of-the-art for real-time object detectorscited by 982
- 2024YOLOv9: Learning What You Want to Learn Using Programmable Gradient Informationcited by 425
- 2025YOLOv12: Attention-Centric Real-Time Object Detectorscited by 305
- 2021Mask Transfiner for High-Quality Instance Segmentationcited by 64
- 2023Rank-DETR for High Quality Object Detectioncited by 50
- 2024A Systematic Review on Long-Tailed Learningcited by 28
- 2023Towards Building Self-Aware Object Detectors via Reliable Uncertainty Quantification and Calibrationcited by 19
- 2024RankED: Addressing Imbalance and Uncertainty in Edge Detection Using Ranking-based Lossescited by 19
- 2022Learning Equivariant Segmentation with Instance-Unique Queryingcited by 17
- 2022STC: Spatio-Temporal Contrastive Learning for Video Instance Segmentationcited by 13
- 2023Long-tail Detection with Effective Class-Marginscited by 13
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselinescited by 11
12 most cited of 21 All 21 (JSON)
- 2026A Systematic Comparison of Training Objectives for Out-of-Distribution Detection in Image Classification8 Mar 2026
- 2025Pixel-level Quality Assessment for Oriented Object Detection11 Nov 2025
- 2025QAMRO: Quality-aware Adaptive Margin Ranking Optimization for Human-aligned Assessment of Audio Generation Systems12 Aug 2025
- 2025Improving Transformer Based Line Segment Detection with Matched Predicting and Re-ranking25 Feb 2025
- 2025YOLOv12: Attention-Centric Real-Time Object Detectors18 Feb 2025
- 2024A Systematic Review on Long-Tailed Learning1 Aug 2024
- 2024Bucketed Ranking-based Losses for Efficient Training of Object Detectors19 Jul 2024
- 2024On Calibration of Object Detectors: Pitfalls, Evaluation and Baselines30 May 2024
- 2024RankED: Addressing Imbalance and Uncertainty in Edge Detection Using Ranking-based Losses4 Mar 2024
- 2024YOLOv9: Learning What You Want to Learn Using Programmable Gradient Information21 Feb 2024
- 2023Generalized Mask-aware IoU for Anchor Assignment for Real-time Instance Segmentation28 Dec 2023
- 2023Rank-DETR for High Quality Object Detection13 Oct 2023
12 newest of 21 All 21 (JSON)