Fast Locality Sensitive Hashing with Theoretical Guarantee

Zongyuan Tan, Hongya Wang, Bo Xu, Minjie Luo, Ming Du
9/27/2023
cs.LGcs.DS

No confident code implementation found for this paper.

Abstract

Locality-sensitive hashing (LSH) is an effective randomized technique widely used in many machine learning tasks. The cost of hashing is proportional to data dimensions, and thus often the performance bottleneck when dimensionality is high and the number of hash functions involved is large.

Show full abstract

Surprisingly, however, little work has been done to improve the efficiency of LSH computation. In this paper, we design a simple yet efficient LSH scheme, named FastLSH, under l2 norm. By combining random sampling and random projection, FastLSH reduces the time complexity from O(n) to O(m) (m<n), where n is the data dimensionality and m is the number of sampled dimensions. Moreover, FastLSH has provable LSH property, which distinguishes it from the non-LSH fast sketches. We conduct comprehensive experiments over a collection of real and synthetic datasets for the nearest neighbor search task. Experimental results demonstrate that FastLSH is on par with the state-of-the-arts in terms of answer quality, space occupation and query efficiency, while enjoying up to 80x speedup in hash function evaluation. We believe that FastLSH is a promising alternative to the classic LSH scheme.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{tan2023fast,
  title  = {Fast Locality Sensitive Hashing with Theoretical Guarantee},
  author = {Zongyuan Tan and Hongya Wang and Bo Xu and Minjie Luo and Ming Du},
  year   = {2023},
  eprint = {2309.15479},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2309.15479v1}
}

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

Discussion