Deep Priority Hashing

Zhangjie Cao, Ziping Sun, Mingsheng Long, Jianmin Wang, Philip S. Yu
9/4/2018
cs.CV

Official code: thuml/DPH (17 stars, C++, last commit 2019-01-17).

Abstract

Deep hashing enables image retrieval by end-to-end learning of deep representations and hash codes from training data with pairwise similarity information. Subject to the distribution skewness underlying the similarity information, most existing deep hashing methods may underperform for imbalanced data due to misspecified loss functions.

Show full abstract

This paper presents Deep Priority Hashing (DPH), an end-to-end architecture that generates compact and balanced hash codes in a Bayesian learning framework. The main idea is to reshape the standard cross-entropy loss for similarity-preserving learning such that it down-weighs the loss associated to highly-confident pairs. This idea leads to a novel priority cross-entropy loss, which prioritizes the training on uncertain pairs over confident pairs. Also, we propose another priority quantization loss, which prioritizes hard-to-quantize examples for generation of nearly lossless hash codes. Extensive experiments demonstrate that DPH can generate high-quality hash codes and yield state-of-the-art image retrieval results on three datasets, ImageNet, NUS-WIDE, and MS-COCO.

View on arXivView PDF

Code Implementations(1)

thuml/DPHOfficial100%

Code release for "Deep Priority Hashing" (ACMMM 2018)

174C++, PythonJul 14, 20187 years agoNOASSERTION

Similar Papers

Cite this paper

@article{cao2018deep,
  title  = {Deep Priority Hashing},
  author = {Zhangjie Cao and Ziping Sun and Mingsheng Long and Jianmin Wang and Philip S. Yu},
  year   = {2018},
  eprint = {1809.01238},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.01238}
}

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

Discussion