GRAB-ANNS:基于GPU原生分桶的高吞吐索引与混合搜索
GRAB-ANNS: High-Throughput Indexing and Hybrid Search via GPU-Native Bucketing
AI总结:
GRAB-ANNS通过GPU原生分桶技术实现高吞吐混合搜索,提升查询效率和索引构建速度,同时保持高召回率。
摘要:
混合搜索,通过联合优化向量相似性和结构化谓词过滤,已成为现代AI驱动系统的基本构建块。尽管近期的谓词感知ANN索引在CPU上提高了过滤效率,但其性能越来越受到有限内存带宽和并行性的限制。虽然GPU提供大规模并行性和优越的内存带宽,但直接将CPU为中心的混合搜索算法移植到GPU上会导致性能下降,因为存在架构不匹配问题,包括不规则内存访问、分支发散和过多的CPU-GPU同步。在本文中,我们提出了GRAB-ANNS,一种高吞吐、GPU原生的图索引,用于动态混合搜索。我们的关键见解是重新思考混合索引从硬件优先的角度。我们引入了基于分桶的内存布局,将范围谓词转换为轻量级的分桶选择,从而实现合并的内存访问和高效的SIMT执行。为了在任意过滤下保持全局可导航性,我们设计了一种混合图拓扑,结合密集的分桶内局部边和稀疏的分桶间远程边。我们进一步开发了只追加的更新管道,支持高效的批量插入和GPU上的并行图维护。在大规模数据集上的大量实验表明,GRAB-ANNS在查询吞吐量上比最先进的CPU基于系统高240.1倍,在索引构建速度上快12.6倍,同时在优化的GPU原生重写实现中吞吐量高10倍,同时保持高召回率。
英文摘要:
Hybrid search, which jointly optimizes vector similarity and structured predicate filtering, has become a fundamental building block for modern AI-driven systems. While recent predicate-aware ANN indices improve filtering efficiency on CPUs, their performance is increasingly constrained by limited memory bandwidth and parallelism. Although GPUs offer massive parallelism and superior memory bandwidth, directly porting CPU-centric hybrid search algorithms to GPUs leads to severe performance degradation due to architectural mismatches, including irregular memory access, branch divergence, and excessive CPU-GPU synchronization. In this paper, we present GRAB-ANNS, a high-throughput, GPU-native graph index for dynamic hybrid search. Our key insight is to rethink hybrid indexing from a hardware-first perspective. We introduce a bucket-based memory layout that transforms range predicates into lightweight bucket selection, enabling coalesced memory accesses and efficient SIMT execution. To preserve global navigability under arbitrary filters, we design a hybrid graph topology that combines dense intra-bucket local edges with sparse inter-bucket remote edges. We further develop an append-only update pipeline that supports efficient batched insertions and parallel graph maintenance on GPUs. Extensive experiments on large-scale datasets show that GRAB-ANNS achieves up to 240.1 times higher query throughput and 12.6 times faster index construction than state-of-the-art CPU-based systems, and up to 10 times higher throughput compared to optimized GPU-native reimplementations, while maintaining high recall.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。