The high efficiency in computation and storage makes hashing (including binary hashing and quantization) a common strategy in large-scale retrieval systems. To alleviate the reliance on expensive annotations, unsupervised deep hashing becomes an important research problem. This paper provides a novel solution to unsupervised deep quantization, namely Contrastive Quantization with Code Memory (MeCoQ). Different from existing reconstruction-based strategies, we learn unsupervised binary descriptors by contrastive learning, which can better capture discriminative visual semantics. Besides, we uncover that codeword diversity regularization is critical to prevent contrastive learning-based quantization from model degeneration. Moreover, we introduce a novel quantization code memory module that boosts contrastive learning with lower feature drift than conventional feature memories. Extensive experiments on benchmark datasets show that MeCoQ outperforms state-of-the-art methods. Code and configurations are publicly available at https://github.com/gimpong/AAAI22-MeCoQ.
@article{arxiv.2109.05205,
title = {Contrastive Quantization with Code Memory for Unsupervised Image Retrieval},
author = {Jinpeng Wang and Ziyun Zeng and Bin Chen and Tao Dai and Shu-Tao Xia},
journal= {arXiv preprint arXiv:2109.05205},
year = {2022}
}
Comments
Accepted for AAAI'22 (Oral). 9 pages, 4 figures, 3 tables