Attention-guided Contrastive Hashing for Long-tailed Image Retrieval

Attention-guided Contrastive Hashing for Long-tailed Image Retrieval

Xuan Kou, Chenghao Xu, Xu Yang, Cheng Deng

Proceedings of the Thirty-First International Joint Conference on Artificial Intelligence
Main Track. Pages 1017-1023. https://doi.org/10.24963/ijcai.2022/142

Image hashing is to represent an image using a binary code for efficient storage and accurate retrieval. Recently, deep hashing methods have shown great improvements on ideally balanced datasets, however, long-tailed data is more common due to rare samples or data collection costs in the real world. Toward that end, this paper introduces a simple yet effective model named Attention-guided Contrastive Hashing Network (ACHNet) for long-tailed hashing. Specifically, a cross attention feature enhancement module is proposed to predict the importance of features for hashing, alleviating the loss of information originated from data dimension reduction. Moreover, unlike recently sota contrastive methods that focus on instance-level discrimination, we optimize an innovative category-centered contrastive hashing to obtain discriminative results, which is more suitable for long-tailed scenarios. Experiments on two popular benchmarks verify the superiority of the proposed method. Our code is available at: https://github.com/KUXN98/ACHNet.
Keywords:
Computer Vision: Image and Video retrieval 
Computer Vision: Recognition (object detection, categorization)
Computer Vision: Representation Learning