arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2201.03237cs.IR
收藏

基于树的近似最近邻搜索图

Tree-based Search Graph for Approximate Nearest Neighbor Search

Xiaobin Fan, Xiaoping Wang, Kai Lu, Lei Xue, Jinjing Zhao

摘要:

最近邻搜索在数据库、机器学习、计算机视觉等领域有着重要的应用。由于精确搜索的计算代价太高,因此人们转向了近似最近邻搜索(ANNS)的研究。其中,基于图的算法是最重要的分支之一。Fu等人的研究表明,基于单调搜索网络(MSNET)的算法,如NSG和NSSG,在效率上达到了最先进的搜索性能。MSNET致力于以最小的节点出度实现单调搜索,以追求高效率。然而,目前的MSNET设计并没有优化单调搜索的概率,概率的下限只有50%。如果它们在单调搜索阶段失败,它们必须承受巨大的回溯代价才能达到所需的精度。这将导致搜索效率方面的性能问题。为了解决这个问题,我们提出了(r,p)-MSNET,它实现了保证概率单调搜索。由于严格的(r,p)-MSNET的高建设复杂性,我们提出了TBSG,这是一个低复杂度的近似。在400万规模的数据集上进行的实验表明,TBSG在搜索效率上优于现有的最先进的基于图的算法。我们的代码已经发布在Github上。

英文摘要:

Nearest neighbor search supports important applications in many domains, such as database, machine learning, computer vision. Since the computational cost for accurate search is too high, the community turned to the research of approximate nearest neighbor search (ANNS). Among them, graph-based algorithm is one of the most important branches. Research by Fu et al. shows that the algorithms based on Monotonic Search Network (MSNET), such as NSG and NSSG, have achieved the state-of-the-art search performance in efficiency. The MSNET is dedicated to achieving monotonic search with minimal out-degree of nodes to pursue high efficiency. However, the current MSNET designs did not optimize the probability of the monotonic search, and the lower bound of the probability is only 50%. If they fail in monotonic search stage, they have to suffer tremendous backtracking cost to achieve the required accuracy. This will cause performance problems in search efficiency. To address this problem, we propose (r,p)-MSNET, which achieves guaranteed probability on monotonic search. Due to the high building complexity of a strict (r,p)-MSNET, we propose TBSG, which is an approximation with low complexity. Experiment conducted on four million-scaled datasets show that TBSG outperforms existing state-of-the-art graph-based algorithms in search efficiency. Our code has been released on Github.

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

↑