Skip to main content
QUICK REVIEW

[Paper Review] DeepHash: Getting Regularization, Depth and Fine-Tuning Right

Jie Lin, Olivier Morère|arXiv (Cornell University)|Jan 20, 2015
Advanced Image and Video Retrieval TechniquesComputer Science48 references27 citations
TL;DR

DeepHash proposes a deep learning-based hashing framework that leverages regularization, depth, and weakly-supervised fine-tuning to generate compact 64–1024-bit binary hashes from high-dimensional image descriptors like Fisher Vectors and DCNN features. It achieves performance within 3–5% of uncompressed floating-point features at 256 bits, outperforming state-of-the-art methods by up to 20% across diverse datasets and bitrates.

ABSTRACT

This work focuses on representing very high-dimensional global image descriptors using very compact 64-1024 bit binary hashes for instance retrieval. We propose DeepHash: a hashing scheme based on deep networks. Key to making DeepHash work at extremely low bitrates are three important considerations -- regularization, depth and fine-tuning -- each requiring solutions specific to the hashing problem. In-depth evaluation shows that our scheme consistently outperforms state-of-the-art methods across all data sets for both Fisher Vectors and Deep Convolutional Neural Network features, by up to 20 percent over other schemes. The retrieval performance with 256-bit hashes is close to that of the uncompressed floating point features -- a remarkable 512 times compression.

Motivation & Objective

  • Address the challenge of compressing high-dimensional global image descriptors (e.g., 8192–65536-dim Fisher Vectors and 4096-dim DCNN features) into compact 64–1024-bit binary hashes without sacrificing retrieval accuracy.
  • Overcome limitations of existing hashing methods that underperform at low bitrates, especially for high-dimensional descriptors.
  • Develop a deep learning-based hashing scheme that maintains discriminative power through structured regularization, sufficient network depth, and effective fine-tuning.
  • Achieve robust performance across diverse datasets and descriptor types (FV and DCNN), particularly at low bitrates like 64 and 256 bits.
  • Demonstrate that a single pre-trained DeepHash model can generalize across multiple datasets and descriptor types, minimizing per-dataset retraining.

Proposed method

  • Pre-train a deep stacked Restricted Boltzmann Machine (RBM) network in a layer-wise fashion to initialize the network with hierarchical feature representations suitable for hashing.
  • Adapt RBM regularization specifically for the hashing problem to enhance compactness and discriminability of the learned binary codes.
  • Fine-tune the pre-trained deep network using a Siamese network architecture that learns from matching and non-matching image pairs via a novel loss function.
  • Construct a deep Siamese network with shared weights to learn discriminative projections that map high-dimensional descriptors to binary hashes.
  • Use a weakly-supervised loss function during fine-tuning that encourages small Hamming distances between similar images and large distances between dissimilar ones.
  • Train the entire model in two phases: unsupervised pre-training via stacked RBMs followed by weakly-supervised fine-tuning with Siamese contrastive loss.

Experimental results

Research questions

  • RQ1Can a deep neural network with proper regularization and depth achieve near-lossless compression of high-dimensional image descriptors into compact binary hashes at 64–1024 bits?
  • RQ2How do regularization, network depth, and fine-tuning jointly impact hashing performance at low bitrates?
  • RQ3Does a Siamese fine-tuning strategy significantly improve retrieval accuracy compared to standard pre-training or unsupervised methods?
  • RQ4How does DeepHash compare to state-of-the-art hashing schemes (e.g., ITQ, PQ, LSH, spectral hashing) across diverse datasets and descriptor types?
  • RQ5To what extent can 256-bit DeepHash hashes match the performance of uncompressed floating-point descriptors?

Key findings

  • DeepHash outperforms state-of-the-art hashing methods by up to 20% across all datasets and bitrates, with consistent superiority in both recall and mean average precision (MAP).
  • At 256-bit representation, DeepHash achieves retrieval performance within 3–5% of the uncompressed floating-point descriptor, representing a 512× compression ratio.
  • For DCNN features, DeepHash at 256 bits performs nearly as well as the original 4096-dim floating-point representation, with only a marginal drop in performance.
  • At 64 bits, DeepHash shows a 5–10% performance drop compared to 256 bits for DCNN features, but still significantly outperforms other methods at this bitrate.
  • On large-scale datasets (1M distractors), DeepHash maintains strong performance, showing a 10–20% drop at 64 bits compared to 1024 bits, while still outperforming all baselines.
  • FV-DeepHash and DCNN-DeepHash show consistent improvements over other schemes, with DCNN-DeepHash outperforming FV-DeepHash on most datasets due to lower initial dimensionality and richer low-level feature learning.

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.