Our new X account is live! Follow @wizwand_team for updates
WorkDL logo mark

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

About

Optimising a ranking-based metric, such as Average Precision (AP), is notoriously challenging due to the fact that it is non-differentiable, and hence cannot be optimised directly using gradient-descent methods. To this end, we introduce an objective that optimises instead a smoothed approximation of AP, coined Smooth-AP. Smooth-AP is a plug-and-play objective function that allows for end-to-end training of deep networks with a simple and elegant implementation. We also present an analysis for why directly optimising the ranking based metric of AP offers benefits over other deep metric learning losses. We apply Smooth-AP to standard retrieval benchmarks: Stanford Online products and VehicleID, and also evaluate on larger-scale datasets: INaturalist for fine-grained category retrieval, and VGGFace2 and IJB-C for face retrieval. In all cases, we improve the performance over the state-of-the-art, especially for larger-scale datasets, thus demonstrating the effectiveness and scalability of Smooth-AP to real-world scenarios.

Andrew Brown, Weidi Xie, Vicky Kalogeiton, Andrew Zisserman• 2020

Related benchmarks

TaskDatasetResultRank
Image RetrievalStanford Online Products (test)
Recall@180.1
220
Vehicle Re-identificationVehicleID (Small)
R-194.9
61
Image RetrievalSOP (test)
Recall@180.1
42
Vehicle RetrievalVehicleID (Small)
Recall@194.9
32
Image RetrievalVehicleID (Large)
Recall@191.9
28
Molecule ClassificationToxCast Task 12 (test)
AUPRC0.227
27
Molecule ClassificationTox21 Task 2 (test)
AUPRC62.1
27
Graph ClassificationHIV MoleculeNet (test)
AUPRC32.76
27
Graph ClassificationMUV MoleculeNet (test)
AUPRC0.73
27
Image RetrievalStanford Online Products (SOP) standard (test)
Recall@180.1
27
Showing 10 of 28 rows

Other info

Code

Follow for update