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

云原生向量搜索:全面性能分析

Cloud-Native Vector Search: A Comprehensive Performance Analysis

University of Illinois Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Bytedance(字节跳动)

Zhaoheng Li, Wei Ding, Silu Huang, Zikang Wang, Yuanjin Lin, Ke Wu, Yongjoo Park, Jianjun Chen

AI总结:

本文研究云原生向量搜索的性能,分析集群与图索引的优劣,指出图索引在高并发和高维数据场景中更优,并探讨缓存优化对索引性能的影响。

摘要:

向量搜索已被广泛应用于推荐系统和检索增强生成管道中,通常通过向量索引高效地在大数据集中查找相似项。近年来数据和任务复杂度的增长推动了将向量索引放置在远程存储上——即云原生向量搜索,云提供商最近已推出相关服务。然而,尽管工作负载特征各异且可用的向量索引形式多样,提供商默认使用基于集群的索引,从理论上讲,这些索引能很好地适应磁盘和云环境之间的差异:它们的获取粒度和缺乏显著的查询内依赖性,分别与较大的最佳获取大小和最小化昂贵的往返(即与基于图的索引相比)到远程存储相一致。本文系统研究了云原生向量搜索:对于云上的向量搜索,索引应该如何构建和使用?我们分析了两种常见索引类(集群索引和图索引)在远程存储上的瓶颈,并表明尽管当前在云上标准采用集群索引,但在需要高并发和召回率的工作负载中,或在处理高维数据或大数据类型时,图索引更受青睐。我们进一步发现,云上的搜索需求与在磁盘上的搜索相比,对索引和搜索参数化有显著不同的要求,以获得最佳性能。最后,我们将现有的基于云的缓存设置纳入向量搜索,并发现某些索引优化会对抗缓存,并研究如何通过各种可用缓存大小来缓解这一问题以最大化收益。

英文摘要:

Vector search has been widely employed in recommender system and retrieval-augmented-generation pipelines, commonly performed with vector indexes to efficiently find similar items in large datasets. Recent growths in both data and task complexity have motivated placing vector indexes onto remote storage -- cloud-native vector search, which cloud providers have recently introduced services for. Yet, despite varying workload characteristics and various available vector index forms, providers default to using cluster-based indexes, which on paper do adapt well to differences between disk and cloud-based environment: their fetch granularities and lack of notable intra-query dependencies aligns with the large optimal fetch sizes and minimizes costly round-trips (i.e., as opposed to graph-based indexes) to remote storage, respectively. This paper systematically studies cloud-native vector search: What and how should indexes be built and used for on-cloud vector search? We analyze bottlenecks of two common index classes, cluster and graph indexes, on remote storage, and show that despite current standardized adoption of cluster indexes on the cloud, graph indexes are favored in workloads requiring high concurrency and recall, or operating on high-dimensional data or large datatypes. We further find that on-cloud search demands significantly different indexing and search parameterizations versus on-disk search for optimal performance. Finally, we incorporate existing cloud-based caching setups into vector search and find that certain index optimizations work against caching, and study how this can be mitigated to maximize gains under various available cache sizes.

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

↑