Optimizing Rank-Based Metrics With Blackbox Differentiation
Michal Rolínek, Vít Musil, Anselm Paulus, Marin Vlastelica P., Claudio Michaelis, Georg Martius
Abstract
Rank-based metrics are some of the most widely used criteria for performance evaluation of computer vision models. Despite years of effort, direct optimization for these metrics remains a challenge due to their non-differentiable and nondecomposable nature. We present an efficient, theoretically sound, and general method for differentiating rank-based metrics with mini-batch gradient descent. In addition, we address optimization instability and sparsity of the supervision signal that both arise from using rank-based metrics as optimization targets. Resulting losses based on recall and Average Precision are applied to image retrieval and object detection tasks. We obtain performance that is competitive with state-of-the-art on standard image retrieval datasets and consistently improve performance of near state-of-theart object detectors.
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.
34 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
- Learning with Differentiable Pertubed Optimizers cites Differentiation of Blackbox Combinatorial Solvers
- Learning with Differentiable Pertubed Optimizers cites Fast Differentiable Sorting and Ranking
- LVM-Med: Learning Large-Scale Self-Supervised Vision Models for Medical Imaging via Second-order Graph Matching cites Differentiation of Blackbox Combinatorial Solvers
Cited by top-tier papers34
- Fast Differentiable Sorting and RankingMathieu Blondel, Olivier Teboul, Quentin Berthet, Josip DjolongaICML 2020 · 285 citations
- Learning with Differentiable Pertubed OptimizersQuentin Berthet, Mathieu Blondel, Olivier Teboul, Marco Cuturi et al.NeurIPS 2020 · 181 citations
- LVM-Med: Learning Large-Scale Self-Supervised Vision Models for Medical Imaging via Second-order Graph MatchingDuy M. H. Nguyen, Hoang Nguyen, Nghiem Tuong Diep, Tan Ngoc Pham et al.NeurIPS 2023 · 107 citations
- Ordered Subgraph Aggregation NetworksChendi Qian, Gaurav Rattan, Floris Geerts, Mathias Niepert et al.NeurIPS 2022 · 81 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
Builds on2
- Learning With Average Precision: Training Image Retrieval With a Listwise LossJérôme Revaud, Jon Almazán, Rafael S. Rezende, César Roberto de SouzaICCV 2019 · 424 citations
- Differentiation of Blackbox Combinatorial SolversMarin Vlastelica Pogancic, Anselm Paulus, Vít Musil, Georg Martius et al.ICLR 2020 · 341 citations
Related papers
- MetricOpt: Learning To Optimize Black-Box Evaluation MetricsChen Huang, Shuangfei Zhai, Pengsheng Guo, Josh M. SusskindCVPR 2021
- Robust and Decomposable Average Precision for Image RetrievalElias Ramzi, Nicolas Thome, Clément Rambour, Nicolas Audebert et al.NeurIPS 2021 · 40 citations
- Relational Surrogate Loss LearningTao Huang, Zekang Li, Hua Lu, Yong Shan et al.ICLR 2022 · 5 citations
- Recall@k Surrogate Loss with Large Batches and Similarity MixupYash Patel, Giorgos Tolias, Jirí MatasCVPR 2022 · 40 citations
- Searching Parameterized AP Loss for Object DetectionChenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang et al.NeurIPS 2021 · 6 citations
