NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

Learning Compact Binary Descriptors with Unsupervised Deep Neural Networks

Kevin Lin, Jiwen Lu, Chu-Song Chen, Jie Zhou

Abstract

This paper introduces DeepBit, an unsupervised deep learning framework designed to learn compact binary descriptors for images. By moving away from hand-crafted features and supervised labels, the authors demonstrate that a neural network can learn to represent images as highly efficient bitstrings that are both discriminative and robust. By optimizing for quantization accuracy, information entropy, and rotation invariance, DeepBit outperforms traditional binary descriptors and rivals supervised methods in tasks like image matching and retrieval.

Introduction

In computer vision, image descriptors serve as mathematical fingerprints used to identify and match features. Traditionally, researchers have faced a trade-off between high-accuracy real-valued descriptors (like SIFT), which are computationally expensive, and fast binary descriptors (like BRIEF or ORB), which often lack robustness. Furthermore, most high-performing binary descriptors are supervised, requiring massive labeled datasets. DeepBit addresses this gap by providing an unsupervised approach that learns high-quality binary representations directly from raw, unlabeled image data.

Methodology

The DeepBit framework utilizes a pre-trained 16-layer VGGNet as its backbone. The final classification layer is replaced with a new fully connected layer that outputs a vector, which is subsequently binarized into a compact code (e.g., 256 bits). To train this network without labels, the researchers enforce three specific unsupervised criteria:

  1. Minimal Quantization Loss: The network minimizes the distance between continuous neuron outputs and their final binary values (0 or 1) to preserve information during binarization.
  2. Evenly Distributed Codes: To maximize information capacity, the authors encourage each bit to have a 50% probability of being 0 or 1 across the dataset, preventing redundant bits.
  3. Rotation Invariance: Using data augmentation, the system minimizes the distance between descriptors of an original image and its rotated versions, ensuring the network ignores orientation noise.
The DeepBit architecture utilizes a two-stream approach with parameter transferring to enforce rotation invariance and optimize for quantization and distribution objectives.

Experimental Results

The authors evaluated DeepBit across three distinct visual tasks using standard benchmarks: the Brown Dataset (local patch matching), CIFAR-10 (image retrieval), and the Oxford 17 Category Flower Dataset (object recognition).

  • Image Matching: On the Brown dataset, DeepBit achieved a 40.67% average error rate at 95% recall, significantly outperforming traditional unsupervised descriptors like BRIEF and ORB (both at 56.23%).
  • Image Retrieval: On CIFAR-10, DeepBit achieved a mean Average Precision (mAP) of 24.86% for 32-bit codes, surpassing previous unsupervised deep hashing methods.
  • Object Recognition: On the Oxford Flower dataset, DeepBit reached 75.1% accuracy, surpassing SIFT (70.6%) and HOG (58.5%) while being significantly more efficient; training a classifier on DeepBit descriptors was 71.42x faster than using real-valued SIFT descriptors.

Limitations and Future Work

While DeepBit performs well generally, it faces challenges with visually similar but semantically different textures. For instance, on the Yosemite portion of the Brown dataset, which contains repetitive natural scenery like snow and forests, the unsupervised loss function can be misled by local data structures.

ROC curve for image matching on the Yosemite dataset, illustrating a scenario where the unsupervised model faces challenges compared to some traditional descriptors due to visually similar textures.

Future work will focus on extending this unsupervised framework to handle more complex geometric transformations beyond rotation, such as affine transforms and significant changes in perspective or lighting.

Summary updated

BibTeX
@inproceedings{lin2016learning,
  author = {Kevin Lin and Jiwen Lu and Chu-Song Chen and Jie Zhou},
  title = {{Learning Compact Binary Descriptors with Unsupervised Deep Neural Networks}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2016},
  doi = {10.1109/cvpr.2016.133},
}
Figure