Contrastive Quantization with Code Memory for Unsupervised Image Retrieval

Jinpeng Wang, Ziyun Zeng, Bin Chen, Tao Dai, Shu-Tao Xia
9/11/2021
cs.CVcs.AIcs.IR
contrastive-ssl

Official code: gimpong/AAAI22-MeCoQ (37 stars, Python, last commit 2022-10-21).

Abstract

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.

Show full abstract

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.

View on arXivView PDF

Code Implementations(1)

The code for the paper "Contrastive Quantization with Code Memory for Unsupervised Image Retrieval" (AAAI'22, Oral).

373Python, ShellMar 8, 20224 years ago
aaaiaaai2022contrastive-learningdeep-hashinghashing+3 more

Similar Papers

Cite this paper

@article{wang2021contrastive,
  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},
  year   = {2021},
  eprint = {2109.05205},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2109.05205}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2109.05205.svg)](https://codeofpaper.com/paper/2109.05205)

Discussion