Learning Decorrelated Hashing Codes for Multimodal Retrieval

Dayong Tian, Jun Yu, Yuanyan Tang, Dacheng TaoarXiv 2018

Abstract

Cross-modal retrieval, such as searching for images using text queries, requires efficient hashing techniques to handle large-scale datasets. However, existing methods often suffer from high bit correlation, leading to diminishing returns as hash code length increases. This paper presents Decorrelated Multimodal Hashing (DMH), which utilizes a novel Minimum Correlation Regularization (MCR) to ensure bit independence. Experimental results on MIRFlickr and NUS-WIDE datasets demonstrate that DMH significantly outperforms state-of-the-art baselines, particularly in maintaining retrieval precision at longer bit lengths.

Introduction

In the era of massive social media datasets, efficient cross-media search is critical. Hashing has emerged as a standard solution, converting complex high-dimensional data into compact binary codes. While bit-wise operations enable rapid retrieval, a significant bottleneck persists: bit correlation. Many existing algorithms produce redundant bits, meaning that increasing hash code length (e.g., from 32 to 128 bits) fails to yield proportional improvements in accuracy. This redundancy often stems from the mathematical limitations of enforcing orthogonality on transformation matrices when the target code length exceeds the original feature dimensions.

Methodology: Decorrelated Multimodal Hashing

The proposed DMH framework addresses bit correlation by focusing on the properties of the generated codes rather than the transformation weights.

Sigmoid Embedding

To overcome the non-differentiability of the standard "sign" function used in hashing, DMH employs a sigmoid function. This maps data into a continuous space between 0 and 1, providing a differentiable approximation of binary codes that can be optimized using gradient-based methods.

Minimum Correlation Regularization (MCR)

The core innovation of DMH is the MCR term. Unlike traditional methods that regularize model weights, MCR is applied directly to the output embeddings. By minimizing the Frobenius norm of the correlation matrix of these embeddings, the model forces individual bits to be as independent as possible. This approach bypasses the "orthogonality myth," allowing for effective decorrelation even when the hash code is longer than the input feature space.

Optimization Strategy

The model is trained using an alternating minimization strategy. It iteratively updates a unified binary code matrix ($B$) and then adjusts the linear transformation matrices ($W$) and bias vectors ($v$) for each modality (e.g., image and text) via gradient descent.

Experimental Evaluation

The researchers evaluated DMH on two benchmark datasets: MIRFlickr (20,015 image-tag pairs) and NUS-WIDE (a subset of 186,577 entries focusing on the 10 most common concepts).

Key Results

DMH consistently outperformed five state-of-the-art baselines, including CMSSH, CVH, and MDBE, across various metrics.

F1-Score performance of DMH vs. baselines across MIRFlickr and NUS-WIDE datasets.

As shown in the figures above, DMH maintains a significant performance margin in F1-score across both Image-to-Text and Text-to-Image tasks. Notably, while the performance of baseline methods often drops sharply as bit length increases, DMH exhibits much greater robustness. In Mean Average Precision (MAP) tests on MIRFlickr (Image-to-Text at 128 bits), DMH achieved a score of 0.7501, surpassing the next best baseline, MDBE (0.7156). In specific hash lookup experiments, DMH showed dramatic improvements, with gains ranging from 30% to 3,000% over competing methods.

Discussion and Insights

The success of DMH highlights that focusing on the resulting codes is more effective than focusing on transformation weights. By using the sigmoid function to "nudge" bits toward independence during training, the model ensures that each additional bit provides novel information. This allows DMH to scale more effectively than traditional methods that rely on insufficient orthogonal regularization. Furthermore, DMH remains computationally efficient, with testing times comparable to the fastest existing models.

Conclusion and Future Work

DMH provides a robust solution to the bit correlation problem in multimodal hashing. While the current model relies on linear foundations and a non-convex objective function, future work aims to integrate non-linear embedding functions, such as deep neural networks, to further enhance performance on complex datasets. Additionally, refinements to the optimization procedure may yield even greater computational efficiency.

Summary updated

BibTeX
@misc{tian2018learning,
  author = {Dayong Tian and Jun Yu and Yuanyan Tang and Dacheng Tao},
  title = {{Learning Decorrelated Hashing Codes for Multimodal Retrieval}},
  year = {2018},
  eprint = {1803.00682},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1803.00682},
}
Figure