Skip to main content
QUICK REVIEW

[Paper Review] Embarrassingly Simple Binary Representation Learning

Yuming Shen, Jie Qin|arXiv (Cornell University)|Aug 26, 2019
Advanced Image and Video Retrieval TechniquesComputer Science43 references5 citations
TL;DR

This paper proposes JMLH, an embarrassingly simple deep hashing model that achieves state-of-the-art performance by training a standard classification network with a differentiable binary bottleneck and a single likelihood maximization objective. By leveraging variational information bottleneck regularization and stochastic gradient estimation, JMLH produces high-quality binary codes without auxiliary models or complex optimization, outperforming SOTA methods on CIFAR-10, NUS-WIDE, and ImageNet.

ABSTRACT

Recent binary representation learning models usually require sophisticated binary optimization, similarity measure or even generative models as auxiliaries. However, one may wonder whether these non-trivial components are needed to formulate practical and effective hashing models. In this paper, we answer the above question by proposing an embarrassingly simple approach to binary representation learning. With a simple classification objective, our model only incorporates two additional fully-connected layers onto the top of an arbitrary backbone network, whilst complying with the binary constraints during training. The proposed model lower-bounds the Information Bottleneck (IB) between data samples and their semantics, and can be related to many recent `learning to hash' paradigms. We show that, when properly designed, even such a simple network can generate effective binary codes, by fully exploring data semantics without any held-out alternating updating steps or auxiliary models. Experiments are conducted on conventional large-scale benchmarks, i.e., CIFAR-10, NUS-WIDE, and ImageNet, where the proposed simple model outperforms the state-of-the-art methods.

Motivation & Objective

  • To investigate whether complex components like discrete optimization or generative models are necessary for effective supervised hashing.
  • To develop a minimal yet powerful deep hashing framework that maintains binary constraints while preserving semantic information.
  • To demonstrate that a simple classification network with a binary bottleneck can outperform state-of-the-art hashing models.
  • To provide theoretical grounding via the Variational Information Bottleneck (VIB) framework for the proposed method.

Proposed method

  • The model uses a standard deep neural network with a differentiable binary bottleneck layer inserted after the final feature representation.
  • A single classification loss is applied to maximize the likelihood of data labels, forming a variational lower bound of the Information Bottleneck (IB) between input data and semantics.
  • Stochastic gradient estimation with methods like Straight-Through (ST) or distributional derivatives preserves binary constraints during backpropagation.
  • A regularization term controls the mutual information between input data and learned binary codes, preventing over-regularization.
  • The entire network is trained end-to-end using Stochastic Gradient Descent (SGD), eliminating the need for alternating updates or auxiliary networks.
  • The method is compatible with any backbone network and requires only two additional fully connected layers.

Experimental results

Research questions

  • RQ1Can a simple classification network with a binary bottleneck achieve state-of-the-art performance in supervised hashing without auxiliary components?
  • RQ2Is it possible to train a binary representation model end-to-end using gradient descent by preserving discrete constraints through stochastic gradient estimation?
  • RQ3How does the proposed method compare to existing hashing models in terms of accuracy, training efficiency, and generalization on short code lengths?
  • RQ4What is the role of the information bottleneck regularization in improving semantic representation in binary codes?

Key findings

  • JMLH outperforms state-of-the-art methods on CIFAR-10, NUS-WIDE, and ImageNet benchmarks, achieving higher mAP scores across all code lengths.
  • The model converges 10 epochs faster than MIHash, demonstrating superior training efficiency despite its simplicity.
  • Even with extremely short codes (e.g., 4–12 bits), JMLH maintains strong performance, outperforming GreedyHash and DHN due to entropy-preserving regularization.
  • t-SNE visualization confirms that learned 32-bit codes are well-separated by semantic classes, indicating effective semantic clustering.
  • Ablation studies show that removing the regularization (JMLH-NR) leads to poor generalization, highlighting the importance of the IB-based objective.
  • The model achieves competitive performance with minimal architecture—its total parameter count is slightly smaller than AlexNet, making it lightweight and efficient.

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.