Weighted Contrastive Hashing

Jiaguo Yu, Huming Qiu, Dubing Chen, Haofeng Zhang
9/28/2022
cs.CVcs.IR
contrastive-ssl

Official code: RosieYuu/WCH (9 stars, Python, MIT, last commit 2022-09-23).

Abstract

The development of unsupervised hashing is advanced by the recent popular contrastive learning paradigm. However, previous contrastive learning-based works have been hampered by (1) insufficient data similarity mining based on global-only image representations, and (2) the hash code semantic loss caused by the data augmentation.

Show full abstract

In this paper, we propose a novel method, namely Weighted Contrative Hashing (WCH), to take a step towards solving these two problems. We introduce a novel mutual attention module to alleviate the problem of information asymmetry in network features caused by the missing image structure during contrative augmentation. Furthermore, we explore the fine-grained semantic relations between images, i.e., we divide the images into multiple patches and calculate similarities between patches. The aggregated weighted similarities, which reflect the deep image relations, are distilled to facilitate the hash codes learning with a distillation loss, so as to obtain better retrieval performance. Extensive experiments show that the proposed WCH significantly outperforms existing unsupervised hashing methods on three benchmark datasets.

View on arXivView PDF

Code Implementations(1)

RosieYuu/WCHOfficial100%
MIT
90PythonSep 23, 20224 years agoMIT

Similar Papers

Cite this paper

@article{yu2022weighted,
  title  = {Weighted Contrastive Hashing},
  author = {Jiaguo Yu and Huming Qiu and Dubing Chen and Haofeng Zhang},
  year   = {2022},
  eprint = {2209.14099},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2209.14099}
}

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/2209.14099.svg)](https://codeofpaper.com/paper/2209.14099)

Discussion