Skip to main content
QUICK REVIEW

[Paper Review] Asymmetric Deep Supervised Hashing

Qing-Yuan Jiang, Wu-Jun Li|arXiv (Cornell University)|Jul 26, 2017
Advanced Image and Video Retrieval TechniquesComputer Science30 references7 citations
TL;DR

This paper proposes Asymmetric Deep Supervised Hashing (ADSH), a novel deep learning method for large-scale approximate nearest neighbor search that treats query and database points asymmetrically—learning a deep hash function only for queries while directly optimizing binary codes for database points. This design enables significantly faster training and superior performance compared to symmetric deep hashing methods, achieving state-of-the-art accuracy on large-scale datasets like CIFAR-10 and NUS-WIDE.

ABSTRACT

Hashing has been widely used for large-scale approximate nearest neighbor search because of its storage and search efficiency. Recent work has found that deep supervised hashing can significantly outperform non-deep supervised hashing in many applications. However, most existing deep supervised hashing methods adopt a symmetric strategy to learn one deep hash function for both query points and database (retrieval) points. The training of these symmetric deep supervised hashing methods is typically time-consuming, which makes them hard to effectively utilize the supervised information for cases with large-scale database. In this paper, we propose a novel deep supervised hashing method, called asymmetric deep supervised hashing (ADSH), for large-scale nearest neighbor search. ADSH treats the query points and database points in an asymmetric way. More specifically, ADSH learns a deep hash function only for query points, while the hash codes for database points are directly learned. The training of ADSH is much more efficient than that of traditional symmetric deep supervised hashing methods. Experiments show that ADSH can achieve state-of-the-art performance in real applications.

Motivation & Objective

  • To address the high computational cost of symmetric deep supervised hashing methods that scale quadratically with database size.
  • To improve search accuracy by directly learning binary hash codes for database points instead of generating them via a learned hash function.
  • To enable efficient training on large-scale databases by avoiding the need to sample subsets for training.
  • To explore the effectiveness of asymmetric learning in deep supervised hashing, where query and database points are treated differently.
  • To achieve state-of-the-art performance in real-world applications with minimal training overhead.

Proposed method

  • ADSH employs an asymmetric architecture where a deep neural network is trained only for query points, while database points are assigned binary hash codes directly through optimization.
  • The method formulates the learning objective as a joint optimization of the deep neural network for queries and the binary codes for database points, using pairwise or triplet supervision.
  • It uses a bit-by-bit learning strategy to optimize the database hash codes, which is empirically shown to be more accurate than generating them via the query network.
  • The training cost is reduced from O(n²) to O(n) by decoupling the learning of query functions and database codes, enabling full-database training.
  • The method leverages supervised information (e.g., pairwise or triplet labels) to guide both the deep feature learning and the hash code optimization.
  • A margin-based loss function is used to ensure that similar samples are mapped to similar hash codes, improving retrieval accuracy.

Experimental results

Research questions

  • RQ1Can asymmetric learning in deep supervised hashing lead to faster training while maintaining or improving retrieval accuracy?
  • RQ2Does directly optimizing binary hash codes for database points yield better performance than generating them via a learned hash function?
  • RQ3Can ADSH effectively utilize the entire database for training without incurring prohibitive computational costs?
  • RQ4How does ADSH compare to symmetric deep hashing methods in terms of accuracy and training efficiency on large-scale datasets?
  • RQ5Is the asymmetric design a viable and superior alternative to symmetric deep hashing in real-world applications?

Key findings

  • ADSH achieves state-of-the-art mean average precision (MAP) on both CIFAR-10 and NUS-WIDE datasets, outperforming all baselines including DSH, DHN, and DPSH.
  • On CIFAR-10 with 48-bit codes, ADSH achieves a MAP of 0.9074, significantly higher than DPSH (0.8216) and DSH (0.7844).
  • On NUS-WIDE with 48-bit codes, ADSH achieves a MAP of 0.9074, surpassing the next best baseline (COSDISH-D at 0.8670).
  • ADSH trains up to 10 times faster than symmetric deep hashing baselines when using the full database, with training time increasing slowly with dataset size.
  • When using the entire NUS-WIDE database (10,500 samples), ADSH achieves higher accuracy in less than 10 hours, while symmetric methods require over 10 hours just to converge with a sampled subset.
  • The ablation study confirms that directly learning database codes (ADSH-D) is more accurate than generating them via the query network, validating the asymmetric design.

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.