Curator: 基于低选择性过滤的高效向量搜索
Curator: Efficient Vector Search with Low-Selectivity Filters
AI总结:
Curator通过双索引架构和基于分区的索引,有效处理低选择性过滤的ANNS,提升查询效率并降低资源消耗。
摘要:
基于嵌入的密集检索已成为许多关键应用的基石,其中近似最近邻搜索(ANNS)查询通常与日期、价格范围等标签的过滤器结合使用。图基索引在未过滤的ANNS上实现了最先进的性能,但在低选择性过滤查询中会遇到连接断裂的问题,因为合格向量变得稀疏,它们之间的图结构会破碎。最近的研究提出了专门的图索引来解决这个问题,通过扩展图度数,但导致了极高的构建成本。鉴于图基方法的固有限制,我们主张双索引架构,并提出Curator,一种基于分区的索引,它可以补充现有的图基方法以处理低选择性过滤的ANNS。Curator在共享的聚类树内为不同的标签构建专门的索引,每个索引适应其合格向量的分布,以确保高效的搜索,同时共享结构以最小化内存开销。系统还支持增量更新,并通过高效构建临时索引来处理任意复杂的谓词,而不仅仅是单标签过滤器。我们的评估表明,将Curator与最先进的图索引结合使用,可以将低选择性查询延迟降低多达20.9倍,而构建时间和内存开销分别仅增加5.5%和4.3%。
英文摘要:
Embedding-based dense retrieval has become the cornerstone of many critical applications, where approximate nearest neighbor search (ANNS) queries are often combined with filters on labels such as dates and price ranges. Graph-based indexes achieve state-of-the-art performance on unfiltered ANNS but encounter connectivity breakdown on low-selectivity filtered queries, where qualifying vectors become sparse and the graph structure among them fragments. Recent research proposes specialized graph indexes that address this issue by expanding graph degree, which incurs prohibitively high construction costs. Given these inherent limitations of graph-based methods, we argue for a dual-index architecture and present Curator, a partition-based index that complements existing graph-based approaches for low-selectivity filtered ANNS. Curator builds specialized indexes for different labels within a shared clustering tree, where each index adapts to the distribution of its qualifying vectors to ensure efficient search while sharing structure to minimize memory overhead. The system also supports incremental updates and handles arbitrary complex predicates beyond single-label filters by efficiently constructing temporary indexes on the fly. Our evaluation demonstrates that integrating Curator with state-of-the-art graph indexes reduces low-selectivity query latency by up to 20.9x compared to pre-filtering fallback, while increasing construction time and memory footprint by only 5.5% and 4.3%, respectively.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。