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

基于单个邻近图的地理过滤近似最近邻搜索

Geo-Filtered Approximate Nearest-Neighbor Search on a Single Proximity Graph

Beijing Institute of Technology(北京理工大学)

Zhiqiu Zou, Rong-Hua Li, Qiangqiang Dai, Guoren Wang

AI总结:

提出REACH单图索引解决地理过滤近似最近邻搜索的路径断裂与开销问题,在10^7对象数据集上,其QPS、构建速度与空间占用均优于SOTA方法。

摘要:

地理过滤近似最近邻(GFANN)搜索用于检索查询指定地理圆盘内特征向量最接近查询向量的对象,是感知位置的Web搜索中的核心操作。标准邻近图上的圆盘过滤会使圆盘外的路由顶点失效;在选择性圆盘上,这些移除操作会破坏贪心路径,导致召回率大幅下降。现有方法要么扫描所有圆盘内的对象,过度获取未过滤的候选对象,要么在空间分区间维护独立的子索引,以索引开销为代价换取延迟降低。我们提出REACH,一种基于行局部活动顺序不变性的单图索引:若每个顶点按向量距离将出边邻居存储在固定宽度的行中,任何圆盘过滤都会屏蔽圆盘外的条目,而存活的圆盘内(活动)邻居仍保持向量排序。离线阶段,每个顶点将全局最接近的向量候选与最近优先的地理流合并为一行;在线阶段,束搜索仅对每个访问行的前l个活动条目评估向量距离。由于共位对象与每个查询中心的距离相同,每个圆盘要么完全包含坐标组,要么完全不包含,从而将活动连通性分解为组内和坐标间条件。在具有重复坐标的空间标记位点模型下,我们证明多项式对数的出度可保证所有圆盘间的强连通性,且在紧凑圆盘上每跳的距离减少为常数因子,而割秩阈值则表征了最小扫描预算l。在四个多达10^7个对象的数据集上,每个数据集的一个REACH索引均优于现有最优(SOTA)方法:在选择性查询的Recall@10为0.95时,几何平均查询每秒处理量(QPS)比最强基线高2.49倍,同时构建速度比SOTA空间图索引快3.8至11.9倍,且空间占用减少37%至45%。

英文摘要:

Geo-filtered approximate nearest-neighbor (GFANN) search retrieves the objects inside a query-specified geographic disk whose feature vectors are closest to a query vector, a core operation in location-aware Web search. A disk filter on a standard proximity graph invalidates out-of-disk routing vertices; on selective disks, these removals break greedy paths and recall drops sharply. Existing methods scan all in-disk objects, over-fetch unfiltered candidates, or maintain separate sub-indexes across spatial partitions, trading latency for index overhead. We propose REACH, a single-graph index based on row-local active-order invariance: if every vertex stores its outgoing neighbors in a fixed-width row sorted by vector distance, any disk filter masks out-of-disk entries while surviving in-disk (active) neighbors remain vector-sorted. Offline, each vertex merges globally closest vector candidates with a nearest-first geographic stream into one row; online, beam search evaluates vector distances only for the first l active entries of each visited row. Because co-located objects share the same distance to every query center, every disk admits a coordinate group in full or not at all, decomposing active connectivity into intra-group and inter-coordinate conditions. Under a spatial marked-site model with repeated coordinates, we prove that polylogarithmic out-degree guarantees strong connectivity across all disks and constant-factor distance reduction per hop on compact disks, while a cut-rank threshold characterizes the minimum scan budget l. Across four datasets up to 10^7 objects, one REACH index per dataset outperforms SOTA methods, achieving 2.49x higher geometric-mean QPS than the strongest baseline at 0.95 Recall@10 on selective queries, while building 3.8x-11.9x faster and using 37%-45% less space than a SOTA spatial-graph index.

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

↑