Skip to main content
QUICK REVIEW

[Paper Review] Central Similarity Quantization for Efficient Image and Video Retrieval

Yuan, Li, Tao Wang|arXiv (Cornell University)|Aug 1, 2019
Advanced Image and Video Retrieval TechniquesComputer Science43 references19 citations
TL;DR

This paper proposes Central Similarity Quantization (CSQ), a novel deep hashing method that improves image and video retrieval by learning hash codes through a global central similarity metric. Instead of optimizing local pairwise or triplet similarities, CSQ encourages similar data to converge toward predefined, well-separated hash centers—constructed via Hadamard matrices or Bernoulli sampling—resulting in state-of-the-art mAP gains of 3%-20% over prior methods on large-scale benchmarks.

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. 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}

Motivation & Objective

  • To address the inefficiency and limited discriminability of pairwise/triplet-based hashing methods that rely on local similarity relationships.
  • To improve hash learning efficiency and retrieval accuracy by introducing a global similarity metric based on hash centers in Hamming space.
  • To develop a generic, scalable method applicable to both image and video retrieval tasks with minimal computational overhead.
  • To validate that pre-computed, analytically constructed hash centers outperform learned centers in terms of retrieval performance and training efficiency.

Proposed method

  • Introduces the concept of a 'hash center'—a set of binary vectors in Hamming space with sufficient mutual Hamming distance to ensure separability.
  • Constructs hash centers using Hadamard matrices to achieve maximal pairwise Hamming distance, ensuring strong separation.
  • Alternately generates hash centers via random sampling from Bernoulli distributions, proven to yield sufficiently separated centers.
  • Proposes Central Similarity Quantization (CSQ), a deep learning framework that optimizes the Hamming distance between data hash codes and their corresponding hash centers.
  • Uses a CNN backbone for feature extraction and a differentiable hash layer to produce binary codes, trained end-to-end with central similarity loss.
  • Employs a quantization loss to enforce binary outputs, ensuring compatibility with Hamming space retrieval.

Experimental results

Research questions

  • RQ1Can a global similarity metric based on hash centers outperform local pairwise/triplet similarity in deep hashing?
  • RQ2Does using analytically constructed hash centers (via Hadamard or Bernoulli) yield better retrieval performance than learned centers?
  • RQ3How does central similarity learning affect mAP and training efficiency compared to traditional pairwise similarity in large-scale image and video retrieval?
  • RQ4What is the impact of combining central similarity loss with pairwise similarity or quantization loss in the training objective?

Key findings

  • CSQ achieves state-of-the-art performance on image and video retrieval benchmarks, with mAP improvements of 3% to 20% over prior methods.
  • On ImageNet, CSQ achieves 87.3% mAP@1000 with 64-bit codes, outperforming RepMet Center (82.7%) and Face Center (74.4%).
  • On UCF101, CSQ reaches 87.5% mAP@100 with 32-bit codes, surpassing Magnet Center (79.3%) and RepMet Center (82.9%).
  • Ablation studies show that adding pairwise similarity loss to CSQ yields minimal mAP gains, while removing central similarity loss causes significant performance drops.
  • Pre-computed hash centers (via Hadamard or Bernoulli) consistently outperform learned centers (Face Center, Magnet Center, RepMet Center), despite lower computational cost.
  • The heat maps of Hamming distances confirm that CSQ produces cohesive intra-class compactness and inter-class dispersion, with dissimilar pairs well-separated in Hamming space.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.