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

快速收敛的邻近图用于近似最近邻搜索

Fast-Convergent Proximity Graphs for Approximate Nearest Neighbor Search

The Hong Kong University of Science and Technology (Guangzhou)(香港科技大学(广州));Wuhan University(武汉大学)

Binhong Li, Xiao Yan, Shangqi Lu

AI总结:

本文提出α-CNG,一种快速收敛的邻近图结构,通过局部修剪规则和优化提升高维近似最近邻搜索效率。

摘要:

高维度度量空间中的近似最近邻(ANN)搜索是一个基础性问题,具有广泛的应用。在过去十年中,基于邻近图(PG)的索引在经验性能上优于其他方法。然而,这些方法往往缺乏关于查询结果质量的理论保证,尤其是在最坏情况场景中。在本文中,我们引入了α收敛图(α-CG),一种新的PG结构,它采用了一种精心设计的边修剪规则。该规则通过在p、其现有出邻接点和新候选者之间应用移位缩放的三角不等式来消除候选邻居。如果查询点q与其精确最近邻v*之间的距离不超过某个常数τ(τ>0),则我们的α-CG可以在假设数据集具有有界内在维度的情况下,以多项对数时间找到精确最近邻;否则,它可以在相同时间内找到一个ANN。为了提高可扩展性,我们开发了α收敛邻近图(α-CNG),一种实用的变体,它在每个点的邻居内部局部应用修剪规则。我们还引入了优化措施以减少索引构建时间。实验结果表明,我们的α-CNG在真实世界数据集上优于现有的PGs。对于大多数数据集,与表现最佳的基线相比,α-CNG可以将距离计算和搜索步骤的数量分别减少超过15%和45%。

英文摘要:

Approximate nearest neighbor (ANN) search in high-dimensional metric spaces is a fundamental problem with many applications. Over the past decade, proximity graph (PG)-based indexes have demonstrated superior empirical performance over alternatives. However, these methods often lack theoretical guarantees regarding the quality of query results, especially in the worst-case scenarios. In this paper, we introduce the α-convergent graph (α-CG), a new PG structure that employs a carefully designed edge pruning rule. This rule eliminates candidate neighbors for each data point p by applying the shifted-scaled triangle inequalities among p, its existing out-neighbors, and new candidates. If the distance between the query point q and its exact nearest neighbor v* is at most τ for some constant τ > 0, our α-CG finds the exact nearest neighbor in poly-logarithmic time, assuming bounded intrinsic dimensionality for the dataset; otherwise, it can find an ANN in the same time. To enhance scalability, we develop the α-convergent neighborhood graph (α-CNG), a practical variant that applies the pruning rule locally within each point's neighbors. We also introduce optimizations to reduce the index construction time. Experimental results show that our α-CNG outperforms existing PGs on real-world datasets. For most datasets, α-CNG can reduce the number of distance computations and search steps by over 15% and 45%, respectively, when compared with the best-performing baseline.

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

↑