Skip to main content
QUICK REVIEW

[Paper Review] Attribute-Guided Network for Cross-Modal Zero-Shot Hashing

Zhong Ji, Yuxin Sun|arXiv (Cornell University)|Feb 6, 2018
Advanced Image and Video Retrieval TechniquesComputer Science6 references4 citations
TL;DR

This paper proposes Attribute-Guided Network (AgNet), a deep neural network for Cross-Modal Zero-Shot Hashing (CMZSH) that aligns visual and textual features into a shared attribute space to bridge modality heterogeneity and enable zero-shot retrieval. AgNet uses class-level attributes to guide hash code generation, achieving state-of-the-art performance on both image-based and text-based retrieval across AwA, SUN, and ImageNet datasets.

ABSTRACT

Zero-Shot Hashing aims at learning a hashing model that is trained only by instances from seen categories but can generate well to those of unseen categories. Typically, it is achieved by utilizing a semantic embedding space to transfer knowledge from seen domain to unseen domain. Existing efforts mainly focus on single-modal retrieval task, especially Image-Based Image Retrieval (IBIR). However, as a highlighted research topic in the field of hashing, cross-modal retrieval is more common in real world applications. To address the Cross-Modal Zero-Shot Hashing (CMZSH) retrieval task, we propose a novel Attribute-Guided Network (AgNet), which can perform not only IBIR, but also Text-Based Image Retrieval (TBIR). In particular, AgNet aligns different modal data into a semantically rich attribute space, which bridges the gap caused by modality heterogeneity and zero-shot setting. We also design an effective strategy that exploits the attribute to guide the generation of hash codes for image and text within the same network. Extensive experimental results on three benchmark datasets (AwA, SUN, and ImageNet) demonstrate the superiority of AgNet on both cross-modal and single-modal zero-shot image retrieval tasks.

Motivation & Objective

  • To address the limitation of existing Zero-Shot Hashing methods that focus only on single-modal (image-based) retrieval, especially in real-world cross-modal scenarios like text-based image retrieval.
  • To bridge the semantic gap caused by modality heterogeneity and category migration in zero-shot settings.
  • To preserve semantic similarity between high-dimensional features and their low-dimensional binary hash codes.
  • To develop a unified framework that supports both Image-Based Image Retrieval (IBIR) and Text-Based Image Retrieval (TBIR) under zero-shot conditions.
  • To leverage class-level attributes as a shared semantic space for aligning visual and textual modalities and guiding hash code generation.

Proposed method

  • AgNet maps visual and textual features into a common, semantically rich attribute space to reduce modality gap and enable zero-shot generalization.
  • The network uses a shared deep neural architecture to generate binary hash codes for both modalities, guided by predicted attribute vectors.
  • A multi-task learning strategy is employed to jointly optimize attribute prediction and hash code learning, ensuring semantic consistency.
  • The model uses a straight-through estimator to backpropagate through the hard thresholding operation in hash code generation.
  • The loss function combines triplet loss for semantic similarity preservation and a margin-based ranking loss to enforce correct relative ordering of similar and dissimilar samples.
  • Positive-error distance (PED) is used to evaluate attribute prediction accuracy, focusing only on positive attribute tags to assess discriminative performance.

Experimental results

Research questions

  • RQ1Can a unified deep learning framework effectively support both Image-Based Image Retrieval (IBIR) and Text-Based Image Retrieval (TBIR) in a zero-shot setting?
  • RQ2How can modality heterogeneity between images and text be mitigated in zero-shot hashing?
  • RQ3To what extent does using class-level attributes as a shared semantic space improve zero-shot retrieval performance?
  • RQ4How does attribute prediction accuracy affect the overall performance of the hashing model in unseen categories?
  • RQ5Can the learned hash codes preserve the semantic similarity of original high-dimensional features in a low-dimensional binary space?

Key findings

  • AgNet achieves state-of-the-art performance on both cross-modal and single-modal zero-shot image retrieval tasks across three benchmark datasets: AwA, SUN, and ImageNet.
  • On the AwA dataset, AgNet achieves a mean average precision (mAP) of 85.6% for TBIR and 82.3% for IBIR, outperforming prior SOTA methods.
  • On the SUN dataset, AgNet achieves mAP of 72.1% for TBIR and 69.8% for IBIR, demonstrating robustness despite lower attribute prediction accuracy.
  • The positive-error distance (PED) analysis shows that attribute prediction on AwA is more accurate than on SUN, which correlates with AgNet’s superior performance on AwA.
  • t-SNE visualization confirms that semantic relationships in the attribute space are well preserved in the learned hash space, validating the effectiveness of the embedding mapping.
  • Confusion matrix analysis reveals that while most visual instances are correctly matched to their corresponding textual instances, some confusion occurs in semantically similar categories (e.g., seal and humpback whale), indicating a need for improved disambiguation in such cases.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.