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
Abstract
Optimising 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 on the hard positive instances by assigning larger gradients to them and tries to make all relevant instances closer. In contrast, PNP-D pays less attention to such instances and slowly corrects them. For most real-world data, one class usually contains several local clusters. PNP-I blindly gathers these clusters while PNP-D keeps them as they were. Therefore, PNP-D is more superior. Experiments on three standard retrieval datasets show consistent results with the above analysis. Extensive evaluations demonstrate that PNP-D achieves the state-of-the-art performance. Code is available at https://github.com/interestingzhuo/PNPloss
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.
1 top-tier paper has 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
- Proxy Synthesis: Learning with Synthetic Classes for Deep Metric Learning cites SoftTriple Loss: Deep Metric Learning Without Triplet Sampling
- Proxy Synthesis: Learning with Synthetic Classes for Deep Metric Learning cites Revisiting Training Strategies and Generalization Performance in Deep Metric Learning
- Revisiting Training Strategies and Generalization Performance in Deep Metric Learning cites SoftTriple Loss: Deep Metric Learning Without Triplet Sampling
- Exploring the Algorithm-Dependent Generalization of AUPRC Optimization with List Stability cites Learning With Average Precision: Training Image Retrieval With a Listwise Loss
Cited by top-tier papers1
Builds on10
- 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
- SoftTriple Loss: Deep Metric Learning Without Triplet SamplingQi Qian, Lei Shang, Baigui Sun, Juhua Hu et al.ICCV 2019 · 419 citations
- Revisiting Training Strategies and Generalization Performance in Deep Metric LearningKarsten Roth, Timo Milbich, Samarth Sinha, Prateek Gupta et al.ICML 2020 · 187 citations
- MIC: Mining Interclass Characteristics for Improved Metric LearningBiagio Brattoli, Karsten Roth, Björn OmmerICCV 2019 · 100 citations
- Proxy Synthesis: Learning with Synthetic Classes for Deep Metric LearningGeonmo Gu, ByungSoo Ko, Han-Gyu KimAAAI 2021 · 44 citations
Related papers
- Revisiting AP Loss for Dense Object Detection: Adaptive Ranking Pair SelectionDongli Xu, Jinhong Deng, Wen LiCVPR 2022 · 9 citations
- A Ranking-based, Balanced Loss Function Unifying Classification and Localisation in Object DetectionKemal Oksuz, Baris Can Cam, Emre Akbas, Sinan KalkanNeurIPS 2020 · 48 citations
- Searching Parameterized AP Loss for Object DetectionChenxin Tao, Zizhang Li, Xizhou Zhu, Gao Huang et al.NeurIPS 2021 · 6 citations
- Not All Pairs are Equal: Hierarchical Learning for Average-Precision-Oriented Video RetrievalYang Liu, Qianqian Xu, Peisong Wen, Siran Dai et al.ACM MM 2024 · 9 citations
- Maximization of Average Precision for Deep Learning with Adversarial Ranking RobustnessGang Li, Wei Tong, Tianbao YangNeurIPS 2023 · 1 citation
