带图范围过滤的近似最近邻搜索
Approximate Nearest Neighbor Search with Graph Range Filters
AI总结:
提出DLH索引,利用距离感知标签集和哈希压缩实现图范围过滤的近似最近邻搜索,并通过记忆化优化DLH-M,吞吐量提升70.3%,召回率超98.5%。
摘要:
向量数据库已成为人工智能应用中高维向量检索的基础组件。近期研究聚焦于过滤式近似最近邻搜索(filtered ANN),即检索满足给定属性过滤条件的最近向量。然而,现有过滤通常局限于数值范围约束或类别存在性检查,限制了其在更复杂真实场景中的适用性。本文研究使用图范围过滤的filtered ANN,其中检索向量必须在预定义过滤图中与查询节点保持指定距离内。为解决该问题,我们提出DLH,一种带有哈希压缩的距离感知标签索引。DLH创建距离感知标签集,通过简化集合交集操作实现高效的图范围过滤。在DLH中,大型标签集进一步压缩为布隆过滤器以提高查询效率。此外,鉴于查询节点始终参与图范围过滤的范围内查询,我们通过记忆查询节点的中间哈希索引来增强DLH,得到优化版本DLH-M。在多种数据集上的实验评估表明,DLH和DLH-M的吞吐量提升高达70.3%,且能在有限额外存储下保持超过98.5%的召回率,验证了所提方案的实际可行性。
英文摘要:
Vector databases have become a fundamental component for high-dimensional vector retrieval in artificial intelligence applications. Recent research has focused on filtered approximate nearest neighbor search (filtered ANN), which involves retrieving the nearest vectors that satisfy a given attribute-based filter. However, existing filters are generally limited to numerical range constraints or categorical existence checks, which restricts their applicability in more complex, real-world scenarios. In this paper, we investigate filtered ANN using graph range filters, where the retrieved vectors must be within a specified distance from the query node in a predefined filter graph. To address this problem, we propose DLH, a Distance-aware Labeling index with Hashing compression. DLH creates distance-aware labeling sets to enable efficient graph range filters via the simplified set intersection operations. Large labeling sets are further compressed into Bloom filters to improve query efficiency in DLH. Furthermore, recognizing that the query node is always involved in in-range queries of the graph range filters, we enhance DLH by memoizing the intermediate hashing index for the query node, yielding an optimized version called DLH-M. Experimental evaluations on diverse datasets demonstrate that DLH and DLH-M improve throughput by up to 70.3%, and could maintain recall rates over 98.5% with limited extra storage, validating the practical availability of the proposed solution.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。