arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2207.07823cs.DB
收藏

DB-LSH:基于查询的动态桶的局部敏感哈希

DB-LSH: Locality-Sensitive Hashing with Query-based Dynamic Bucketing

Yao Tian, Xi Zhao, Xiaofang Zhou

摘要:

在高维近似最近邻搜索问题的众多解决方案中,局部敏感哈希算法(LSH)以其次线性查询时间和可靠的查询精度理论保证而闻名。传统的LSH方法可以从哈希表中快速生成少量的候选项,但是存在索引大小过大和哈希边界问题。最近的研究,以解决这些问题往往会产生额外的开销,以确定合格的候选人或删除误报,使查询时间不再是次线性的。为了解决这个难题,在本文中,我们提出了一种新的LSH计划称为DB-LSH,它支持高效的人工神经网络搜索大型高维数据集。它使用多维索引组织投影空间,而不是使用固定宽度的哈希桶。我们的方法可以显着减少空间成本,因为避免了需要维护许多哈希表不同的桶大小。在DB-LSH的查询阶段,通过基于索引的窗口查询,动态构造具有所需宽度的基于查询的超立方桶,可以高效地生成少量高质量的候选项。对于$n$-$c$维点集,我们严格的理论分析表明,DB-LSH实现了更小的查询成本${O(n^{ρ^*} d\log n)}$,其中${ρ^*}$由${1/c^α}$界定,而在现有的工作中,界限是${1/c}$。对真实数据的广泛实验表明,DB-LSH在效率和准确性方面优于最先进的方法。

英文摘要:

Among many solutions to the high-dimensional approximate nearest neighbor (ANN) search problem, locality sensitive hashing (LSH) is known for its sub-linear query time and robust theoretical guarantee on query accuracy. Traditional LSH methods can generate a small number of candidates quickly from hash tables but suffer from large index sizes and hash boundary problems. Recent studies to address these issues often incur extra overhead to identify eligible candidates or remove false positives, making query time no longer sub-linear. To address this dilemma, in this paper we propose a novel LSH scheme called DB-LSH which supports efficient ANN search for large high-dimensional datasets. It organizes the projected spaces with multi-dimensional indexes rather than using fixed-width hash buckets. Our approach can significantly reduce the space cost as by avoiding the need to maintain many hash tables for different bucket sizes. During the query phase of DB-LSH, a small number of high-quality candidates can be generated efficiently by dynamically constructing query-based hypercubic buckets with the required widths through index-based window queries. For a dataset of $n$ $d$-dimensional points with approximation ratio $c$, our rigorous theoretical analysis shows that DB-LSH achieves a smaller query cost ${O(n^{ρ^*} d\log n)}$, where ${ρ^*}$ is bounded by ${1/c^α}$ while the bound is ${1/c}$ in the existing work. An extensive range of experiments on real-world data demonstrates the superiority of DB-LSH over state-of-the-art methods on both efficiency and accuracy.

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

↑