GleanVec:通过极简非线性降维加速向量搜索
GleanVec: Accelerating vector search with minimalist nonlinear dimensionality reduction
AI总结:
针对高维向量搜索在跨模态等场景下准确率低、计算内存压力大的问题,提出无超参数线性降维方法LeanVec-Sphering和分段线性非线性降维方法GleanVec,在分布内外查询下均提升了向量搜索的准确率与效率,达当前最优水平。
摘要:
嵌入模型可生成高维向量,其相似度反映语义关联。因此,在大规模向量集合中准确、及时地检索出与给定查询相似的向量,已成为众多应用的关键组成部分。尤其是跨模态检索(例如用文本查询查找图像)正快速发展。在此场景下,由于查询的统计分布通常与数据库向量不同,实现高准确率颇具挑战。此外,向量的高维度给这些搜索系统带来了计算和内存压力,导致性能不佳。本研究提出了新的线性和非线性降维方法,用于在分布内(ID)和分布外(OOD)查询场景下,在保持准确率的同时加速高维向量搜索。线性方法LeanVec-Sphering(精益向量-球面化)性能优于其他线性方法,训练速度更快,无超参数,且能更灵活地设置目标维度。非线性方法Generalized LeanVec(GleanVec,广义精益向量)采用分段线性方案进一步提升搜索准确率,同时保持计算轻量。初步实验结果表明,LeanVec-Sphering和GleanVec刷新了向量搜索的当前最优水平。
英文摘要:
Embedding models can generate high-dimensional vectors whose similarity reflects semantic affinities. Thus, accurately and timely retrieving those vectors in a large collection that are similar to a given query has become a critical component of a wide range of applications. In particular, cross-modal retrieval (e.g., where a text query is used to find images) is gaining momentum rapidly. Here, it is challenging to achieve high accuracy as the queries often have different statistical distributions than the database vectors. Moreover, the high vector dimensionality puts these search systems under compute and memory pressure, leading to subpar performance. In this work, we present new linear and nonlinear methods for dimensionality reduction to accelerate high-dimensional vector search while maintaining accuracy in settings with in-distribution (ID) and out-of-distribution (OOD) queries. The linear LeanVec-Sphering outperforms other linear methods, trains faster, comes with no hyperparameters, and allows to set the target dimensionality more flexibly. The nonlinear Generalized LeanVec (GleanVec) uses a piecewise linear scheme to further improve the search accuracy while remaining computationally nimble. Initial experimental results show that LeanVec-Sphering and GleanVec push the state of the art for vector search.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。