Central Similarity Quantization for Efficient Image and Video Retrieval

Li Yuan, Tao Wang, Xiaopeng Zhang, Francis EH Tay, Zequn Jie +2 more
8/1/2019
cs.CV

Official code: yuanli2333/Hadamard-Matrix-for-hashing (240 stars, Python, MIT, last commit 2022-08-27).

Abstract

Existing data-dependent hashing methods usually learn hash functions from pairwise or triplet data relationships, which only capture the data similarity locally, and often suffer from low learning efficiency and low collision rate. In this work, we propose a new \emph{global} similarity metric, termed as \emph{central similarity}, with which the hash codes of similar data pairs are encouraged to approach a common center and those for dissimilar pairs to converge to different centers, to improve hash learning efficiency and retrieval accuracy.

Show full abstract

We principally formulate the computation of the proposed central similarity metric by introducing a new concept, i.e., \emph{hash center} that refers to a set of data points scattered in the Hamming space with a sufficient mutual distance between each other. We then provide an efficient method to construct well separated hash centers by leveraging the Hadamard matrix and Bernoulli distributions. Finally, we propose the Central Similarity Quantization (CSQ) that optimizes the central similarity between data points w.r.t.\ their hash centers instead of optimizing the local similarity. CSQ is generic and applicable to both image and video hashing scenarios. Extensive experiments on large-scale image and video retrieval tasks demonstrate that CSQ can generate cohesive hash codes for similar data pairs and dispersed hash codes for dissimilar pairs, achieving a noticeable boost in retrieval performance, i.e. 3\%-20\% in mAP over the previous state-of-the-arts. The code is at: \url{https://github.com/yuanli2333/Hadamard-Matrix-for-hashing}

View on arXivView PDF

Code Implementations(1)

MIT

CVPR2020/TNNLS2023: Central Similarity Quantization/Hashing for Efficient Image and Video Retrieval

24045Python, Jupyter NotebookJul 30, 20194 years agoMIT
hadamard-matrixhash-centers

Similar Papers

Cite this paper

@article{yuan2019central,
  title  = {Central Similarity Quantization for Efficient Image and Video Retrieval},
  author = {Li Yuan and Tao Wang and Xiaopeng Zhang and Francis EH Tay and Zequn Jie and Wei Liu and Jiashi Feng},
  year   = {2019},
  eprint = {1908.00347},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1908.00347}
}

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

Discussion