Curator:面向多租户向量数据库的高效索引
Curator: Efficient Indexing for Multi-Tenant Vector Databases
AI总结:
本文提出 Curator,一种面向多租户向量数据库的内存索引,通过将租户特定聚类树编码为共享聚类树的子树,同时实现低内存开销和高查询、插入、删除性能。
摘要:
向量数据库已成为连接智能应用与非结构化数据的关键使能技术,为从原始非结构化数据中提取的嵌入向量提供通用的搜索和管理支持。由于多个数据使用者可以共享同一数据库基础设施,对向量数据库的多租户支持日益受到关注。这依赖于高效的过滤搜索操作,即仅查询特定租户可访问的向量。目前,向量数据库中的多租户实现方式主要有两种:在所有租户之间构建单一共享索引,或为每个租户构建独立索引。前者以牺牲搜索性能为代价优化内存效率,而后者则相反。本文提出了 Curator,一种专为多租户查询设计的内存向量索引,能够同时实现两个相互冲突的目标:低内存开销以及查询、向量插入和删除的高性能。Curator 使用租户特定的聚类树为每个租户的向量建立索引,并将这些树紧凑地编码为共享聚类树的子树。每个租户的聚类树根据其独特的向量分布动态自适应,同时保持较低的每租户内存占用。基于两个广泛使用的数据集进行的评估证实,Curator 的搜索性能与每租户独立索引相当,同时内存消耗保持在单一共享索引上元数据过滤的同等水平。
英文摘要:
Vector databases have emerged as key enablers for bridging intelligent applications with unstructured data, providing generic search and management support for embedding vectors extracted from the raw unstructured data. As multiple data users can share the same database infrastructure, multi-tenancy support for vector databases is increasingly desirable. This hinges on an efficient filtered search operation, i.e., only querying the vectors accessible to a particular tenant. Multi-tenancy in vector databases is currently achieved by building either a single, shared index among all tenants, or a per-tenant index. The former optimizes for memory efficiency at the expense of search performance, while the latter does the opposite. Instead, this paper presents Curator, an in-memory vector index design tailored for multi-tenant queries that simultaneously achieves the two conflicting goals, low memory overhead and high performance for queries, vector insertion, and deletion. Curator indexes each tenant's vectors with a tenant-specific clustering tree and encodes these trees compactly as sub-trees of a shared clustering tree. Each tenant's clustering tree adapts dynamically to its unique vector distribution, while maintaining a low per-tenant memory footprint. Our evaluation, based on two widely used data sets, confirms that Curator delivers search performance on par with per-tenant indexing, while maintaining memory consumption at the same level as metadata filtering on a single, shared index.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。