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

AlayaLaser:面向大规模高维向量相似性搜索的高效索引布局与搜索策略

AlayaLaser: Efficient Index Layout and Search Strategy for Large-scale High-dimensional Vector Similarity Search

SUSTech(南方科技大学);AlayaDB AI(阿来亚数据库人工智能);University of Edinburgh(爱丁堡大学)

Weijian Chen, Haotian Liu, Yangshen Deng, Long Xiang, Liang Huang, Bo Tang

AI总结:

针对磁盘图索引在高维向量检索中计算瓶颈问题,提出基于SIMD优化的新数据布局及缓存、入口点选择等策略,性能超越现有磁盘索引并媲美内存索引。

摘要:

基于磁盘的图近似最近邻搜索(ANNS)对于大规模高维向量检索至关重要,但其性能普遍被认为受到高昂I/O成本的限制。有趣的是,我们观察到随着向量数据维度的增加(例如数百或数千),基于磁盘的图索引系统的性能受计算限制,而非I/O限制。这一洞察揭示了一个重要的优化机会:现有的基于磁盘的图索引系统普遍以I/O减少为目标,而很大程度上忽视了计算开销,这留下了显著的性能提升空间。在这项工作中,我们提出了AlayaLaser,一个高效的基于磁盘的图索引系统,用于大规模高维向量相似性搜索。具体而言,我们首先通过适配的屋顶线模型对现有基于磁盘的图索引系统进行性能分析,然后利用现代CPU上的SIMD指令,设计了一种新颖的磁盘数据布局,有效缓解了上述屋顶线模型分析揭示的计算瓶颈。接下来,我们设计了一系列优化技术(例如基于度的节点缓存、基于聚类的入口点选择和早期调度策略)以进一步提升AlayaLaser的性能。最后,我们在各种大规模高维向量数据集上进行了广泛的实验研究,以验证AlayaLaser的优越性。具体来说,AlayaLaser不仅超越了现有的基于磁盘的图索引系统,而且达到甚至超过了内存索引系统的性能。

英文摘要:

On-disk graph-based approximate nearest neighbor search (ANNS) is essential for large-scale, high-dimensional vector retrieval, yet its performance is widely recognized to be limited by the prohibitive I/O costs. Interestingly, we observed that the performance of on-disk graph-based index systems is compute-bound, not I/O-bound, with the rising of the vector data dimensionality (e.g., hundreds or thousands). This insight uncovers a significant optimization opportunity: existing on-disk graph-based index systems universally target I/O reduction and largely overlook computational overhead, which leaves a substantial performance improvement space. In this work, we propose AlayaLaser, an efficient on-disk graph-based index system for large-scale high-dimensional vector similarity search. In particular, we first conduct performance analysis on existing on-disk graph-based index systems via the adapted roofline model, then we devise a novel on-disk data layout in AlayaLaser to effectively alleviate the compute-bound, which is revealed by the above roofline model analysis, by exploiting SIMD instructions on modern CPUs. We next design a suite of optimization techniques (e.g., degree-based node cache, cluster-based entry point selection, and early dispatch strategy) to further improve the performance of AlayaLaser. We last conduct extensive experimental studies on a wide range of large-scale high-dimensional vector datasets to verify the superiority of AlayaLaser. Specifically, AlayaLaser not only surpasses existing on-disk graph-based index systems but also matches or even exceeds the performance of in-memory index systems.

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

↑