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

FGIM: 一种基于图的索引合并框架用于近邻搜索

FGIM: a Fast Graph-based Indexes Merging Framework for Approximate Nearest Neighbor Search

East China Normal University(华东师范大学);Ant Group(蚂蚁集团);Tongji University(同济大学);HKUST (GZ)(香港科技大学(广州));HKUST(香港科技大学);Beihang University(北京航空航天大学);Shanghai Jiaotong University(上海交通大学)

Zekai Wu, Jiabao Jin, Peng Cheng, Xiaoyao Zhong, Lei Chen, Yongxin Tong, Zhitao Shen, Jingkuan Song, Heng Tao Shen, Xuemin Lin

AI总结:

本文提出FGIM框架,通过三种核心技术提升图索引合并效率,实验显示其在多种近邻搜索方法中实现显著加速且保持性能。

摘要:

作为高维数据检索的最新方法,基于图的近邻搜索(ANNS)方法在许多实际应用中扮演重要角色,如检索增强生成(RAG)和推荐系统。与以往专注于设计高效图基ANNS方法的研究不同,本文探讨将多个现有图基索引合并为一个的方法,这在许多实际场景中也很关键(例如分布式系统中的聚类合并和实时向量数据库中的读写冲突)。我们提出了一个快速图基索引合并(FGIM)框架,包含三个核心技术:(1)将接近图(PGs)转换为k最近邻图(k-NNG)以从输入图基索引中提取潜在候选邻居;(2)k-NNG精炼用于识别被忽视的高质量邻居并维持图连通性;(3)k-NNG到PG的转换以提高图导航性和增强搜索性能。然后,我们将FGIM框架与最先进的ANNS方法HNSW及其他现有主流图基方法结合,以展示其通用性和合并效率。在六个真实世界数据集上的广泛实验表明,FGIM框架适用于各种主流图基ANNS方法,比HNSW的增量构建快3.5倍,而无增量支持的方法平均快7.9倍,同时保持可比或更优的搜索性能。

英文摘要:

As the state-of-the-art methods for high-dimensional data retrieval, Approximate Nearest Neighbor Search (ANNS) approaches with graph-based indexes have attracted increasing attention and play a crucial role in many real-world applications, e.g., retrieval-augmented generation (RAG) and recommendation systems. Unlike the extensive works focused on designing efficient graph-based ANNS methods, this paper delves into merging multiple existing graph-based indexes into a single one, which is also crucial in many real-world scenarios (e.g., cluster consolidation in distributed systems and read-write contention in real-time vector databases). We propose a Fast Graph-based Indexes Merging (FGIM) framework with three core techniques: (1) Proximity Graphs (PGs) to k Nearest Neighbor Graph (k-NNG) transformation used to extract potential candidate neighbors from input graph-based indexes through cross-querying, (2) k-NNG refinement designed to identify overlooked high-quality neighbors and maintain graph connectivity, and (3) k-NNG to PG transformation aimed at improving graph navigability and enhancing search performance. Then, we integrate our FGIM framework with the state-of-the-art ANNS method, HNSW, and other existing mainstream graph-based methods to demonstrate its generality and merging efficiency. Extensive experiments on six real-world datasets show that our FGIM framework is applicable to various mainstream graph-based ANNS methods, achieves up to 3.5X speedup over HNSW's incremental construction and an average of 7.9X speedup for methods without incremental support, while maintaining comparable or superior search performance.

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

↑