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

RNSG:一种范围感知的图索引用于高效的范围过滤近似最近邻搜索

RNSG: A Range-Aware Graph Index for Efficient Range-Filtered Approximate Nearest Neighbor Search

Beijing Institute of Technology(北京理工大学);Nanyang Technological University(南洋理工大学)

Zhiqiu Zou, Ziqi Yin, Rong-Hua Li, Hongchao Qin, Qiangqiang Dai, Guoren Wang

AI总结:

本文提出RNSG,一种范围感知图索引,用于高效处理范围过滤近似最近邻搜索。通过理论分析和算法设计,RNSG在查询性能、索引紧凑性和构建成本上均优于现有方法。

摘要:

范围过滤近似最近邻(RFANN)搜索是现代数据系统中的基本操作。给定一组对象,每个对象都有一个向量和一个数值属性,RFANN查询检索出查询向量的最近邻,这些对象的数值属性落在查询指定的范围内。现有最先进的RFANN搜索方法通常需要构建多个范围特定的图索引以实现高性能查询,这带来了显著的索引开销。为此,我们首先建立了新的图索引理论,即范围感知相对邻近图(RRNG),该理论同时考虑空间和属性接近性。我们证明RRNG满足两个关键属性:(1)单调搜索能力,这确保了通过束搜索正确检索最近邻;(2)结构继承性,这保证了任何范围诱导的子图仍然是有效的RRNG,从而使得单个图索引能够高效搜索。基于这一理论基础,我们提出了一种名为RNSG的新图索引作为实用解决方案,能够高效近似RRNG。我们开发了快速算法,用于构建RNSG索引和处理RFANN查询。在五个真实世界数据集上的广泛实验表明,RNSG在查询性能、索引紧凑性和构建成本方面均显著优于现有最先进方法。

英文摘要:

Range-filtered approximate nearest neighbor (RFANN) search is a fundamental operation in modern data systems. Given a set of objects, each with a vector and a numerical attribute, an RFANN query retrieves the nearest neighbors to a query vector among those objects whose numerical attributes fall within the range specified by the query. Existing state-of-the-art methods for RFANN search often require constructing multiple range-specific graph indexes to achieve high query performance, which incurs significant indexing overhead. To address this, we first establish a novel graph indexing theory, the range-aware relative neighborhood graph (RRNG), which jointly considers spatial and attribute proximity. We prove that the RRNG satisfies two crucial properties: (1) monotonic search-ability, which ensures correct nearest neighbor retrieval via beam search; and (2) structural heredity, which guarantees that any range-induced subgraph remains a valid RRNG, thus enabling efficient search with a single graph index. Based on this theoretical foundation, we propose a new graph index called RNSG as a practical solution that efficiently approximates RRNG. We develop fast algorithms for both constructing the RNSG index and processing RFANN queries with it. Extensive experiments on five real-world datasets show that RNSG achieves significantly higher query performance with a more compact index and lower construction cost than existing state-of-the-art methods.

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

↑