Command Palette
Search for a command to run...
Efficient Image Retrieval via Decoupling Diffusion into Online and Offline Processing
Fan Yang; Ryota Hinami; Yusuke Matsui; Steven Ly; Shin'ichi Satoh

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
Benchmarks
| Benchmark | Methodology | Metrics |
|---|---|---|
| image-retrieval-on-oxf105k | Offline Diffusion | MAP: 95.2% |
| image-retrieval-on-oxf5k | Offline Diffusion | MAP: 96.2% |
| image-retrieval-on-par106k | Offline Diffusion | mAP: 96.2% |
| image-retrieval-on-par6k | Offline 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.