Skip to main content
QUICK REVIEW

[Paper Review] A Revisit on Deep Hashings for Large-scale Content Based Image Retrieval

Deng Cai, Xiuye Gu|arXiv (Cornell University)|Nov 16, 2017
Advanced Image and Video Retrieval TechniquesComputer Science28 references13 citations
TL;DR

This paper re-evaluates state-of-the-art deep hashing methods for large-scale content-based image retrieval using a realistic experimental setup, revealing that they underperform compared to a simple multi-table unsupervised hashing method (IsoH). The study identifies critical flaws in prior evaluations—neglecting search time, using small datasets, and omitting the multi-table optimization for traditional methods—leading to the conclusion that deep hashing methods do not consistently outperform well-tuned classical approaches under realistic conditions.

ABSTRACT

There is a growing trend in studying deep hashing methods for content-based image retrieval (CBIR), where hash functions and binary codes are learnt using deep convolutional neural networks and then the binary codes can be used to do approximate nearest neighbor (ANN) search. All the existing deep hashing papers report their methods' superior performance over the traditional hashing methods according to their experimental results. However, there are serious flaws in the evaluations of existing deep hashing papers: (1) The datasets they used are too small and simple to simulate the real CBIR situation. (2) They did not correctly include the search time in their evaluation criteria, while the search time is crucial in real CBIR systems. (3) The performance of some unsupervised hashing algorithms (e.g., LSH) can easily be boosted if one uses multiple hash tables, which is an important factor should be considered in the evaluation while most of the deep hashing papers failed to do so. We re-evaluate several state-of-the-art deep hashing methods with a carefully designed experimental setting. Empirical results reveal that the performance of these deep hashing methods are inferior to multi-table IsoH, a very simple unsupervised hashing method. Thus, the conclusions in all the deep hashing papers should be carefully re-examined.

Motivation & Objective

  • To challenge the widely held claim that deep hashing methods outperform traditional hashing in large-scale content-based image retrieval.
  • To identify and correct critical flaws in the evaluation protocols of existing deep hashing papers.
  • To establish a more realistic benchmark for comparing deep hashing and traditional hashing methods.
  • To demonstrate that search time and multi-table indexing significantly impact performance and must be included in evaluation.
  • To show that under realistic conditions, simple unsupervised methods like multi-table IsoH can surpass complex deep learning-based hashing approaches.

Proposed method

  • Re-evaluates three state-of-the-art deep hashing methods (DLBH, DNNH, and DCH) using the large-scale ImageNet dataset under a partially supervised setting.
  • Employs precision-time curves to measure both accuracy and efficiency, including the actual search time for retrieval.
  • Applies the multi-table trick to traditional hashing methods (LSH and IsoH), which significantly boosts their performance and provides a fair comparison.
  • Measures the locating time and scanning time separately to isolate the impact of code length on retrieval efficiency.
  • Uses a two-step retrieval pipeline: first locate candidate images via hash buckets based on Hamming distance, then re-rank using exact distance computation.
  • Analyzes the exponential growth in the number of hash buckets that must be accessed as code length increases, explaining the dramatic rise in locating time.

Experimental results

Research questions

  • RQ1Does the performance of deep hashing methods remain superior to traditional hashing methods when evaluated under realistic conditions?
  • RQ2How does the inclusion of search time affect the relative performance ranking of deep hashing and traditional hashing methods?
  • RQ3To what extent does the multi-table indexing trick improve the performance of traditional hashing algorithms like LSH and IsoH?
  • RQ4How does code length affect the trade-off between retrieval accuracy and search efficiency in deep hashing methods?
  • RQ5Why do deep hashing methods fail to outperform simple unsupervised hashing methods like IsoH in large-scale, complex datasets?

Key findings

  • The performance of deep hashing methods is inferior to multi-table IsoH when evaluated on the large-scale ImageNet dataset with proper search time measurement.
  • Multi-table IsoH significantly outperforms even the best deep hashing method (DLBH) in terms of precision at 100 retrieved samples.
  • As code length increases, the locating time for deep hashing methods increases almost exponentially, making longer codes impractical despite higher accuracy.
  • The precision of all hashing methods converges to the brute-force search upper bound on large and complex datasets, indicating a performance ceiling.
  • The inclusion of search time in evaluation reveals that longer code lengths in deep hashing lead to prohibitively long retrieval times, undermining their practical utility.
  • The study concludes that the claims of superiority in deep hashing papers are not robust and should be carefully re-examined under realistic benchmarks.

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.