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

增强HNSW索引以支持实时更新:解决不可达点与性能下降问题

Enhancing HNSW Index for Real-Time Updates: Addressing Unreachable Points and Performance Degradation

Wentao Xiao, Yueyang Zhan, Rui Xi, Mengshu Hou, Jianming Liao

AI总结:

针对HNSW索引在实时更新中存在的不可达点现象与性能下降问题,提出MN-RU算法提升更新效率、抑制不可达点增长,性能优于现有方法且易集成到工业现有索引中。

摘要:

近似最近邻搜索(ANNS)是数据挖掘与信息检索中的基础核心组件,其中基于图的方法相比其他方案表现出更优的性能。已有大量研究通过开发各类基于图的索引(例如HNSW,即分层可导航小世界)来提升搜索效率。然而,当面临大量实时删除、插入和更新操作时,HNSW及大多数基于图的索引的性能会变得无法接受。此外,在更新操作过程中,HNSW可能导致部分数据点变为不可达,我们将这种情况称为“不可达点现象”。该现象在某些场景下会显著影响图的搜索精度。\n为解决这些问题,我们提出了高效方案来克服HNSW的缺陷,专门针对长期删除和更新操作下的性能不佳问题,同时解决不可达点现象引发的问题。我们提出的MN-RU算法有效提升了更新效率,抑制了不可达点的增长速率,保障了更优的整体性能并维持了图的完整性。实验结果表明,我们的方法优于现有方案。此外,由于我们的方法基于HNSW,可轻松集成到工业界广泛使用的现有索引中,具备实际落地应用的潜力。代码可在https://github.com/xwt1/MN-RU.git获取。

英文摘要:

The approximate nearest neighbor search (ANNS) is a fundamental and essential component in data mining and information retrieval, with graph-based methodologies demonstrating superior performance compared to alternative approaches. Extensive research efforts have been dedicated to improving search efficiency by developing various graph-based indices, such as HNSW (Hierarchical Navigable Small World). However, the performance of HNSW and most graph-based indices become unacceptable when faced with a large number of real-time deletions, insertions, and updates. Furthermore, during update operations, HNSW can result in some data points becoming unreachable, a situation we refer to as the `unreachable points phenomenon'. This phenomenon could significantly affect the search accuracy of the graph in certain situations. To address these issues, we present efficient measures to overcome the shortcomings of HNSW, specifically addressing poor performance over long periods of delete and update operations and resolving the issues caused by the unreachable points phenomenon. Our proposed MN-RU algorithm effectively improves update efficiency and suppresses the growth rate of unreachable points, ensuring better overall performance and maintaining the integrity of the graph. Our results demonstrate that our methods outperform existing approaches. Furthermore, since our methods are based on HNSW, they can be easily integrated with existing indices widely used in the industrial field, making them practical for future real-world applications. Code is available at \url{https://github.com/xwt1/MN-RU.git}

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

↑