Rethinking the Optimization of Average Precision: Only Penalizing Negative Instances before Positive Ones is Enough
Zhuo Li, Weiqing Min, Jiajun Song, Yaohui Zhu, Liping Kang, Xiaoming, Wei, Xiaolin Wei, Shuqiang Jiang

TL;DR
This paper introduces a novel loss function, PNP-D, that focuses on penalizing negative instances before positive ones to optimize Average Precision more effectively, achieving state-of-the-art results in image retrieval.
Contribution
The paper proposes the PNP loss, emphasizing negative instances before positives, and systematically investigates gradient assignment strategies, with PNP-D outperforming existing methods.
Findings
PNP-D achieves state-of-the-art performance on retrieval datasets.
Focusing on negative instances before positives improves AP optimization.
Different gradient strategies influence the clustering of relevant instances.
Abstract
Optimizing the approximation of Average Precision (AP) has been widely studied for image retrieval. Limited by the definition of AP, such methods consider both negative and positive instances ranking before each positive instance. However, we claim that only penalizing negative instances before positive ones is enough, because the loss only comes from these negative instances. To this end, we propose a novel loss, namely Penalizing Negative instances before Positive ones (PNP), which can directly minimize the number of negative instances before each positive one. In addition, AP-based methods adopt a fixed and sub-optimal gradient assignment strategy. Therefore, 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. PNP-I focuses more…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
Taxonomy
TopicsAdvanced Image and Video Retrieval Techniques · Image Retrieval and Classification Techniques · Domain Adaptation and Few-Shot Learning
