Unsupervised Semantic Hashing with Pairwise Reconstruction

Casper Hansen, Christian Hansen, Jakob Grue Simonsen, Stephen Alstrup, Christina Lioma
7/1/2020
cs.IRcs.CL

Official code: casperhansen/PairRec (9 stars, Python, last commit 2020-07-31).

Abstract

Semantic Hashing is a popular family of methods for efficient similarity search in large-scale datasets. In Semantic Hashing, documents are encoded as short binary vectors (i.e., hash codes), such that semantic similarity can be efficiently computed using the Hamming distance.

Show full abstract

Recent state-of-the-art approaches have utilized weak supervision to train better performing hashing models. Inspired by this, we present Semantic Hashing with Pairwise Reconstruction (PairRec), which is a discrete variational autoencoder based hashing model. PairRec first encodes weakly supervised training pairs (a query document and a semantically similar document) into two hash codes, and then learns to reconstruct the same query document from both of these hash codes (i.e., pairwise reconstruction). This pairwise reconstruction enables our model to encode local neighbourhood structures within the hash code directly through the decoder. We experimentally compare PairRec to traditional and state-of-the-art approaches, and obtain significant performance improvements in the task of document similarity search.

View on arXivView PDF

Code Implementations(1)

Unsupervised Semantic Hashing with Pairwise Reconstruction. SIGIR 2020

91PythonMay 23, 20206 years ago

Similar Papers

Cite this paper

@article{hansen2020unsupervised,
  title  = {Unsupervised Semantic Hashing with Pairwise Reconstruction},
  author = {Casper Hansen and Christian Hansen and Jakob Grue Simonsen and Stephen Alstrup and Christina Lioma},
  year   = {2020},
  eprint = {2007.00380},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2007.00380}
}

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

Discussion