相对NN-Descent:一种用于基于图的近似最近邻搜索的快速索引构建方法
Relative NN-Descent: A Fast Index Construction for Graph-Based Approximate Nearest Neighbor Search
AI总结:
本文提出RNN-Descent算法,通过结合NN-Descent和RNG Strategy直接构建基于图的ANNS索引,在保持与NSG相当搜索性能的同时实现最快构建速度。
摘要:
近似最近邻搜索(ANNS)的任务是找到与给定查询向量最接近的数据库向量。基于图的ANNS是百万级数据集上在准确率与速度之间具有最佳平衡的方法族。然而,基于图的方法存在索引构建时间长的缺点。近年来,许多研究者改进了搜索过程中准确率与速度之间的权衡,但关于加速索引构建的研究却很少。我们提出了一种快速图构建算法——Relative NN-Descent(RNN-Descent)。RNN-Descent结合了NN-Descent(一种用于构建近似K近邻图(K-NN图)的算法)和RNG Strategy(一种用于选择对搜索有效的边的算法)。该算法允许在不进行ANNS的情况下直接构建基于图的索引。实验结果表明,所提出的方法具有最快的索引构建速度,同时其搜索性能可与现有最先进的方法(如NSG)相媲美。例如,在GIST1M数据集上的实验中,所提出方法的构建速度比NSG快2倍。此外,它甚至比NN-Descent的构建速度更快。
英文摘要:
Approximate Nearest Neighbor Search (ANNS) is the task of finding the database vector that is closest to a given query vector. Graph-based ANNS is the family of methods with the best balance of accuracy and speed for million-scale datasets. However, graph-based methods have the disadvantage of long index construction time. Recently, many researchers have improved the tradeoff between accuracy and speed during a search. However, there is little research on accelerating index construction. We propose a fast graph construction algorithm, Relative NN-Descent (RNN-Descent). RNN-Descent combines NN-Descent, an algorithm for constructing approximate K-nearest neighbor graphs (K-NN graphs), and RNG Strategy, an algorithm for selecting edges effective for search. This algorithm allows the direct construction of graph-based indexes without ANNS. Experimental results demonstrated that the proposed method had the fastest index construction speed, while its search performance is comparable to existing state-of-the-art methods such as NSG. For example, in experiments on the GIST1M dataset, the construction of the proposed method is 2x faster than NSG. Additionally, it was even faster than the construction speed of NN-Descent.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。