HyperAIHyperAI

Command Palette

Search for a command to run...

5 months ago

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

Brown Andrew ; Xie Weidi ; Kalogeiton Vicky ; Zisserman Andrew

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

Abstract

Optimising a ranking-based metric, such as Average Precision (AP), isnotoriously challenging due to the fact that it is non-differentiable, andhence cannot be optimised directly using gradient-descent methods. To this end,we introduce an objective that optimises instead a smoothed approximation ofAP, coined Smooth-AP. Smooth-AP is a plug-and-play objective function thatallows for end-to-end training of deep networks with a simple and elegantimplementation. We also present an analysis for why directly optimising theranking based metric of AP offers benefits over other deep metric learninglosses. We apply Smooth-AP to standard retrieval benchmarks: Stanford Onlineproducts and VehicleID, and also evaluate on larger-scale datasets: INaturalistfor 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, especiallyfor larger-scale datasets, thus demonstrating the effectiveness and scalabilityof Smooth-AP to real-world scenarios.

Code Repositories

Benchmarks

BenchmarkMethodologyMetrics
image-retrieval-on-inaturalistSmooth-AP
R@1: 67.2
R@16: 90.3
R@32: 93.1
R@5: 81.8
image-retrieval-on-sopSmooth-AP
R@1: 80.1
vehicle-re-identification-on-vehicleid-largeSmooth-AP
Rank-1: 91.9
Rank-5: 96.2
vehicle-re-identification-on-vehicleid-mediumSmooth-AP
Rank-1: 93.3
Rank-5: 96.4
vehicle-re-identification-on-vehicleid-smallSmooth-AP
Rank-1: 94.9
Rank-5: 97.6

Build AI with AI

From idea to launch — accelerate your AI development with free AI co-coding, out-of-the-box environment and best price of GPUs.

AI Co-coding
Ready-to-use GPUs
Best Pricing
Get Started

Hyper Newsletters

Subscribe to our latest updates
We will deliver the latest updates of the week to your inbox at nine o'clock every Monday morning
Powered by MailChimp