Skip to main content
QUICK REVIEW

[논문 리뷰] GPU-Native Approximate Nearest Neighbor Search with IVF-RaBitQ: Fast Index Build and Search

Jifan Shi, Jianyang Gao|arXiv (Cornell University)|2026. 02. 27.
Advanced Image and Video Retrieval TechniquesComputer Science인용 수 0
한 줄 요약

GPU-native IVF-RaBitQ를 도입—RaBitQ 양자화와 IVF 클러스터링을 GPU에서 결합한 빠른 인덱스 구축, 높은 재현율, GPU에서의Compact 저장소를 제공하는 ANNS. 그래프 기반 및 PQ 기반 바탕에 대한 재현율-처리량 트레이드를 강하게 시연한다.

ABSTRACT

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.

연구 동기 및 목표

  • 대규모 고차원 벡터에 대한 빠르고 메모리 효율적인 GPU ANNS를 모티브화한다.
  • GPU-native RaBitQ 양자화를 IVF와 통합하여 빠른 인덱스 구성과 높은 재현율 검색을 가능하게 한다.
  • 처리량을 극대화하고 저장 공간을 최소화하기 위해 GPU 친화적 양자화, 거리 추정, 융합 커널을 설계한다.

제안 방법

  • GPU 기반 벡터 인코딩을 위한 클러스터-당 RaBitQ 양자화 파이프라인을 개발한다.
  • GPU에서 일정 라운드로 RaBitQ 재스케일링 인자들을 탐색하는 두 단계 병렬 그리드 서치를 제안한다.
  • 후보들을 가지치기하기 위해 1-bit 코드 필터링에 이코드 보정(refinement)을 결합한 두 단계 거리 추정을 채택한다.
  • 필터링, 보정, 상위-K 선택을 결합한 융합된 클러스터-로컬 검색 커널을 구현한다.
  • 메모리 협응(coalescing)을 극대화하기 위해 CSR 유사 인덱스 레이아웃과 인터리브된 1-bit 코드 저장을 설계한다.
  • 재현성 있는 평가를 위해 IVF-RaBitQ를 NVIDIA cuVS Library 및 cuVS Bench에 통합한다.

실험 결과

연구 질문

  • RQ1GPU 네이티브 RaBitQ 양자화가 IVF와 통합될 때 대형 데이터 세트에서 빠른 인덱스 구축 시간과 높은 재현율을 동시에 달성할 수 있는가?
  • RQ21-bit 필터링과 ex-code 보정이 결합된 두 단계 RaBitQ 거리 추정이 재현율을 희생하지 않으면서 높은 처리량을 제공하는가?
  • RQ3IVF-RaBitQ가 재현율, QPS, 인덱스 구축 시간 측면에서 최첨단 그래프 기반 및 PQ 기반 GPU ANNS와 비교하여 어떤 차이가 있는가?

주요 결과

  • 재현율이 약 0.95일 때, IVF-RaBitQ는 CAGRA(그래프 기반)보다 2.2x 높은 QPS를 달성하고 평균적으로 인덱스 구축이 최대 7.7x 더 빠르다.
  • IVF-PQ와 비교할 때, IVF-RaBitQ는 재현율을 크게 해치지 않으면서도 평균적으로 2.7x 이상의 처리량을 제공하고, 원시 벡터 재랭킹이 필요하지 않은 저장 공간 측면의 부담도 비슷하다.
  • cuVS Bench 평가 전반에서 IVF-RaBitQ는 빠른 인덱스 구축과 감소된 저장 공간 필요를 포함한 재현율-처리량-저장 균형이 유리한 모습을 보인다.
  • GPU-네이티브 RaBitQ 양자화는 IVF 프레임워크 내에서 대규모 벡터(예: 1M 벡터의 960D당 초) 양자를 가능하게 한다.
  • 두 단계 거리 추정(1-bit 필터링 후 ex-code 보정)과 융합 커널 설계는 커널 런칭 수와 전역 메모리 트래픽을 줄여 높은 처리량을 유지한다.

이 논문 읽기

누빈트 뷰어에서 원문을 열고, 읽으면서 궁금한 곳을 바로 물어보세요.

누빈트에서 이 논문 읽기

이 리뷰는 AI가 논문 원문을 바탕으로 만들었습니다. 인용하기 전에 원문을 확인해 주세요.