Skip to main content
QUICK REVIEW

[Paper Review] Query-adaptive Image Retrieval by Deep Weighted Hashing

Jian Zhang, Yuxin Peng|arXiv (Cornell University)|Dec 8, 2016
Advanced Image and Video Retrieval TechniquesComputer Science41 references4 citations
TL;DR

This paper proposes Query-adaptive Deep Weighted Hashing (QaDWH), a novel deep hashing method that learns class-wise hash bit weights and dynamically generates query-adaptive weights to enable fine-grained image retrieval via weighted Hamming distance. The approach outperforms eight state-of-the-art methods on four benchmark datasets by improving retrieval accuracy with only a marginal increase in inference time.

ABSTRACT

Hashing methods have attracted much attention for large scale image retrieval. Some deep hashing methods have achieved promising results by taking advantage of the strong representation power of deep networks recently. However, existing deep hashing methods treat all hash bits equally. On one hand, a large number of images share the same distance to a query image due to the discrete Hamming distance, which raises a critical issue of image retrieval where fine-grained rankings are very important. On the other hand, different hash bits actually contribute to the image retrieval differently, and treating them equally greatly affects the retrieval accuracy of image. To address the above two problems, we propose the query-adaptive deep weighted hashing (QaDWH) approach, which can perform fine-grained ranking for different queries by weighted Hamming distance. First, a novel deep hashing network is proposed to learn the hash codes and corresponding class-wise weights jointly, so that the learned weights can reflect the importance of different hash bits for different image classes. Second, a query-adaptive image retrieval method is proposed, which rapidly generates hash bit weights for different query images by fusing its semantic probability and the learned class-wise weights. Fine-grained image retrieval is then performed by the weighted Hamming distance, which can provide more accurate ranking than the traditional Hamming distance. Experiments on four widely used datasets show that the proposed approach outperforms eight state-of-the-art hashing methods.

Motivation & Objective

  • To address the limitation of traditional hashing methods that treat all hash bits equally, leading to poor ranking precision due to discrete Hamming distances.
  • To improve image retrieval accuracy by learning class-wise hash bit weights that reflect the semantic importance of different bits for different image categories.
  • To enable fine-grained ranking by dynamically generating query-adaptive weights based on query semantics and learned class-wise weights.
  • To achieve high retrieval accuracy with acceptable computational overhead, maintaining efficiency for large-scale applications.

Proposed method

  • A two-stream deep neural network is designed: one stream learns compact hash codes and corresponding class-wise bit weights, while the other stream preserves semantic information to guide learning.
  • Class-wise weights are learned during training to reflect the varying importance of different hash bits across image classes.
  • Query-adaptive weights are generated at inference time by fusing the query’s predicted semantic probability distribution with the learned class-wise weights via matrix multiplication.
  • Image retrieval is performed using weighted Hamming distance, which provides finer-grained ranking than standard Hamming distance.
  • The framework is end-to-end trainable and jointly optimizes for hash code quality, semantic preservation, and bit weight relevance.
  • The method is evaluated on four large-scale datasets using standard metrics including mean average precision (mAP).

Experimental results

Research questions

  • RQ1Can learning class-wise hash bit weights improve retrieval accuracy compared to treating all bits equally?
  • RQ2Can query-adaptive weights generated from query semantics and class-wise weights further enhance ranking precision?
  • RQ3How does the proposed QaDWH method compare in accuracy and efficiency to state-of-the-art deep and traditional hashing methods?
  • RQ4Does the integration of semantic probability and learned weights lead to more effective weighted Hamming distance computation?

Key findings

  • QaDWH achieves state-of-the-art performance on four widely used datasets: CIFAR10, NUS-WIDE, MIRFLICKR, and ImageNet.
  • The method outperforms eight state-of-the-art hashing methods in terms of mean average precision (mAP), demonstrating superior retrieval accuracy.
  • The baseline DWH (using fixed class-wise weights) significantly outperforms NINH* (no weights), proving the value of learned bit weights.
  • QaDWH further improves over DWH on all datasets, confirming the effectiveness of query-adaptive weight generation.
  • The testing time of QaDWH is comparable to other deep hashing methods (under 10ms on ImageNet) and significantly faster than QRank, due to efficient matrix multiplication for weight generation.
  • The results show that weighted Hamming distance enables fine-grained ranking, resolving the issue of multiple images having identical Hamming distances to a query.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.