NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

A Deep Hashing Learning Network

Guoqiang Zhong, Pan Yang, Sijiang Wang, Junyu DongarXiv 2015

Introduction

In the era of big data, efficient image retrieval is a critical challenge. Traditional methods often rely on a two-step process: extracting hand-crafted features (such as GIST or Bag-of-Words) and then projecting these features into a binary hash space. However, these independent steps often fail to capture semantic similarities because the features are not optimized for the hashing task. This paper, published in 2015 by researchers at the Ocean University of China, proposes an end-to-end Deep Hashing Learning Network that simultaneously learns optimal image features and compact binary hash codes.

The Deep Hashing Architecture

The core innovation of this work lies in integrating feature extraction and hashing into a single supervised convolutional neural network (CNN). This unified approach allows the network to learn features that are specifically discriminative for the hashing task through standard backpropagation.

Architecture of the proposed Deep Hashing Learning Network.

The pipeline consists of several key components:

  • Convolutional Layers: Three layers of filters (32, 32, and 64 respectively) automatically learn visual patterns directly from raw pixels.
  • Hash Mapping Layer: A fully connected layer projects high-dimensional CNN features into the target bit-length (e.g., 16, 32, or 48 bits).
  • Sigmoid Quantization: A final sigmoid activation function is used to bound outputs between 0 and 1. The authors observed that during training, the network naturally pushes values toward the "tails" of the sigmoid curve (near 0 or 1), facilitating easy conversion to binary bits and minimizing quantization error.

Experimental Evaluation

The model was evaluated on the MNIST and CIFAR-10 datasets. While MNIST results reached near-perfection with a Mean Average Precision (mAP) exceeding 0.992, the most significant improvements were observed on the more complex CIFAR-10 dataset, which features high variance in background and object appearance.

Performance comparison on the CIFAR-10 dataset: (a) Precision-recall curves at 48 bits; (b) Precision vs. number of retrieved samples at 48 bits.

On CIFAR-10, the proposed model achieved an mAP between 0.714 and 0.736. This represents a massive leap over previous state-of-the-art supervised methods like KSH or BRE, which typically performed in the 0.15 to 0.35 range. The end-to-end nature of the network allows it to capture semantic information that hand-crafted features often miss, leading to a performance boost of 18–27% over previous methods.

Conclusion and Future Work

The Deep Hashing Learning Network demonstrates that joint optimization of feature extraction and hash mapping is vastly superior to traditional multi-stage pipelines. By using a simple CNN architecture with a sigmoid "soft" quantizer, the authors achieved substantial performance gains in image retrieval tasks. Future work may involve utilizing deeper architectures (like VGG or ResNet) and exploring loss functions that explicitly enforce bit independence to further refine the quality of the generated hash codes.

Summary updated

BibTeX
@misc{zhong2015deep,
  author = {Guoqiang Zhong and Pan Yang and Sijiang Wang and Junyu Dong},
  title = {{A Deep Hashing Learning Network}},
  year = {2015},
  eprint = {1507.04437},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1507.04437},
}
Figure