GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directions

Yaowen Liu, Xuejia Chen, Anxin Tian, Haoyang Li, Qinbin Li, Xin Zhang, Alexander Zhou, Chen Jason Zhang, Qing Li, Lei Chen · DOI

Abstract

Approximate Nearest Neighbor Search (ANNS) underpins many large-scale data mining and machine learning applications, with efficient retrieval increasingly hinging on GPU acceleration as dataset sizes grow. Although graph-based approaches represent the state of the art in approximate nearest neighbor search, there is a lack of systematic understanding regarding their optimization for modern GPU architectures and their end-to-end effectiveness in practical scenarios. In this work, we present a comprehensive survey and experimental study of GPU-accelerated graph-based vector search algorithms. We establish a detailed taxonomy of GPU optimization strategies and clarify the mapping between algorithmic tasks and hardware execution units within GPUs. Through a thorough evaluation of six leading algorithms on eight large-scale benchmark datasets, we assess both graph index construction and query search performance. Our analysis reveals that distance computation remains the primary computational bottleneck, while data transfer between the host CPU and GPU emerges as the dominant factor influencing real-world latency at large scale. We also highlight key trade-offs in scalability and memory usage across different system designs. Our findings offer clear guidelines for designing scalable and robust GPU-powered approximate nearest neighbor search systems, and provide a comprehensive benchmark for the knowledge discovery and data mining community.

Introduction

In the era of Large Language Models (LLMs) and sophisticated recommendation systems, the ability to retrieve similar vectors from billion-scale datasets instantaneously is paramount. This task, known as Approximate Nearest Neighbor Search (ANNS), has traditionally relied on graph-based algorithms for their superior accuracy and speed on CPUs. However, porting these algorithms to GPUs presents significant challenges. Graph traversal is inherently serial, characterized by "pointer-chasing" behavior that conflicts with the massive parallel processing model of modern GPUs. Despite the emergence of several GPU-accelerated libraries, a unified framework for understanding their hardware mapping and identifying end-to-end bottlenecks has been missing.

Methodology and Taxonomy

This study establishes a structured taxonomy for GPU-accelerated ANNS, focusing on both index construction and search phases.

Index Construction

Construction strategies are categorized into three primary types:

  1. Concurrent Iterative Refinement: Iteratively improving graph connectivity.
  2. Batch Increment: Adding data points in parallel batches.
  3. Parallel Divide and Conquer: Constructing subgraphs independently and merging them.

Search Pipeline

The GPU search process is decomposed into three standardized stages, as illustrated in Figure 2:

  • S1: Candidate Locating: Threads collaboratively fetch neighbor IDs from global memory, often utilizing structures like Bloom filters to track visited nodes.
  • S2: Bulk Distance Calculation: The primary computational phase where Euclidean or Cosine distances are computed in parallel across multiple threads.
  • S3: Data Structure Maintenance: Utilizing GPU-optimized algorithms, such as Bitonic Sort, to maintain and update the list of top candidates.
Standardized GPU search pipeline stages: Candidate Locating, Bulk Distance Calculation, and Data Structure Maintenance.

Experimental Evaluation

The study evaluates six prominent GPU algorithms—SONG, GGNN, GANNS, CAGRA, BANG, and PilotANN—against industry-standard CPU methods like HNSW and VAMANA. The benchmarks span eight diverse datasets (NYTimes, GLoVe200, SIFT1M, GIST, MNIST8M, DEEP1M, DEEP10M, and DEEP100M), with dimensionalities ranging from 96 to 960.

Key Insights

The PCIe Bottleneck

A critical finding is the emergence of a "memory wall." While GPU search kernels are exceptionally fast, the time required to transfer graph data and vectors from the CPU (Host) to the GPU (Device) via the PCIe bus often dominates total latency. For datasets at the 100M scale, data transfer can account for over 97% of the total query time.

The authors emphasize "average query path length" as a vital metric for graph quality, suggesting that a well-structured graph must provide "highways" for rapid convergence. Furthermore, successful algorithms like CAGRA optimize performance by splitting a single "warp" (32 threads) into smaller teams to handle different points, thereby maximizing GPU occupancy.

Performance Results

Pure GPU algorithms demonstrate significant performance gains, achieving over 10x higher throughput (Queries Per Second, QPS) compared to CPU-based HNSW on small-to-medium datasets. As shown in Figure 5, algorithms like CAGRA and GANNS maintain high QPS across various recall levels.

Performance comparison (QPS vs. Recall@10) for various GPU-accelerated and CPU algorithms on SIFT1M and DEEP1M datasets.

CAGRA stands out as the most robust performer, maintaining stability even as datasets scale to 100 million vectors. Within the search kernel, Bulk Distance Calculation (DC) remains the primary overhead (60-80% of execution time). While quantization techniques (e.g., in BANG) can mitigate this, they often shift the bottleneck back to the CPU due to synchronization requirements.

Conclusion and Future Directions

The study highlights that as datasets grow toward the billion-scale, they exceed the High Bandwidth Memory (HBM) capacity of single GPUs. Future research must focus on:

  • Mitigating PCIe Latency: Implementing asynchronous data streams to overlap transfer with computation and utilizing aggressive vector quantization.
  • Hardware-Aware Graph Pruning: Developing strategies that optimize for GPU memory access patterns rather than simple edge counts.
  • Optimized Hybrid Orchestration: Improving the compute-to-transfer ratio through smarter task partitioning between CPU and GPU.

Summary updated

BibTeX
@misc{liu2026gpu,
  author = {Yaowen Liu and Xuejia Chen and Anxin Tian and Haoyang Li and Qinbin Li and Xin Zhang and Alexander Zhou and Chen Jason Zhang and Qing Li and Lei Chen},
  title = {{GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directions}},
  year = {2026},
  eprint = {2602.16719},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2602.16719},
}
Figure