{"id":"2005.11547","title":"DartMinHash: Fast Sketching for Weighted Sets","authors":["Tobias Christiani"],"categories":["cs.DS","cs.IR","cs.LG"],"primary_category":"cs.DS","first_posted":"2020-05-23","updated":"2020-05-23","url":"https://arxiv.vip/abs/2005.11547","arxiv_url":"https://arxiv.org/abs/2005.11547","pdf_url":"https://arxiv.org/pdf/2005.11547","comment_count":0,"abstract":"Weighted minwise hashing is a standard dimensionality reduction technique with applications to similarity search and large-scale kernel machines. We introduce a simple algorithm that takes a weighted set x in mathbbR_>= 0^d and computes k independent minhashes in expected time O(k log k + Vert x Vert_0log( Vert x Vert_1 + 1/Vert x Vert_1)), improving upon the state-of-the-art BagMinHash algorithm (KDD '18) and representing the fastest weighted minhash algorithm for sparse data. Our experiments show running times that scale better with k and Vert x Vert_0 compared to ICWS (ICDM '10) and BagMinhash, obtaining 10x speedups in common use cases. Our approach also gives rise to a technique for computing fully independent locality-sensitive hash values for (L, K)-parameterized approximate near neighbor search under weighted Jaccard similarity in optimal expected time O(LK + Vert x Vert_0), improving on prior work even in the case of unweighted sets.","arxiv_comments":"See https://github.com/tobc/dartminhash for the code accompanying the experiments","journal_ref":null,"doi":null,"license":"http://arxiv.org/licenses/nonexclusive-distrib/1.0/","versions":1,"discussion_url":"https://arxiv.vip/abs/2005.11547#discussion"}