Optimization of Rank Losses for Image Retrieval

09/15/2023
by   Elias Ramzi, et al.
0

In image retrieval, standard evaluation metrics rely on score ranking, 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 ℋ-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.

READ FULL TEXT

page 1

page 2

page 7

page 11

page 12

page 16

page 20

research
10/01/2021

Robust and Decomposable Average Precision for Image Retrieval

In image retrieval, standard evaluation metrics rely on score ranking, e...
research
07/05/2022

Hierarchical Average Precision Training for Pertinent Image Retrieval

Image Retrieval is commonly evaluated with Average Precision (AP) or Rec...
research
12/07/2019

Optimizing Rank-based Metrics with Blackbox Differentiation

Rank-based metrics are some of the most widely used criteria for perform...
research
05/23/2017

Hashing as Tie-Aware Learning to Rank

Hashing, or learning binary embeddings of data, is frequently used in ne...
research
06/18/2019

Learning with Average Precision: Training Image Retrieval with a Listwise Loss

Image retrieval can be formulated as a ranking problem where the goal is...
research
09/06/2022

Segment Augmentation and Differentiable Ranking for Logo Retrieval

Logo retrieval is a challenging problem since the definition of similari...
research
07/27/2020

A Unified Framework of Surrogate Loss by Refactoring and Interpolation

We introduce UniLoss, a unified framework to generate surrogate losses f...

Please sign up or login with your details

Forgot password? Click here to reset