Rethinking the Optimization of Average Precision: Only Penalizing Negative Instances before Positive Ones is Enough
Not on the map. Why?
Abstract (arXiv)
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 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
Key facts. Cited by 4 papers in the map (data through 7 Oct 2026). Builds on 31 of its 48 references that are in the map. First posted on arXiv 9 Feb 2021.
Builds on
31 of 48 references.
References · 31
- 2015Deep Residual Learning for Image Recognitioncited by 51,809
- 2014Adam: A Method for Stochastic Optimizationcited by 36,960
- 2015FaceNet: A Unified Embedding for Face Recognition and Clusteringcited by 2,833
- 2015NetVLAD: CNN architecture for weakly supervised place recognitioncited by 935
- 2017Fine-tuning CNN Image Retrieval with No Human Annotationcited by 497
- 2015Deep Metric Learning via Lifted Structured Feature Embeddingcited by 449
- 2020Circle Loss: A Unified Perspective of Pair Similarity Optimizationcited by 402
- 2017Sampling Matters in Deep Embedding Learningcited by 285
- 2017No Fuss Distance Metric Learning using Proxiescited by 225
- 2014Learning Fine-grained Image Similarity with Deep Rankingcited by 189
- 2019Learning with Average Precision: Training Image Retrieval with a Listwise Losscited by 184
- 2019SoftTriple Loss: Deep Metric Learning Without Triplet Samplingcited by 163
19 more
- 2016Deep Image Retrieval: Learning global representations for image searchcited by 147
- 2019Cross-Batch Memory for Embedding Learningcited by 130
- 2020ProxyNCA++: Revisiting and Revitalizing Proxy Neighborhood Component Analysiscited by 107
- 2020Revisiting Training Strategies and Generalization Performance in Deep Metric Learningcited by 99
- 2020Smooth-AP: Smoothing the Path Towards Large-Scale Image Retrievalcited by 98
- 2016CNN Image Retrieval Learns from BoW: Unsupervised Fine-Tuning with Hard Examplescited by 58
- 2019Optimizing Rank-based Metrics with Blackbox Differentiationcited by 58
- 2020Learning and aggregating deep local descriptors for instance-level recognitioncited by 54
- 2016Learning Deep Embeddings with Histogram Losscited by 52
- 2018Local Descriptors Optimized for Average Precisioncited by 43
- 2019MIC: Mining Interclass Characteristics for Improved Metric Learningcited by 41
- 2020DiVA: Diverse Visual Feature Aggregation for Deep Metric Learningcited by 40
- 2019Divide and Conquer the Embedding Space for Metric Learningcited by 39
- 2019SoDeep: a Sorting Deep net to learn ranking loss surrogatescited by 28
- 2017Hashing as Tie-Aware Learning to Rankcited by 18
- 2016Efficient Optimization for Rank-based Loss Functionscited by 15
- 2020Sharing Matters for Generalization in Deep Metric Learningcited by 15
- 2017Cross-Domain Image Retrieval with Attention Modelingcited by 14
- 2021Multi-level Distance Regularization for Deep Metric Learningcited by 6
Built on by
Citing papers per year: 2022: 1; 2023: 2; 2024: 1.
4 papers.
- 2023Optimization of Rank Losses for Image Retrievalcited by 10
- 2022Exploring the Algorithm-Dependent Generalization of AUPRC Optimization with List Stabilitycited by 8
- 2023X-ReID: Cross-Instance Transformer for Identity-Level Person Re-Identificationcited by 3
- 2024MARs: Multi-view Attention Regularizations for Patch-based Feature Recognition of Space Terraincited by 0
- 2024MARs: Multi-view Attention Regularizations for Patch-based Feature Recognition of Space Terrain7 Oct 2024
- 2023Optimization of Rank Losses for Image Retrieval15 Sep 2023
- 2023X-ReID: Cross-Instance Transformer for Identity-Level Person Re-Identification4 Feb 2023
- 2022Exploring the Algorithm-Dependent Generalization of AUPRC Optimization with List Stability27 Sep 2022