HyperAIHyperAI

Command Palette

Search for a command to run...

4 months ago

Efficient Image Retrieval via Decoupling Diffusion into Online and Offline Processing

Fan Yang; Ryota Hinami; Yusuke Matsui; Steven Ly; Shin'ichi Satoh

Efficient Image Retrieval via Decoupling Diffusion into Online and Offline Processing

Abstract

Diffusion is commonly used as a ranking or re-ranking method in retrieval tasks to achieve higher retrieval performance, and has attracted lots of attention in recent years. A downside to diffusion is that it performs slowly in comparison to the naive k-NN search, which causes a non-trivial online computational cost on large datasets. To overcome this weakness, we propose a novel diffusion technique in this paper. In our work, instead of applying diffusion to the query, we pre-compute the diffusion results of each element in the database, making the online search a simple linear combination on top of the k-NN search process. Our proposed method becomes 10~ times faster in terms of online search speed. Moreover, we propose to use late truncation instead of early truncation in previous works to achieve better retrieval performance.

Code Repositories

chjort/diffusion
pytorch
Mentioned in GitHub
fyang93/diffusion
Official
pytorch
Mentioned in GitHub

Benchmarks

BenchmarkMethodologyMetrics
image-retrieval-on-oxf105kOffline Diffusion
MAP: 95.2%
image-retrieval-on-oxf5kOffline Diffusion
MAP: 96.2%
image-retrieval-on-par106kOffline Diffusion
mAP: 96.2%
image-retrieval-on-par6kOffline Diffusion
mAP: 97.8%

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
Efficient Image Retrieval via Decoupling Diffusion into Online and Offline Processing | Papers | HyperAI