Optimal Densification for Fast and Accurate Minwise Hashing
arXiv:1703.04664
Abstract
Minwise hashing is a fundamental and one of the most successful hashing algorithm in the literature. Recent advances based on the idea of densification~\cite{Proc:OneHashLSH_ICML14,Proc:Shrivastava_UAI14} have shown that it is possible to compute minwise hashes, of a vector with nonzeros, in mere computations, a significant improvement over the classical . These advances have led to an algorithmic improvement in the query complexity of traditional indexing algorithms based on minwise hashing. Unfortunately, the variance of the current densification techniques is unnecessarily high, which leads to significantly poor accuracy compared to vanilla minwise hashing, especially when the data is sparse. In this paper, we provide a novel densification scheme which relies on carefully tailored 2-universal hashes. We show that the proposed scheme is variance-optimal, and without losing the runtime efficiency, it is significantly more accurate than existing densification techniques. As a result, we obtain a significantly efficient hashing scheme which has the same variance and collision probability as minwise hashing. Experimental evaluations on real sparse and high-dimensional datasets validate our claims. We believe that given the significant advantages, our method will replace minwise hashing implementations in practice.
Fast Minwise Hashing
References in corpus (3)
Cited by in corpus (8)
- BagMinHash - Minwise Hashing Algorithm for Weighted Sets
- Arrays of (locality-sensitive) Count Estimators (ACE): High-Speed Anomaly Detection via Cache Lookups
- Distributed Tera-Scale Similarity Search with MPI: Provably Efficient Similarity Search over billions without a Single Distance Computation
- A Fast Randomized Algorithm for Massive Text Normalization
- A Fast Sketch Method for Mining User Similarities over Fully Dynamic Graph Streams
- Fast Generating A Large Number of Gumbel-Max Variables
- C-OPH: Improving the Accuracy of One Permutation Hashing (OPH) with Circulant Permutations
- Algorithms for Similarity Search and Pseudorandomness