arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2604.20121cs.DB
收藏

面向多属性范围过滤的近邻搜索加速框架

A GPU-Accelerated Framework for Multi-Attribute Range Filtered Approximate Nearest Neighbor Search

Zhonggen Li, Haoran Yu, Zixuan Xu, Yifan Zhu, Yunjun Gao

AI总结:

本文提出Garfield框架,通过轻量索引结构和硬件感知执行流水线,解决传统方法在索引膨胀和构建开销上的问题,实现更高效的GPU加速多属性范围过滤近邻搜索。

摘要:

范围过滤的近邻搜索(RFANNS)对现代向量数据库至关重要。然而,现有方法存在严重的索引膨胀和构建开销问题,并且依赖CPU进行索引和查询处理,限制了吞吐量。本文提出Garfield,一种面向多属性范围过滤的近邻搜索加速框架,通过设计轻量索引结构和硬件感知执行流水线克服这些瓶颈。Garfield引入GMG索引,将数据划分为单元格并构建局部图索引。通过添加常数数量的跨单元格边,保证线性存储和索引开销。对于查询,Garfield采用集群引导排序策略,重新排序相关查询单元格,实现高效的GPU单元格遍历,通过在单元格间重用候选者作为入口点来提高效率。为处理超过GPU内存的数据集,Garfield具有面向单元格的外存流水线。它动态调度单元格以最小化每个批次的活跃查询数量,并重叠GPU计算与CPU到GPU的索引流。大量评估表明,Garfield将索引大小减少4.4倍,同时比最先进的RFANNS方法提高119.8倍的吞吐量。

英文摘要:

Range-filtered approximate nearest neighbor search (RFANNS) is increasingly critical for modern vector databases. However, existing solutions suffer from severe index inflation and construction overhead. Furthermore, they rely exclusively on CPUs for the heavy indexing and query processing, significantly restricting the throughput due to the limited memory bandwidth and parallelism. In this paper, we present Garfield, a GPU-accelerated framework for multi-attribute range filtered ANNS that overcomes these bottlenecks through designing a lightweight index structure and hardware-aware execution pipeline. Garfield introduces the GMG index, which partitions data into cells and builds local graph indexes. It guarantees linear storage and indexing overhead by adding a constant number of cross-cell edges. For queries, Garfield utilizes a cluster-guided ordering strategy that reorders query-relevant cells, enabling a highly efficient cell-by-cell traversal on the GPU that aggressively reuses candidates as entry points across cells. To handle datasets exceeding GPU memory, Garfield features a cell-oriented out-of-core pipeline. It dynamically schedules cells to minimize the number of active queries per batch and overlaps GPU computation with CPU-to-GPU index streaming. Extensive evaluations demonstrate that Garfield reduces index size by 4.4x, while delivering 119.8x higher throughput than state-of-the-art RFANNS methods.

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

↑