arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1110.1328cs.DBcs.AIcs.DScs.IR
收藏

快速相似性搜索的贝叶斯局部敏感哈希算法

Bayesian Locality Sensitive Hashing for Fast Similarity Search

The Ohio State University(俄亥俄州立大学)

Venu Satuluri, Srinivasan Parthasarathy

摘要:

给定一组对象和相关的相似性度量,所有对相似性搜索问题要求我们找到所有相似性大于某个用户指定阈值的对象对。基于局部敏感哈希(LSH)的方法已经成为解决这个问题的一种非常流行的方法。然而,大多数这样的方法仅在相似性搜索的第一阶段使用LSH-即用于候选生成的有效索引。在本文中,我们提出了BayesLSH,一个原则性的贝叶斯算法的后续阶段的相似性搜索-执行候选人修剪和相似性估计使用LSH。一个更简单的变种,贝叶斯LSH-Lite,它计算相似性,也提出了。BayesLSH能够快速修剪掉大部分假阳性候选对,从而使基线方法的速度显著提高。对于BayesLSH,我们还在准确率和召回率方面对输出质量提供概率保证。最后,BayesLSH的输出质量可以很容易地调整,并且不需要手动设置用于相似性估计的哈希数,这与标准方法不同。对于两种最先进的候选生成算法,AllPairs和LSH,BayesLSH能够显著加速,通常在2x-20 x范围内用于各种数据集。

英文摘要:

Given a collection of objects and an associated similarity measure, the all-pairs similarity search problem asks us to find all pairs of objects with similarity greater than a certain user-specified threshold. Locality-sensitive hashing (LSH) based methods have become a very popular approach for this problem. However, most such methods only use LSH for the first phase of similarity search - i.e. efficient indexing for candidate generation. In this paper, we present BayesLSH, a principled Bayesian algorithm for the subsequent phase of similarity search - performing candidate pruning and similarity estimation using LSH. A simpler variant, BayesLSH-Lite, which calculates similarities exactly, is also presented. BayesLSH is able to quickly prune away a large majority of the false positive candidate pairs, leading to significant speedups over baseline approaches. For BayesLSH, we also provide probabilistic guarantees on the quality of the output, both in terms of accuracy and recall. Finally, the quality of BayesLSH's output can be easily tuned and does not require any manual setting of the number of hashes to use for similarity estimation, unlike standard approaches. For two state-of-the-art candidate generation algorithms, AllPairs and LSH, BayesLSH enables significant speedups, typically in the range 2x-20x for a wide variety of datasets.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑