A probabilistic model for multimodal hash function learning

Yi Zhen, Dit-Yan Yeung

Abstract

Multimodal Latent Binary Embedding (MLBE) is a generative probabilistic framework designed to learn compact binary hash codes for cross-modal similarity search. By treating hash codes as latent variables within a common Hamming space, MLBE facilitates efficient searching across disparate data types, such as retrieving images via text queries. Experimental results demonstrate that MLBE outperforms state-of-the-art methods, particularly at short code lengths.

Introduction

In the era of "Big Data," similarity search—finding the nearest neighbors of a query—faces significant challenges regarding scalability and task-specificity. While hashing techniques like Locality-Sensitive Hashing (LSH) offer speed by compressing data into binary strings, they often rely on random projections that fail to capture data-specific nuances. Furthermore, real-world data is increasingly multimodal (e.g., images paired with text tags), necessitating a unified "Hamming space" where different feature types can be directly compared. This paper introduces MLBE, a data-dependent probabilistic approach to bridge the multimodal gap through latent factor modeling.

Methods: Multimodal Latent Binary Embedding

The core of the proposed framework is a generative probabilistic model where hash codes are treated as binary latent factors ($U$ and $V$) that explain observed intra-modality and inter-modality similarities.

The probabilistic graphical model of MLBE, illustrating the relationships between latent binary codes and observed similarities.

Technical Framework

  • Common Hamming Space: MLBE maps modalities (e.g., Image $X$ and Text $Y$) into a shared $K$-bit space.
  • Generative Likelihoods: The model assumes that similarities are generated based on the Hamming distance between latent codes.
  • MAP Estimation: Due to the intractability of the exact distribution, the authors employ an efficient alternating algorithm based on Maximum A Posteriori (MAP) estimation to learn parameters and codes.
  • Out-of-Sample Extension: A mechanism is provided to generate hash codes for new data points without retraining the entire model.

Datasets and Evaluation

The authors evaluated MLBE across three distinct experimental setups:

  1. Synthetic Data: A controlled environment to verify the model's ability to recover ground-truth similarity structures.
  2. Wiki Dataset: 2,866 Wikipedia documents (image-text pairs) across 10 semantic classes, using SIFT and LDA features.
  3. Flickr Dataset: 186,577 image-tag pairs from the NUS-WIDE collection, representing a large-scale retrieval scenario.

Key Results

MLBE was benchmarked against Cross-Modal Similarity Sensitive Hashing (CMSSH) and Cross-View Hashing (CVH).

Visual comparison of ground-truth similarity (HH^T) and recovered latent structures (UU^T, VV^T, UV^T) on synthetic data.
  • Superior Accuracy: On the Wiki dataset, MLBE achieved a Mean Average Precision (mAP) of 0.3810 for image-to-text queries with 8-bit codes, significantly outperforming CVH (0.2592) and CMSSH (0.2438).
  • The "Short Code" Advantage: The performance gap is most pronounced at small bit lengths (8 or 16 bits), which is critical for memory-constrained real-world applications.
  • Large-Scale Consistency: MLBE maintained its lead on the Flickr dataset, demonstrating robustness in high-volume retrieval tasks.

Discussion and Future Work

While MLBE shows strong performance, the authors note that the optimization gap narrows as code length $K$ increases, likely due to local minima in the complex search space. Future research directions include:

  • Non-parametric Bayesian Methods: Automatically determining the optimal code length $K$ from the data.
  • Variational Inference: Moving beyond MAP estimation to a fully Bayesian treatment for improved robustness.
  • Domain Expansion: Applying the model to specialized fields like multimodal medical image registration.

Summary updated

BibTeX
@inproceedings{zhen2012probabilistic,
  author = {Yi Zhen and Dit-Yan Yeung},
  title = {{A probabilistic model for multimodal hash function learning}},
  booktitle = {ACM SIGKDD Conference on Knowledge Discovery and Data Mining},
  year = {2012},
  doi = {10.1145/2339530.2339678},
}
Figure