Skip to main content
QUICK REVIEW

[Paper Review] Pairwise Supervised Hashing with Bernoulli Variational Auto-Encoder and Self-Control Gradient Estimator

Siamak Zamani Dadaneh, Shahin Boluki|arXiv (Cornell University)|May 21, 2020
Advanced Image and Video Retrieval TechniquesComputer Science13 references2 citations
TL;DR

This paper proposes a novel pairwise supervised hashing framework using a Bernoulli variational auto-encoder with an unbiased, low-variance gradient estimator to optimize binary hashing codes. By directly optimizing a non-differentiable pairwise loss that enforces within-class similarity and between-class dissimilarity, the method achieves state-of-the-art retrieval precision on text data.

ABSTRACT

Semantic hashing has become a crucial component of fast similarity search in many large-scale information retrieval systems, in particular, for text data. Variational auto-encoders (VAEs) with binary latent variables as hashing codes provide state-of-the-art performance in terms of precision for document retrieval. We propose a pairwise loss function with discrete latent VAE to reward within-class similarity and between-class dissimilarity for supervised hashing. Instead of solving the optimization relying on existing biased gradient estimators, an unbiased low-variance gradient estimator is adopted to optimize the hashing function by evaluating the non-differentiable loss function over two correlated sets of binary hashing codes to control the variance of gradient estimates. This new semantic hashing framework achieves superior performance compared to the state-of-the-arts, as demonstrated by our comprehensive experiments.

Motivation & Objective

  • To improve semantic hashing performance in large-scale text retrieval by leveraging supervised pairwise constraints.
  • To address the challenge of optimizing non-differentiable discrete hashing codes with unbiased and low-variance gradient estimation.
  • To replace biased gradient estimators in discrete VAEs with a more accurate alternative for better optimization of hashing functions.
  • To enhance within-class similarity and between-class dissimilarity in learned binary codes through a tailored pairwise loss function.

Proposed method

  • Employs a variational auto-encoder with Bernoulli-distributed latent variables to generate binary hashing codes.
  • Introduces a pairwise loss function that explicitly encourages similar samples (same class) to have similar codes and dissimilar samples (different classes) to have dissimilar codes.
  • Utilizes a self-control gradient estimator to compute unbiased and low-variance gradients for the non-differentiable binary codes.
  • Evaluates the gradient by sampling two correlated sets of binary codes, reducing variance in the optimization process.
  • Optimizes the hashing function end-to-end using backpropagation through the differentiable VAE components while maintaining discrete code outputs.

Experimental results

Research questions

  • RQ1Can a pairwise loss function with discrete latent variables improve supervised hashing performance in text retrieval?
  • RQ2How does an unbiased gradient estimator compare to biased estimators in optimizing discrete hashing codes?
  • RQ3To what extent can the self-control gradient estimator reduce variance in training discrete VAEs for hashing?
  • RQ4Does the proposed framework outperform existing state-of-the-art methods in terms of retrieval precision?

Key findings

  • The proposed method achieves superior retrieval precision compared to state-of-the-art methods on text retrieval benchmarks.
  • The use of an unbiased, low-variance gradient estimator leads to more stable and effective optimization of discrete hashing codes.
  • The pairwise loss function effectively enhances within-class similarity and between-class dissimilarity in learned binary codes.
  • The framework demonstrates improved performance over existing VAE-based hashing methods, particularly in terms of precision metrics.

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.