TY - JOUR AU - Li, Xiaoyun AU - Li, Ping PY - 2021/05/18 Y2 - 2024/03/29 TI - Rejection Sampling for Weighted Jaccard Similarity Revisited JF - Proceedings of the AAAI Conference on Artificial Intelligence JA - AAAI VL - 35 IS - 5 SE - AAAI Technical Track on Data Mining and Knowledge Management DO - 10.1609/aaai.v35i5.16543 UR - https://ojs.aaai.org/index.php/AAAI/article/view/16543 SP - 4197-4205 AB - Efficiently computing the weighted Jaccard similarity has become an active research topic in machine learning and theory. For sparse data, the standard technique is based on the consistent weighed sampling (CWS). For dense data, however, methods based on rejection sampling (RS) can be much more efficient. Nevertheless, existing RS methods are still slow for practical purposes. In this paper, we propose to improve RS by a strategy, which we call efficient rejection sampling (ERS), based on ``early stopping + densification''. We analyze the statistical property of ERS and provide experimental results to compare ERS with RS and other algorithms for hashing weighted Jaccard. The results demonstrate that ERS significantly improves the existing methods for estimating the weighted Jaccard similarity in relatively dense data. ER -