Cross-modal Zero-shot Hashing

Xuanwu Liu, Zhao Li, Jun Wang, Guoxian Yu, Carlotta Domeniconi, Xiangliang Zhang

Abstract

Cross-modal retrieval, such as finding text descriptions for a given image, is a critical task in large-scale data management. Traditional hashing methods often struggle with "unseen" categories and inconsistent label spaces across different modalities. This paper introduces CZHash, a novel framework that bridges the semantic gap by combining deep feature learning with a unique composite similarity measure. CZHash effectively leverages both labeled and unlabeled data, even when image and text modalities use different sets of labels, enabling robust zero-shot retrieval.

Introduction: The Challenges of Modern Retrieval

In the era of big data, hashing has become the gold standard for fast retrieval by compressing high-dimensional data into compact binary codes. However, real-world applications present three major hurdles that traditional models fail to address simultaneously:

  1. The Cross-Modal Gap: The need to search across disparate data types (e.g., image-to-text).
  2. The Zero-Shot Challenge: The ability to retrieve concepts not present during the training phase.
  3. Label Scarcity and Inconsistency: The high cost of labeling and the reality that different modalities often use non-overlapping label sets (e.g., an image tagged "grass" vs. text tagged "FIFA").
Comparison of CZHash with existing cross-modal hashing methods across key functional dimensions.

As shown in the comparison above, while models like AgNet handle unseen classes, they lack the ability to process unlabeled data or different label spaces. CZHash is designed to tackle all these issues within a unified framework.

Methodology: The CZHash Framework

The core of CZHash lies in its unified objective function, which jointly optimizes feature learning, category space mapping, and hash code generation. This joint optimization prevents the "incompatibility" often found in models that train feature learning and hashing quantification separately.

Semi-supervised Composite Similarity

The "secret sauce" of CZHash is its composite similarity measure. Instead of relying solely on expensive labels, it integrates label information (via Jaccard similarity) with feature-level similarity (Euclidean distance). This allows the model to learn from unlabeled data by assuming that items with similar features should share semantic meanings.

Deep Feature Representation and Attribute Space

The model employs a Convolutional Neural Network (CNN) for images and a multi-layer perceptron for text (represented as Bag-of-Words). To facilitate zero-shot learning, features are mapped into a semantic Attribute Space. By using class-level attributes (such as Word2Vec vectors), the model can transfer knowledge from seen categories (e.g., "dog") to unseen ones (e.g., "wolf") based on their semantic proximity.

Optimization

The complex objective function is solved using the Alternating Direction Method of Multipliers (ADMM), which iteratively updates network parameters and binary hash codes to ensure convergence and efficiency.

Experimental Evaluation

CZHash was evaluated on three benchmark datasets: Nus-wide (~260,000 instances), Wiki (~2,800 pairs), and Mirflickr (~25,000 instances). Since these datasets lack native attribute vectors, the authors utilized 500-dimensional Word2Vec embeddings for category names.

Key Results

  • Superior Accuracy: CZHash consistently achieved the highest Mean Average Precision (MAP) across all datasets. In zero-shot scenarios, it significantly outperformed its closest competitor, AgNet.
  • Robustness: The model remained highly effective even when up to 70% of training labels were missing, thanks to its feature-similarity proxy for unlabeled data.
  • Efficiency: Training time was drastically reduced compared to existing methods. On the Nus-wide dataset, CZHash completed training in approximately 4.6 hours, whereas AgNet required over 4 days.

Conclusion and Future Work

CZHash represents a significant step forward in making cross-modal retrieval more flexible and robust. By explicitly acknowledging label diversity and integrating semi-supervised learning, it provides a practical solution for dynamic, real-world environments. Future research will focus on reducing the dependency on the quality of initial attribute vectors and exploring even more unconstrained "open-world" retrieval settings.

Summary updated

BibTeX
@inproceedings{liu2019cross,
  author = {Xuanwu Liu and Zhao Li and Jun Wang and Guoxian Yu and Carlotta Domeniconi and Xiangliang Zhang},
  title = {{Cross-modal Zero-shot Hashing}},
  booktitle = {ICDM},
  year = {2019},
  doi = {10.1109/icdm.2019.00055},
}
Figure