Skip to main content
QUICK REVIEW

[Paper Review] Efficient Training of Very Deep Neural Networks for Supervised Hashing

Ziming Zhang, Yuting Chen|arXiv (Cornell University)|Nov 14, 2015
Advanced Image and Video Retrieval TechniquesComputer Science54 references7 citations
TL;DR

This paper proposes Very Deep Supervised Hashing (VDSH), a novel ADMM-based training algorithm that enables efficient training of very deep neural networks (up to 64 layers, 1024 nodes per layer) for supervised hashing. Unlike backpropagation, VDSH decomposes training into independent layer-wise updates via auxiliary variables, achieving linear computational complexity and converging in ~3 hours on a single GPU, outperforming state-of-the-art methods on MNIST, CIFAR-10, and NUS-WIDE.

ABSTRACT

In this paper, we propose training very deep neural networks (DNNs) for supervised learning of hash codes. Existing methods in this context train relatively "shallow" networks limited by the issues arising in back propagation (e.e. vanishing gradients) as well as computational efficiency. We propose a novel and efficient training algorithm inspired by alternating direction method of multipliers (ADMM) that overcomes some of these limitations. Our method decomposes the training process into independent layer-wise local updates through auxiliary variables. Empirically we observe that our training algorithm always converges and its computational complexity is linearly proportional to the number of edges in the networks. Empirically we manage to train DNNs with 64 hidden layers and 1024 nodes per layer for supervised hashing in about 3 hours using a single GPU. Our proposed very deep supervised hashing (VDSH) method significantly outperforms the state-of-the-art on several benchmark datasets.

Motivation & Objective

  • To overcome vanishing gradients and computational inefficiencies in training very deep networks for supervised hashing.
  • To enable training of deep networks with up to 64 hidden layers and 1024 nodes per layer using a single GPU.
  • To develop a training algorithm that is computationally efficient and converges reliably, even for extremely deep architectures.
  • To improve hash code quality by learning compact, similarity-preserving representations that enhance retrieval performance.
  • To demonstrate that VDSH outperforms existing supervised hashing methods on benchmark datasets.

Proposed method

  • The method formulates the training of VDSH as an ℓ₂-regularized least squares problem to minimize the difference between encoded features and label vectors.
  • It introduces auxiliary variables to represent the output of each hidden layer, enabling recursive modeling of deep network features.
  • An augmented Lagrangian is used to incorporate equality constraints into the optimization, allowing decomposition into local layer-wise updates.
  • Additional auxiliary variables are introduced to store weights between adjacent layers, enabling independent and efficient local optimization.
  • The ADMM-based algorithm performs alternating updates of the network parameters, auxiliary variables, and dual variables, ensuring convergence.
  • Hash codes are generated by rounding the outputs of the final hidden layer, preserving similarity in Hamming space.

Experimental results

Research questions

  • RQ1Can a training algorithm be designed to efficiently train very deep neural networks for supervised hashing, overcoming vanishing gradients and computational bottlenecks?
  • RQ2Does an ADMM-based approach enable stable and fast convergence in training extremely deep networks for hashing?
  • RQ3Can VDSH achieve state-of-the-art retrieval performance on benchmark datasets using very deep architectures?
  • RQ4How does the computational complexity of VDSH scale with network depth and width compared to backpropagation?
  • RQ5Does VDSH produce more compact and well-separated hash code clusters than existing methods?

Key findings

  • VDSH successfully trains a 64-layer, 1024-node-per-layer deep neural network for supervised hashing in approximately 3 hours using a single GTX TITAN GPU.
  • The training algorithm converges smoothly and exhibits linear computational complexity proportional to the number of edges in the network.
  • On the NUS-WIDE dataset with 128-node, 32-layer networks, VDSH achieves retrieval in 31.4 milliseconds per sample on a 190K-sample database.
  • VDSH achieves 7.73% precision and 4.82% recall on ILSVRC2012 using 64-bit hash codes within Hamming radius 2, significantly outperforming SDH (2.67% precision) and FastHash (0.29% precision).
  • Visualizations show that VDSH produces cleaner, more compact clusters in Hamming space compared to SDH, indicating better similarity preservation.
  • VDSH maintains strong performance across varying Hamming radii, showing robustness and stability, unlike SDH and FastHash, which degrade significantly at smaller radii.

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.