Rethinking Ranking-based Loss Functions: Only Penalizing Negative Instances before Positive Ones is Enough

02/09/2021
by   Zhuo Li, et al.
0

Optimising the approximation of Average Precision (AP) has been widely studied for retrieval. Such methods consider both negative and positive instances before each target positive one according to the definition of AP. However, we argue that only penalizing negative instances before positive ones is enough, because the loss only comes from them. To this end, instead of following the AP-based loss, we propose a new loss, namely Penalizing Negative instances before Positive ones (PNP), which directly minimizes the number of negative instances before each positive one. Meanwhile, limited by the definition of AP, AP-based methods only adopt a specific gradient assignment strategy. We wonder whether there exists better ones. Instead, we systematically investigate different gradient assignment solutions via constructing derivative functions of the loss, resulting in PNP-I with increasing derivative functions and PNP-D with decreasing ones. Because of their gradient assignment strategies, PNP-I tries to make all the relevant instances together, while PNP-D only quickly corrects positive one with fewer negative instances before. Thus, PNP-D may be more suitable for real-world data, which usually contains several local clusters for one class. Extensive evaluations on three standard retrieval datasets also show that PNP-D achieves the state-of-the-art performance.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
09/06/2020

Smooth-AP: Smoothing the Path Towards Large-Scale Image Retrieval

Optimising a ranking-based metric, such as Average Precision (AP), is no...
research
07/25/2022

Revisiting AP Loss for Dense Object Detection: Adaptive Ranking Pair Selection

Average precision (AP) loss has recently shown promising performance on ...
research
10/01/2021

Robust and Decomposable Average Precision for Image Retrieval

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

AutoAssign: Differentiable Label Assignment for Dense Object Detection

In this paper, we propose an anchor-free object detector with a fully di...
research
04/30/2021

Negative 3D gadgets in origami extrusions with a supporting triangle on the back side

In our previous two papers, we studied (positive) 3D gadgets in origami ...
research
09/06/2022

Segment Augmentation and Differentiable Ranking for Logo Retrieval

Logo retrieval is a challenging problem since the definition of similari...

Please sign up or login with your details

Forgot password? Click here to reset