Papers
Topics
Authors
Recent
Search
2000 character limit reached

On the Problem of p1−1p_1^{-1} in Locality-Sensitive Hashing

Published 25 May 2020 in cs.DS | (2005.12065v1)

Abstract: A Locality-Sensitive Hash (LSH) function is called (r,cr,p1,p2)(r,cr,p_1,p_2)-sensitive, if two data-points with a distance less than rr collide with probability at least p1p_1 while data points with a distance greater than crcr collide with probability at most p2p_2. These functions form the basis of the successful Indyk-Motwani algorithm (STOC 1998) for nearest neighbour problems. In particular one may build a cc-approximate nearest neighbour data structure with query time O~(n<sup>ρ/p1)\tilde O(n<sup>\rho/p_1) where ρ=log⁡1/p1log⁡1/p2∈(0,1)\rho=\frac{\log1/p_1}{\log1/p_2}\in(0,1). That is, sub-linear time, as long as p1p_1 is not too small. This is significant since most high dimensional nearest neighbour problems suffer from the curse of dimensionality, and can't be solved exact, faster than a brute force linear-time scan of the database. Unfortunately, the best LSH functions tend to have very low collision probabilities, p1p_1 and p2p_2. Including the best functions for Cosine and Jaccard Similarity. This means that the n<sup>ρ/p1n<sup>\rho/p_1 query time of LSH is often not sub-linear after all, even for approximate nearest neighbours! In this paper, we improve the general Indyk-Motwani algorithm to reduce the query time of LSH to O~(n<sup>ρ/p1<sup>1−ρ)\tilde O(n<sup>\rho/p_1<sup>{1-\rho}) (and the space usage correspondingly.) Since $n<sup>\rho</sup> p_1<sup>{\rho-1}</sup> &lt; n \Leftrightarrow p_1 &gt; n<sup>{-1}$, our algorithm always obtains sublinear query time, for any collision probabilities at least $1/n$. For p1p_1 and p2p_2 small enough, our improvement over all previous methods can be \emph{up to a factor nn} in both query time and space. The improvement comes from a simple change to the Indyk-Motwani algorithm, which can easily be implemented in existing software packages.

Authors (1)
Citations (3)

Summary

No one has generated a summary of this paper yet.

Paper to Video (Beta)

No one has generated a video about this paper yet.

Whiteboard

No one has generated a whiteboard explanation for this paper yet.

Open Problems

We haven't generated a list of open problems mentioned in this paper yet.

Continue Learning

We haven't generated follow-up questions for this paper yet.