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

Understanding Image Retrieval Re-Ranking: A Graph Neural Network Perspective

About

The re-ranking approach leverages high-confidence retrieved samples to refine retrieval results, which have been widely adopted as a post-processing tool for image retrieval tasks. However, we notice one main flaw of re-ranking, i.e., high computational complexity, which leads to an unaffordable time cost for real-world applications. In this paper, we revisit re-ranking and demonstrate that re-ranking can be reformulated as a high-parallelism Graph Neural Network (GNN) function. In particular, we divide the conventional re-ranking process into two phases, i.e., retrieving high-quality gallery samples and updating features. We argue that the first phase equals building the k-nearest neighbor graph, while the second phase can be viewed as spreading the message within the graph. In practice, GNN only needs to concern vertices with the connected edges. Since the graph is sparse, we can efficiently update the vertex features. On the Market-1501 dataset, we accelerate the re-ranking processing from 89.2s to 9.4ms with one K40m GPU, facilitating the real-time post-processing. Similarly, we observe that our method achieves comparable or even better retrieval results on the other four image retrieval benchmarks, i.e., VeRi-776, Oxford-5k, Paris-6k and University-1652, with limited time cost. Our code is publicly available.

Xuanmeng Zhang, Minyue Jiang, Zhedong Zheng, Xiao Tan, Errui Ding, Yi Yang• 2020

Related benchmarks

TaskDatasetResultRank
Person Re-IdentificationMarket1501 (test)
Rank-1 Accuracy96.11
1264
Vehicle Re-identificationVeRi-776 (test)
Rank-196.42
232
Drone-based Geo-localizationUniversity-1652 (test)
mAP0.7411
30
Landmark RetrievalOxford-5k (test)
mAP92.95
6
Landmark RetrievalParis-6k (test)
mAP96.21
6
Drone-based Geo-localizationUniversity-1652
Latency (ms)10.2
6
Landmark RetrievalOxford 5k
Inference Time (ms)3.2
6
Landmark RetrievalParis-6k
Latency (ms)3.5
6
Person Re-IdentificationMarket 1501
Inference Latency (ms)9.4
6
Vehicle Re-identificationVeRi-776
Inference Time (ms)5.2
6
Showing 10 of 10 rows

Other info

Code

Follow for update