Unsupervised Deep Hashing via Binary Latent Factor Models for Large-scale Cross-modal Retrieval

Gengshen Wu, Zijia Lin, Jungong Han, Li Liu, Guiguang Ding, Baochang Zhang, Jialie Shen

Introduction

In the era of big data, cross-modal retrieval—such as using an image to find relevant text or vice versa—has become a critical task. To handle massive datasets efficiently, researchers often use "hashing," which converts complex data into short binary strings (hash codes). However, traditional unsupervised hashing methods suffer from two main issues: the disconnect between feature extraction and binarization, and the "relaxation trap," where discrete bits are approximated by continuous values during training, leading to significant quantization errors.

The UDCMH Framework

To address these challenges, the Unsupervised Deep Cross-Modal Hashing (UDCMH) framework integrates deep learning and matrix factorization into a unified, self-taught system.

The UDCMH framework architecture integrating deep networks with binary latent factor models.

The architecture consists of two primary components:

  1. Deep Feature Learning: A modified AlexNet extracts features from images, while a Multi-Layer Perceptron (MLP) processes text data.
  2. Binary Latent Factor Model: Instead of relaxing binary constraints, UDCMH optimizes binary codes directly using matrix factorization. This approach treats hash codes as latent factors that bridge different modalities.

Furthermore, the model employs Laplacian constraints to preserve both local and global data structures, preventing the generation of redundant or trivial hash codes. An alternating optimization strategy, specifically Discrete Cyclic Coordinate descent (DCC), is used to update the binary codes bit-by-bit efficiently.

Experimental Evaluation

The authors evaluated UDCMH on three benchmark datasets: Wiki (2,866 pairs), MIRFlickr (25,000 pairs), and NUS-WIDE (186,577 pairs). The performance was compared against seven state-of-the-art baselines, including CMFH, LSSH, and DBRC.

Precision curves for cross-modal retrieval across Wiki, NUS-WIDE, and MIRFlickr datasets at 128 bits.

Key Results

  • Superior Accuracy: UDCMH consistently outperformed all baselines across various code lengths (16 to 128 bits). For instance, on the Wiki dataset (Image -> Text), UDCMH achieved a Mean Average Precision (mAP) of 0.346 at 128 bits, compared to 0.288 for the best baseline.
  • Scalability and Convergence: The model showed significant gains on larger datasets like NUS-WIDE and MIRFlickr. On MIRFlickr, it reached an mAP of 0.733 for text-to-image retrieval. Additionally, the optimization process converged rapidly, typically within 10 iterations.
  • Self-Taught Learning: The framework's "self-taught" nature allows the binary codes to act as ground truth for fine-tuning the deep networks, creating a virtuous cycle that improves both features and hash codes simultaneously.

Conclusion

UDCMH represents a significant step forward in unsupervised cross-modal retrieval by avoiding the information loss associated with binary relaxation. While it performs best on large-scale datasets where deep learning can fully leverage the data volume, its robust optimization and integrated architecture set a new standard for efficiency and accuracy in the field. Future research may explore more advanced architectures like Transformers to further enhance feature extraction.

Summary updated

BibTeX
@inproceedings{wu2018unsupervised,
  author = {Gengshen Wu and Zijia Lin and Jungong Han and Li Liu and Guiguang Ding and Baochang Zhang and Jialie Shen},
  title = {{Unsupervised Deep Hashing via Binary Latent Factor Models for Large-scale Cross-modal Retrieval}},
  booktitle = {International Joint Conference on Artificial Intelligence},
  year = {2018},
  doi = {10.24963/ijcai.2018/396},
}
Figure