基于分组测试的实用近邻搜索
Practical Near Neighbor Search via Group Testing
摘要:
我们提出了一个新的算法的近似近邻问题,结合经典的思想,从组测试与局部敏感哈希(LSH)。我们将近邻搜索问题简化为一个组测试问题,将近邻指定为“阳性”,将非近邻指定为“阴性”,并将近似成员查询指定为组测试。我们使用距离敏感的布隆过滤器来识别近邻组(FLINNG)实例化这个框架。我们证明了FLINNG具有次线性查询时间,并表明我们的算法具有各种实际的优势。例如,FLINNG可以在数据的单次传递中构造,完全由高效的整数运算组成,并且不需要任何距离计算。我们进行了大规模的实验,高维搜索任务,如基因组搜索,URL相似性搜索,嵌入搜索在大规模的YFCC 100 M数据集。在与HNSW和FAISS等领先算法的比较中,我们发现FLINNG可以提供高达10倍的查询加速,索引时间和内存都大大减少。
英文摘要:
We present a new algorithm for the approximate near neighbor problem that combines classical ideas from group testing with locality-sensitive hashing (LSH). We reduce the near neighbor search problem to a group testing problem by designating neighbors as "positives," non-neighbors as "negatives," and approximate membership queries as group tests. We instantiate this framework using distance-sensitive Bloom Filters to Identify Near-Neighbor Groups (FLINNG). We prove that FLINNG has sub-linear query time and show that our algorithm comes with a variety of practical advantages. For example, FLINNG can be constructed in a single pass through the data, consists entirely of efficient integer operations, and does not require any distance computations. We conduct large-scale experiments on high-dimensional search tasks such as genome search, URL similarity search, and embedding search over the massive YFCC100M dataset. In our comparison with leading algorithms such as HNSW and FAISS, we find that FLINNG can provide up to a 10x query speedup with substantially smaller indexing time and memory.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。