论文标题
db-lsh:具有基于查询的动态桶的局部敏感散列
DB-LSH: Locality-Sensitive Hashing with Query-based Dynamic Bucketing
论文作者
论文摘要
在高维近似近似邻居(ANN)搜索问题的许多解决方案中,位置敏感的哈希(LSH)以其亚线性查询时间和在查询准确性方面的稳健理论保证而闻名。传统的LSH方法可以从哈希表中快速产生少数候选者,但遇到了较大的指数大小和哈希边界问题。解决这些问题的最新研究通常会产生额外的开销,以识别合格的候选人或删除误报,从而使查询时间不再是下线。为了解决这一难题,在本文中,我们提出了一种名为DB-LSH的新型LSH方案,该方案支持有效的ANN搜索大型高维数据集。它通过多维索引组织预测的空间,而不是使用固定宽度的哈希桶。我们的方法可以大大降低空间成本,因为避免需要维持许多不同铲斗尺寸的哈希表。在DB-LSH的查询阶段,可以通过基于基于索引的窗口查询的必要宽度动态构建基于查询的高素质桶来有效地生成少数高质量的候选物。对于$ n $ $ d $ d $二维点的数据集,近似值$ c $,我们严格的理论分析表明,db-lsh实现了较小的查询成本$ {o(n^{ρ^*} d \ log n)} $,其中$ {ρ^*} $在其中$ {ρ^*} $ and 1/c} $ {1/c^ac} $ { 工作。关于现实世界数据的广泛实验范围表明,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.