Ultra-fast GPU Graph ANNS via Accuracy-Efficiency Co-design
Abstract
GPUs have been used to accelerate approximate nearest neighbor search (ANNS). While recent quantized graph ANNS has made significant progress on CPU, we find that directly porting CPU-side methods to GPU is ineffective. This is because using quantized distances to rank the beam perturbs traversal paths, increases search hops, and can offset the savings from cheaper distance computation. We present fastGANN, an accuracy- and hardware-aware GPU graph-ANNS method, to adaptively find the best accuracy-work balance and enhance GPU hardware utilization. fastGANN adopts a hybrid-precision search strategy. It preserves exact distances for precision-critical decisions, including beam ranking and expander selection, while using quantized estimates only for error-tolerant neighbor pruning. This reduces exact vector accesses without degrading convergence speed. However, pruning alone does not fully unlock the GPU; it leaves bandwidth underutilized. We thus introduce hardware-aware speculative expansion to explore multiple beam nodes per iteration, so that the work/bandwidth saved by pruning is converted into more parallelism. We also introduce a bounded phase-adaptive controller that adjusts pruning online from search progress and derives the speculation degree analytically from GPU bandwidth and occupancy, avoiding manual tuning. On an L40S GPU, across six datasets, fastGANN improves QPS at 95% recall@100 on average (geomean) by 6.5x over CAGRA, 5.2x over PathWeaver, and 4.6x over Jasper. We consistently observe significant speedups across various GPU models, graph types/degrees, recall targets, and quantizers. fastGANN scales to multi-GPU and outperforms cuVS by 3.4x on four H200 GPUs at billion scale.
Create a lesson
Related papers
Falcon: Fast, Lightweight, and Robust Cascade for Oracle-Efficient Semantic Filtering
Shared title terminologycs.DBZepeng Liu, Hai Lan, Yiming Shi et al.
Rewind-HNSW: Memory-Efficient Rewindable HNSW
Shared title terminologycs.DBVictor Harry Shea, Qi Chen, Baotong Lu et al.
YiGraph: Enabling Autonomous Graph Data Analysis with Algorithm-centric Agentic Workflow Construction
Shared title terminologycs.DBChaoyi Chen, Qiange Wang, Zihan Wang et al.
Adapting Graph Construction with Learned Matrices for Cross-Modal Vector Search
Shared title terminologycs.DBZekai Wu, Rong-Hua Li, Junjie Yao et al.
Natural-Language-to-GPML: Dual-Oracle Witness Synthesis, Orthogonal Subspace Merging, and Live Schema-Constrained Decoding for ISO/IEC 39075 Graph Queries
Shared title terminologycs.DBMadhulatha Mandarapu, Sandeep Kunkunuru
Shape-Aware Three-Way Merge for RDF Knowledge Graphs: The schema defines the conflict: an implementation and evaluation
Shared title terminologycs.DBSteve Brown