Fast Similarity Sketching
Abstract
We consider the problem: Given a universe we want a random function mapping subsets into vectors of size , such that the Jaccard similarity between sets and is preserved. More precisely, define and . We want , and we want to be strongly concentrated around (i.e. Chernoff-style bounds). This is a fundamental problem which has found numerous applications in data mining, large-scale classification, computer vision, similarity search, etc. via the classic MinHash algorithm. The vectors are also called . Strong concentration is critical, for often we want to sketch many sets so that we later, for a query set , can find (one of) the most similar . It is then critical that no looks much more similar to due to errors in the sketch. The seminal algorithm uses random hash functions , and stores as the sketch of . The main drawback of MinHash is, however, its running time, and finding a sketch with similar properties and faster running time has been the subject of several papers. (continued...)
Cite
@article{arxiv.1704.04370,
title = {Fast Similarity Sketching},
author = {Søren Dahlgaard and Mathias Bæk Tejs Langhede and Jakob Bæk Tejs Houen and Mikkel Thorup},
journal= {arXiv preprint arXiv:1704.04370},
year = {2024}
}
Comments
The original version was directly based on a conference paper of the same title from FOCS'17. This new version is substantially revised with some cleaner and stronger theorems, particularly concerning the high probability domain. Moreover, there is one more author, Jakob Houen. In addition, one of the old authors, Mathias, has changed surname from Knudsen to Langhede