Optimization of Rank Losses for Image Retrieval
Not on the map. Why?
Abstract (arXiv)
In image retrieval, standard evaluation metrics rely on score ranking, eg average precision (AP), recall at k (R@k), normalized discounted cumulative gain (NDCG). In this work we introduce a general framework for robust and decomposable rank losses optimization. It addresses two major challenges for end-to-end training of deep neural networks with rank losses: non-differentiability and non-decomposability. Firstly we propose a general surrogate for ranking operator, SupRank, that is amenable to stochastic gradient descent. It provides an upperbound for rank losses and ensures robust training. Secondly, we use a simple yet effective loss function to reduce the decomposability gap between the averaged batch approximation of ranking losses and their values on the whole training set. We apply our framework to two standard metrics for image retrieval: AP and R@k. Additionally we apply our framework to hierarchical image retrieval. We introduce an extension of AP, the hierarchical average precision H-AP, and optimize it as well as the NDCG. Finally we create the first hierarchical landmarks retrieval dataset. We use a semi-automatic pipeline to create hierarchical labels, extending the large scale Google Landmarks v2 dataset. The hierarchical dataset is publicly available at https://github.com/cvdfoundation/google-landmark. Code will be released at https://github.com/elias-ramzi/SupRank.
Key facts. Cited by 10 papers in the map (data through 7 Oct 2026). Builds on 40 of its 87 references that are in the map. First posted on arXiv 15 Sep 2023.
Builds on
40 of 87 references.
References · 40
- 2021Learning Transferable Visual Models From Natural Language Supervisioncited by 33,456
- 2020An Image is Worth 16x16 Words: Transformers for Image Recognition at Scalecited by 29,915
- 2020Training data-efficient image transformers & distillation through attentioncited by 4,560
- 2018CosFace: Large Margin Cosine Loss for Deep Face Recognitioncited by 968
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2019Multi-Similarity Loss with General Pair Weighting for Deep Metric Learningcited by 368
- 2020Google Landmarks Dataset v2 -- A Large-Scale Benchmark for Instance-Level Recognition and Retrievalcited by 305
- 2017Sampling Matters in Deep Embedding Learningcited by 285
- 2017No Fuss Distance Metric Learning using Proxiescited by 225
- 2019Differentiation of Blackbox Combinatorial Solverscited by 224
- 2018Revisiting Oxford and Paris: Large-Scale Image Retrieval Benchmarkingcited by 189
- 2019Learning with Average Precision: Training Image Retrieval with a Listwise Losscited by 184
28 more
- 2019Cross-Batch Memory for Embedding Learningcited by 130
- 2016End-to-end Learning of Deep Visual Representations for Image Retrievalcited by 122
- 2013Introducing LETOR 4.0 Datasetscited by 120
- 2018Deep Metric Learning with Hierarchical Triplet Losscited by 112
- 2019Making Better Mistakes: Leveraging Class Hierarchies with Deep Networkscited by 112
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2020A unifying mutual information view of metric learning: cross-entropy vs. pairwise lossescited by 100
- 2020Smooth-AP: Smoothing the Path Towards Large-Scale Image Retrievalcited by 98
- 2017Smart Mining for Deep Metric Learningcited by 96
- 2021Training Vision Transformers for Image Retrievalcited by 90
- 2020Hard negative examples are hard, but usefulcited by 82
- 2016CNN Image Retrieval Learns from BoW: Unsupervised Fine-Tuning with Hard Examplescited by 58
- 2019Optimizing Rank-based Metrics with Blackbox Differentiationcited by 58
- 2016Learning Deep Embeddings with Histogram Losscited by 52
- 2021Recall@k Surrogate Loss with Large Batches and Similarity Mixupcited by 49
- 2020Hierarchical Image Classification using Entailment Cone Embeddingscited by 46
- 2018Local Descriptors Optimized for Average Precisioncited by 43
- 2020Fewer is More: A Deep Graph Metric Learning Perspective Using Fewer Proxiescited by 36
- 2018Cross-Modal Retrieval in the Cooking Context: Learning Semantic Text-Image Embeddingscited by 35
- 2019Metric Learning With HORDE: High-Order Regularizer for Deep Embeddingscited by 29
- 2019SoDeep: a Sorting Deep net to learn ranking loss surrogatescited by 28
- 2020Deep Metric Learning with Spherical Embeddingcited by 25
- 2021Robust and Decomposable Average Precision for Image Retrievalcited by 19
- 2017Hashing as Tie-Aware Learning to Rankcited by 18
- 2016Efficient Optimization for Rank-based Loss Functionscited by 15
- 2021Dynamic Metric Learning: Towards a Scalable Metric Space to Accommodate Multiple Semantic Scalescited by 11
- 2022Hierarchical Average Precision Training for Pertinent Image Retrievalcited by 8
- 2021Rethinking the Optimization of Average Precision: Only Penalizing Negative Instances before Positive Ones is Enoughcited by 4
Built on by
Citing papers per year: 2023: 1; 2024: 2; 2025: 3; 2026: 4.
10 papers.
- 2024MegaScenes: Scene-Level View Synthesis at Scalecited by 58
- 2025Taxonomy-Aware Evaluation of Vision-Language Modelscited by 11
- 2024Enhancing Knowledge Distillation of Large Language Models through Efficient Multi-Modal Distribution Alignmentcited by 10
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestrationcited by 5
- 2025Infusing fine-grained visual knowledge to Vision-Language Modelscited by 2
- 2026Cultural Counterfactuals: Evaluating Cultural Biases in Large Vision-Language Models with Counterfactual Examplescited by 2
- 2026Never Seen Before: Benchmarking Genuine Zero-Shot Composed Image Retrieval with Consistent Video-Sourced Datasetscited by 1
- 2025MMLANDMARKS: a Cross-View Instance-Level Benchmark for Geo-Spatial Understandingcited by 0
- 2026Are Video Generation Models Geographically Fair? An Attraction-Centric Evaluation of Global Visual Knowledgecited by 0
- 2026KnifeHunter: Structured Local Representation Learning for Fine-Grained Knife Image Retrieval in Law Enforcementcited by 0
- 2026KnifeHunter: Structured Local Representation Learning for Fine-Grained Knife Image Retrieval in Law Enforcement7 Aug 2026
- 2026Never Seen Before: Benchmarking Genuine Zero-Shot Composed Image Retrieval with Consistent Video-Sourced Datasets5 Jun 2026
- 2026Cultural Counterfactuals: Evaluating Cultural Biases in Large Vision-Language Models with Counterfactual Examples2 Mar 2026
- 2026Are Video Generation Models Geographically Fair? An Attraction-Centric Evaluation of Global Visual Knowledge26 Jan 2026
- 2025MMLANDMARKS: a Cross-View Instance-Level Benchmark for Geo-Spatial Understanding19 Dec 2025
- 2025Infusing fine-grained visual knowledge to Vision-Language Models16 Aug 2025
- 2025Taxonomy-Aware Evaluation of Vision-Language Models7 Apr 2025
- 2024Enhancing Knowledge Distillation of Large Language Models through Efficient Multi-Modal Distribution Alignment19 Sep 2024
- 2024MegaScenes: Scene-Level View Synthesis at Scale17 Jun 2024
- 2023Modyn: Data-Centric Machine Learning Pipeline Orchestration11 Dec 2023