Skip to main content
QUICK REVIEW

[Paper Review] Auto-Encoding Twin-Bottleneck Hashing

Yuming Shen, Jie Qin|arXiv (Cornell University)|Feb 27, 2020
Advanced Image and Video Retrieval TechniquesComputer Science48 references5 citations
TL;DR

This paper proposes Twin-Bottleneck Hashing (TBH), a novel unsupervised hashing framework that jointly optimizes binary code learning and adaptive graph construction via a generative auto-encoding architecture with twin bottlenecks. By using binary codes to dynamically build a Hamming-distance-based similarity graph and leveraging continuous latent variables for high-fidelity reconstruction, TBH achieves state-of-the-art performance in image retrieval without relaxing binary constraints, enabling end-to-end training via stochastic gradient descent.

ABSTRACT

Conventional unsupervised hashing methods usually take advantage of similarity graphs, which are either pre-computed in the high-dimensional space or obtained from random anchor points. On the one hand, existing methods uncouple the procedures of hash function learning and graph construction. On the other hand, graphs empirically built upon original data could introduce biased prior knowledge of data relevance, leading to sub-optimal retrieval performance. In this paper, we tackle the above problems by proposing an efficient and adaptive code-driven graph, which is updated by decoding in the context of an auto-encoder. Specifically, we introduce into our framework twin bottlenecks (i.e., latent variables) that exchange crucial information collaboratively. One bottleneck (i.e., binary codes) conveys the high-level intrinsic data structure captured by the code-driven graph to the other (i.e., continuous variables for low-level detail information), which in turn propagates the updated network feedback for the encoder to learn more discriminative binary codes. The auto-encoding learning objective literally rewards the code-driven graph to learn an optimal encoder. Moreover, the proposed model can be simply optimized by gradient descent without violating the binary constraints. Experiments on benchmarked datasets clearly show the superiority of our framework over the state-of-the-art hashing methods. Our source code can be found at https://github.com/ymcidence/TBH.

Motivation & Objective

  • To address the 'static graph' problem in unsupervised hashing, where pre-computed or anchor-based similarity graphs introduce biased prior knowledge and hinder performance.
  • To overcome the 'deficient BinBN' problem in generative hashing, where direct decoding from binary bottlenecks leads to poor reconstruction quality.
  • To unify hash function learning and graph construction into a single end-to-end trainable framework, avoiding alternating optimization or relaxation techniques.
  • To enable gradient-based optimization through binary variables without violating binary constraints, ensuring practical training with standard SGD.

Proposed method

  • TBH employs a twin-bottleneck auto-encoder architecture with a binary bottleneck (BinBN) for discriminative code learning and a continuous bottleneck (ConBN) for high-capacity reconstruction.
  • The code-driven graph is constructed directly from Hamming distances between binary codes using Eq. (4), enabling adaptive, data-dependent similarity modeling.
  • Graph Convolutional Networks (GCNs) are applied to propagate graph information from BinBN to ConBN, enhancing feature representation learning.
  • The reconstruction loss is computed via the ConBN, which preserves more entropy and improves decoding quality compared to direct binary decoding.
  • A distributional derivative estimator is used to backpropagate gradients through the discrete binary bottleneck, allowing end-to-end training without relaxation or alternating optimization.
  • The overall loss combines auto-encoding, adversarial, and graph regularization terms, optimized via standard Stochastic Gradient Descent (SGD).

Experimental results

Research questions

  • RQ1Can an adaptive, code-driven similarity graph improve unsupervised hashing performance by replacing static or pre-computed graphs?
  • RQ2Can a twin-bottleneck architecture effectively resolve the 'deficient BinBN' problem in generative hashing models?
  • RQ3Is end-to-end training of binary codes possible without relaxing binary constraints, using gradient estimation through discrete variables?
  • RQ4How does the joint optimization of code learning and graph construction compare to conventional alternating or relaxed approaches?

Key findings

  • TBH achieves state-of-the-art performance on benchmark datasets, outperforming existing unsupervised hashing methods in image retrieval.
  • Removing the adaptive code-driven graph (baseline_6) causes a ~9% performance drop, confirming its critical role in modeling data structure.
  • The twin-bottleneck design reduces reconstruction error compared to single-bottleneck baselines, validating its effectiveness in mitigating the 'deficient BinBN' problem.
  • The model remains robust under varying hyperparameters, with minimal performance degradation even when the bottleneck dimension L is reduced to 64.
  • Qualitative results show that the code-driven graph closely mimics label-based similarity, and t-SNE visualizations reveal clear class separation with semantically similar classes close in Hamming space.
  • Image reconstruction results on MNIST show TBH better preserves image details than SGH, with fewer misclassifications in reconstructed digits.

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.