高效的分布式局部敏感哈希算法
Efficient Distributed Locality Sensitive Hashing
摘要:
分布式框架在处理大量数据的应用程序中得到越来越广泛的使用。一个重要的示例应用是大规模相似性搜索,对于该搜索,局部敏感哈希(LSH)已经成为选择的方法,特别是当数据是高维的时。LSH的核心是将数据点散列到多个桶中,这样类似的点更有可能映射到相同的桶。为了保证高搜索质量,LSH方案需要相当大数量的哈希表。这需要很大的空间需求,并且在分布式设置中,每个查询需要每个哈希桶查找的网络调用,这也需要很大的网络负载。Panigrahy提出的Entropy LSH方案通过查找除了查询本身之外的多个查询偏移量来显著减少所需的哈希表的数量。虽然这提高了LSH空间需求,但它无助于(实际上是降低了)搜索网络效率,因为现在每个查询偏移都需要一个网络调用。本文以$l_2$范数下的欧氏空间为研究对象,在熵LSH的基础上,提出了分布式分层LSH方案,并证明了该方案在保证不同机器间负载均衡的同时,使网络开销呈指数级下降.我们的实验还验证了我们的计划的结果在一个显着的网络流量减少,带来了大的运行时间改善在现实世界中的应用程序。
英文摘要:
Distributed frameworks are gaining increasingly widespread use in applications that process large amounts of data. One important example application is large scale similarity search, for which Locality Sensitive Hashing (LSH) has emerged as the method of choice, specially when the data is high-dimensional. At its core, LSH is based on hashing the data points to a number of buckets such that similar points are more likely to map to the same buckets. To guarantee high search quality, the LSH scheme needs a rather large number of hash tables. This entails a large space requirement, and in the distributed setting, with each query requiring a network call per hash bucket look up, this also entails a big network load. The Entropy LSH scheme proposed by Panigrahy significantly reduces the number of required hash tables by looking up a number of query offsets in addition to the query itself. While this improves the LSH space requirement, it does not help with (and in fact worsens) the search network efficiency, as now each query offset requires a network call. In this paper, focusing on the Euclidian space under $l_2$ norm and building up on Entropy LSH, we propose the distributed Layered LSH scheme, and prove that it exponentially decreases the network cost, while maintaining a good load balance between different machines. Our experiments also verify that our scheme results in a significant network traffic reduction that brings about large runtime improvement in real world applications.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。