Norm-Ranging LSH for Maximum Inner Product Search

Xiao Yan, Jinfeng Li, Xinyan Dai, Hongzhi Chen, James Cheng
9/24/2018
cs.LGstat.ML

Official code: xinyandai/similarity-search (20 stars, C++, MIT, last commit 2019-05-10).

Abstract

Neyshabur and Srebro proposed Simple-LSH, which is the state-of-the-art hashing method for maximum inner product search (MIPS) with performance guarantee. We found that the performance of Simple-LSH, in both theory and practice, suffers from long tails in the 2-norm distribution of real datasets.

Show full abstract

We propose Norm-ranging LSH, which addresses the excessive normalization problem caused by long tails in Simple-LSH by partitioning a dataset into multiple sub-datasets and building a hash index for each sub-dataset independently. We prove that Norm-ranging LSH has lower query time complexity than Simple-LSH. We also show that the idea of partitioning the dataset can improve other hashing based methods for MIPS. To support efficient query processing on the hash indexes of the sub-datasets, a novel similarity metric is formulated. Experiments show that Norm-ranging LSH achieves an order of magnitude speedup over Simple-LSH for the same recall, thus significantly benefiting applications that involve MIPS.

View on arXivView PDF

Code Implementations(1)

MIT

A framework for index based similarity search.

2010C++, ShellAug 7, 20187 years agoMIT
clusterlshvector-quantization

Similar Papers

Cite this paper

@article{yan2018normranging,
  title  = {Norm-Ranging LSH for Maximum Inner Product Search},
  author = {Xiao Yan and Jinfeng Li and Xinyan Dai and Hongzhi Chen and James Cheng},
  year   = {2018},
  eprint = {1809.08782},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/1809.08782}
}

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

Discussion