On Aggregation of Unsupervised Deep Binary Descriptor With Weak Bits

Gengshen Wu, Zijia Lin, Guiguang Ding, Qiang Ni, Jungong HanIEEE TIP 2020 · DOI

In the field of computer vision, binary descriptors serve as the backbone for efficient image matching and retrieval. By representing image patches as sequences of 0s and 1s, systems can perform lightning-fast comparisons using bitwise operations while maintaining a low memory footprint. However, traditional unsupervised binary descriptors often struggle with geometric distortions, noise, and the "collision problem," where distinct images are assigned identical binary codes.

This paper, published in IEEE Transactions on Image Processing, introduces the Unsupervised Deep Binary Descriptor (UDBD) framework. UDBD addresses these challenges by learning transformation-invariant representations and utilizing a novel "weak bit" strategy to resolve matching ambiguities.

The UDBD Framework

The core of UDBD is a deep learning architecture designed to produce stable binary codes without the need for labeled training data. The framework employs three primary strategies to ensure robustness and discriminative power:

  1. Collective Binary Embedding: To combat geometric sensitivity, the model processes both original image patches and their transformed versions (rotated, scaled, or shifted) through a shared-parameter network. By forcing these variations into a joint binary space, the descriptor becomes inherently invariant to common distortions.
  2. Unsupervised Graph Constraints: A Laplacian graph constraint is integrated into the learning process. This ensures that the manifold structure of the original high-dimensional feature space is preserved in the compact binary space; essentially, if two images are similar in reality, their binary codes remain close.
  3. Robust Loss Functions: Moving away from standard squared error metrics, UDBD utilizes a specific norm to handle the inherent noise of small image patches.
The UDBD framework architecture, illustrating the joint embedding of original and geometrically transformed image patches to learn invariant descriptors.

Robustness via $\ell_{2,1}$-norm

A significant technical contribution of this work is the adoption of the $\ell_{2,1}$-norm loss function. Standard $\ell_2$ (squared error) losses tend to over-penalize outliers, which is problematic in patch matching where "micro-textures" and sensor noise are prevalent. The $\ell_{2,1}$-norm is more resilient to these outliers, preventing "bit-flipping"—a phenomenon where minor noise causes a binary digit to switch from 0 to 1, leading to matching failures.

Empirical comparison showing the superior robustness of the $\ell_{2,1}$-norm against the standard $\ell_{2,2}$-norm as noise ratios increase.

Resolving Collisions with Weak Bits

In large-scale databases, different images often result in the same Hamming distance, leading to "collisions" that degrade retrieval precision. UDBD introduces a Weak Bit Selection strategy as a post-processing tie-breaker.

During the binarization process, the neural network produces continuous values before they are thresholded into 0s and 1s. Values near the threshold are considered "weak bits" because the model has lower confidence in their final state. When multiple candidates share the same Hamming distance, UDBD uses the original "soft" confidence values of these weak bits to recalculate a refined distance, effectively recovering discriminative information that is usually lost during hard binarization.

Experimental Results

The authors evaluated UDBD across several benchmarks, including the Brown dataset (patch matching), Cifar-10, and NUS-WIDE (image retrieval).

  • Patch Matching: On the Brown dataset, UDBD achieved a False Positive Rate (FPR@95%) of 28.49%, outperforming other unsupervised methods like BinGAN (30.83%) and GraphBit (31.49%).
  • Image Retrieval: On Cifar-10, the model reached a mean Average Precision (mAP) of 39.6% at 64 bits.
  • Impact of Weak Bits: The weak bit scheme provided a measurable boost; for instance, on Cifar-10 (32 bits), Top-1 Precision improved from 42.33% to 46.63%.

Conclusion

UDBD represents a significant step forward for unsupervised image representation. By combining transformation-invariant embeddings with robust loss functions and a clever bit-aggregation strategy, the framework provides a highly effective solution for large-scale visual search and matching. Future work aims to extend this stability to video and cross-modal retrieval tasks.

Summary updated

BibTeX
@article{wu2020aggregation,
  author = {Gengshen Wu and Zijia Lin and Guiguang Ding and Qiang Ni and Jungong Han},
  title = {{On Aggregation of Unsupervised Deep Binary Descriptor With Weak Bits}},
  journal = {IEEE Trans. Image Process.},
  year = {2020},
  doi = {10.1109/tip.2020.3025437},
}
Figure