COMAE: COMprehensive Attribute Exploration for Zero-shot Hashing

Yihang Zhou, Qingqing Long, Yuchen Yan, Xiao Luo, Zeyu Dong, Xuezhi Wang, Zhen Meng, Pengfei Wang, Yuanchun Zhou

Introduction

In large-scale image retrieval, hashing is the preferred method for efficiency, converting complex visual data into short binary strings for rapid searching in Hamming space. However, traditional hashing methods often fail when encountering "unseen" categories—objects not present during the training phase. Zero-Shot Hashing (ZSH) addresses this by using shared semantic attributes as a bridge between known and unknown classes.

COMAE (COMprehensive Attribute Exploration) is a novel ZSH framework that overcomes the limitations of previous models by meticulously mining visual attributes at point-wise (local), pair-wise (contextual), and class-wise (global) levels. This approach creates highly discriminative binary codes that significantly outperform existing state-of-the-art models while offering substantial gains in training efficiency.

Methodology: Multi-Level Attribute Exploration

COMAE addresses three major gaps in current ZSH research: the neglect of local fine-grained details, the lack of relationship modeling between instances, and fragmented learning processes. The framework introduces three consistency constraints to create a cohesive learning environment.

The COMAE architecture integrates point-wise, pair-wise, and class-wise consistency constraints to learn discriminative hash codes for zero-shot image retrieval.

Point-wise Attribute Consistency

Rather than relying solely on global image features, COMAE employs an Attribute Prototype Network. This module learns "prototypes" (embeddings) for specific visual features and matches them with local image regions. By focusing on local details like a bird's beak or wing color, the model captures features that are inherently more transferable across different categories.

Pair-wise Attribute Consistency

Leveraging contrastive learning, COMAE identifies relationships between images based on continuous attribute values. By treating attributes as continuous rather than binary, the model captures nuanced distances between instances. This forces the model to understand the context of attributes, such as how different species might share a specific shade of plumage.

Class-wise Attribute Exploration

This module aligns global image features with class-level attribute vectors. Through joint optimization, COMAE ensures that hash codes, visual representations, and semantic attributes are learned in a way that maximizes inter-class distance while maintaining intra-class compactness.

Experimental Evaluation

The researchers evaluated COMAE on three benchmark datasets: AWA2 (Animals with Attributes 2), CUB (Caltech-UCSD Birds-200-2011), and SUN (Scene UNderstanding).

Key Results and Performance

COMAE consistently outperformed all baselines, including TSK, ASZH, and PIXEL, across all datasets and bit lengths. On the AWA2 dataset at 128 bits, COMAE achieved a mean Average Precision (mAP) of 0.5801, a significant improvement over the previous best of 0.5465.

Retrieval performance (mAP@k) of COMAE compared to various state-of-the-art hashing methods across different numbers of returned samples.

Beyond accuracy, COMAE demonstrated remarkable efficiency and robustness:

  • Efficiency: On the SUN dataset, COMAE reduced training time by over 91.7% compared to the PIXEL model (47 seconds vs. 568 seconds per epoch) and improved inference speed by 67.5%.
  • Robustness: The model showed significantly less performance degradation than competitors when the ratio of unseen classes was increased, proving its effectiveness in true zero-shot scenarios.

Conclusion and Future Work

COMAE represents a significant step forward in zero-shot hashing by integrating local, contextual, and global attribute exploration. While the model occasionally struggles with semantic drift in highly fine-grained or occluded images, its ability to generalize through local feature mining and continuous attribute modeling sets a new standard for the field. Future research will focus on refining spatial attention mechanisms to better handle complex visual occlusions.

Summary updated

BibTeX
@inproceedings{zhou2024comae,
  author = {Yihang Zhou and Qingqing Long and Yuchen Yan and Xiao Luo and Zeyu Dong and Xuezhi Wang and Zhen Meng and Pengfei Wang and Yuanchun Zhou},
  title = {{COMAE: COMprehensive Attribute Exploration for Zero-shot Hashing}},
  booktitle = {ICMR},
  year = {2024},
  url = {https://openreview.net/forum?id=8B3xa3dyyS},
}
Figure