[论文解读] GPU-Native Approximate Nearest Neighbor Search with IVF-RaBitQ: Fast Index Build and Search
tldr: 引入 IVF-RaBitQ(GPU)—一种原生于 GPU 的 ANNS,它将 IVF 聚类与 RaBitQ 量化融合,以在 GPU 上实现快速索引构建、高召回率和紧凑存储。相对于基于图和基于 PQ 的基线,展示了强召回-吞吐量权衡。
Approximate nearest neighbor search (ANNS) on GPUs is gaining increasing popularity for modern retrieval and recommendation workloads that operate over massive high-dimensional vectors. Graph-based indexes deliver high recall and throughput but incur heavy build-time and storage costs. In contrast, cluster-based methods build and scale efficiently yet often need many probes for high recall, straining memory bandwidth and compute. Aiming to simultaneously achieve fast index build, high-throughput search, high recall, and low storage requirement for GPUs, we present IVF-RaBitQ (GPU), a GPU-native ANNS solution that integrates the cluster-based method IVF with RaBitQ quantization into an efficient GPU index build/search pipeline. Specifically, for index build, we develop a scalable GPU-native RaBitQ quantization method that enables fast and accurate low-bit encoding at scale. For search, we develop GPU-native distance computation schemes for RaBitQ codes and a fused search kernel to achieve high throughput with high recall. With IVF-RaBitQ implemented and integrated into the NVIDIA cuVS Library, experiments on cuVS Bench across multiple datasets show that IVF-RaBitQ offers a strong performance frontier in recall, throughput, index build time, and storage footprint. For Recall approximately equal to 0.95, IVF-RaBitQ achieves 2.2x higher QPS than the state-of-the-art graph-based method CAGRA, while also constructing indices 7.7x faster on average. Compared to the cluster-based method IVF-PQ, IVF-RaBitQ delivers on average over 2.7x higher throughput while avoiding accessing the raw vectors for reranking.
研究动机与目标
- Motivate fast, memory-efficient GPU ANNS for large-scale high-dimensional vectors.
- Develop a GPU-native RaBitQ quantization integrated with IVF to enable fast index construction and high-recall search.
- Design GPU-friendly quantization, distance estimation, and fused kernels to maximize throughput and minimize storage.
提出的方法
- Develop a cluster-at-a-time RaBitQ quantization pipeline for GPU-based vector encoding.
- Propose a two-phase parallel grid-search to explore RaBitQ rescaling factors with constant rounds on GPUs.
- Adopt a two-stage distance estimation (1-bit code filtering followed by ex-code refinement) to prune candidates.
- Implement a fused cluster-local search kernel that combines filtering, refinement, and top-K selection.
- Design a GPU-oriented CSR-like index layout and interleaved 1-bit code storage to maximize memory coalescing.
- Integrate IVF-RaBitQ into NVIDIA cuVS Library and cuVS Bench for reproducible evaluation.
实验结果
研究问题
- RQ1Can GPU-native RaBitQ quantization integrated with IVF achieve fast index build times while maintaining high recall on large datasets?
- RQ2Does the two-stage RaBitQ distance estimation with 1-bit filtering and ex-code refinement yield high throughput without sacrificing recall?
- RQ3How does IVF-RaBitQ compare to state-of-the-art graph-based and PQ-based GPU ANNS in recall, QPS, and index construction time?
主要发现
- For Recall around 0.95, IVF-RaBitQ attains 2.2x higher QPS than CAGRA (graph-based) while building indices up to 7.7x faster on average.
- Compared with IVF-PQ, IVF-RaBitQ delivers on average over 2.7x higher throughput with similar index build cost and storage footprint, without needing raw-vector reranking.
- Across cuVS Bench evaluations, IVF-RaBitQ demonstrates favorable recall-throughput-storage trade-offs, including fast index construction and reduced storage needs.
- The GPU-native RaBitQ quantization enables quantizing over large-scale vectors (e.g., 1M vectors at 960D per second) within the IVF framework.
- The two-stage distance estimation (1-bit filtering then ex-code refinement) plus fused kernel design reduces kernel launches and global-memory traffic, maintaining high throughput.
阅读本论文
在 Nubint 阅读器中打开原文,边读边就任意段落提问。
在 Nubint 中阅读本论文本解读由 AI 根据论文原文生成,引用前请核对原文。