Re-randomized Densification for One Permutation Hashing and Bin-wise Consistent Weighted Sampling
Ping Li, Xiaoyun Li, Cun-Hui Zhang
Abstract
Jaccard similarity is widely used as a distance measure in many machine learning and search applications. Typically, hashing methods are essential for the use of Jaccard similarity to be practical in large-scale settings. For hashing binary (0/1) data, the idea of one permutation hashing (OPH) with densification significantly accelerates traditional minwise hashing algorithms while providing unbiased and accurate estimates. In this paper, we propose a strategy named “re-randomization” in the process of densification that could achieve the smallest variance among all densification schemes. The success of this idea naturally inspires us to generalize one permutation hashing to weighted (non-binary) data, which results in the socalled “bin-wise consistent weighted sampling (BCWS)” algorithm. We analyze the behavior of BCWS and compare it with a recent alternative. Extensive experiments on various datasets illustrates the effectiveness of our proposed methods.
BibTeX
@inproceedings{NEURIPS2019_9f067d8d,
author = {Li, Ping and Li, Xiaoyun and Zhang, Cun-Hui},
booktitle = {Advances in Neural Information Processing Systems},
editor = {H. Wallach and H. Larochelle and A. Beygelzimer and F. d\textquotesingle Alch\'{e}-Buc and E. Fox and R. Garnett},
pages = {},
publisher = {Curran Associates, Inc.},
title = {Re-randomized Densification for One Permutation Hashing and Bin-wise Consistent Weighted Sampling},
url = {https://proceedings.neurips.cc/paper_files/paper/2019/file/9f067d8d6df2d4b8c64fb4c084d6c208-Paper.pdf},
volume = {32},
year = {2019}
}