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

流式向量搜索的局部自适应量化

Locally-Adaptive Quantization for Streaming Vector Search

Intel Labs(英特尔实验室)

Cecilia Aguerrebere, Mark Hildebrand, Ishwar Singh Bhati, Theodore Willke, Mariano Tepper

AI总结:

本研究探索局部自适应向量量化(LVQ)在流式相似性搜索中的应用,提出Turbo LVQ和多均值LVQ两种改进,分别提升搜索性能高达28%和27%,并在相同分布及分布偏移场景下比最接近的竞争对手快9.4倍和8.8倍,相关成果已开源。

摘要:

在大量向量集合中检索与给定查询最相似的向量嵌入,长期以来一直是无数实际应用的关键组成部分。最近引入的检索增强生成是最突出的例子之一。对于许多此类应用,数据库会随时间演变,通过插入新数据和删除过时数据进行更新。在这些情况下,检索问题被称为流式相似性搜索。虽然局部自适应向量量化(LVQ)作为一种高效的向量压缩方法,在非演变数据库中产生了最先进的搜索性能,但其在流式设置中的实用性尚未得到证实。在这项工作中,我们研究了流式相似性搜索中的LVQ。为支持我们的评估,我们引入了LVQ的两项改进:Turbo LVQ和多均值LVQ,它们分别将搜索性能提升了高达28%和27%。我们的研究表明,LVQ及其新变体能够实现极快的向量搜索,在相同分布的数据上,其性能比最接近的竞争对手高出高达9.4倍,在数据分布偏移(即数据的统计分布随时间变化)的挑战性场景下,性能高出高达8.8倍。我们将我们的贡献作为可扩展向量搜索(Scalable Vector Search)的一部分发布,这是一个用于高性能相似性搜索的开源库。

英文摘要:

Retrieving the most similar vector embeddings to a given query among a massive collection of vectors has long been a key component of countless real-world applications. The recently introduced Retrieval-Augmented Generation is one of the most prominent examples. For many of these applications, the database evolves over time by inserting new data and removing outdated data. In these cases, the retrieval problem is known as streaming similarity search. While Locally-Adaptive Vector Quantization (LVQ), a highly efficient vector compression method, yields state-of-the-art search performance for non-evolving databases, its usefulness in the streaming setting has not been yet established. In this work, we study LVQ in streaming similarity search. In support of our evaluation, we introduce two improvements of LVQ: Turbo LVQ and multi-means LVQ that boost its search performance by up to 28% and 27%, respectively. Our studies show that LVQ and its new variants enable blazing fast vector search, outperforming its closest competitor by up to 9.4x for identically distributed data and by up to 8.8x under the challenging scenario of data distribution shifts (i.e., where the statistical distribution of the data changes over time). We release our contributions as part of Scalable Vector Search, an open-source library for high-performance similarity search.

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

↑