PilotANN: Memory-Bounded GPU Acceleration for Vector Search

📅 2025-03-27
📈 Citations: 0
Influential: 0
📄 PDF
🤖 AI Summary
To address the dual challenges of GPU memory constraints and CPU computational bottlenecks in large-scale, high-dimensional Approximate Nearest Neighbor Search (ANNS), this paper proposes a CPU-GPU collaborative hybrid architecture. Our method decomposes graph traversal into three stages, introduces a fast dynamic entry-point selection strategy to optimize initialization, and—novelly—enables seamless coordination between SVD-compressed vector traversal on GPU and full-precision vector refinement on CPU, augmented by memory-aware subgraph scheduling. Evaluated on billion-scale datasets, our approach achieves 3.9–5.4× higher throughput over baselines and supports ANNS on datasets 12× larger than GPU memory capacity. All code is publicly available.

Technology Category

Application Category

📝 Abstract
Approximate Nearest Neighbor Search (ANNS) has become fundamental to modern deep learning applications, having gained particular prominence through its integration into recent generative models that work with increasingly complex datasets and higher vector dimensions. Existing CPU-only solutions, even the most efficient graph-based ones, struggle to meet these growing computational demands, while GPU-only solutions face memory constraints. As a solution, we propose PilotANN, a hybrid CPU-GPU system for graph-based ANNS that utilizes both CPU's abundant RAM and GPU's parallel processing capabilities. Our approach decomposes the graph traversal process of top-$k$ search into three stages: GPU-accelerated subgraph traversal using SVD-reduced vectors, CPU refinement and precise search using complete vectors. Furthermore, we introduce fast entry selection to improve search starting points while maximizing GPU utilization. Experimental results demonstrate that PilotANN achieves $3.9 - 5.4 imes$ speedup in throughput on 100-million scale datasets, and is able to handle datasets up to $12 imes$ larger than the GPU memory. We offer a complete open-source implementation at https://github.com/ytgui/PilotANN.
Problem

Research questions and friction points this paper is trying to address.

Hybrid CPU-GPU system for memory-bounded vector search
Accelerates graph-based ANNS with SVD and parallel processing
Handles large datasets exceeding GPU memory limits
Innovation

Methods, ideas, or system contributions that make the work stand out.

Hybrid CPU-GPU system for graph-based ANNS
SVD-reduced vectors for GPU subgraph traversal
Fast entry selection to maximize GPU utilization
🔎 Similar Papers
No similar papers found.
Y
Yuntao Gui
The Chinese University of Hong Kong, Hong Kong SAR
Peiqi Yin
Peiqi Yin
The Chinese University of Hong Kong
Serving SystemMachine Learning SystemCXL
X
Xiao Yan
Centre for Perceptual and Interactive Intelligence, Hong Kong SAR
Chaorui Zhang
Chaorui Zhang
The Chinese University of Hong Kong
Smart Grid
W
Weixi Zhang
Theory Lab, 2012 Labs of Huawei Technologies Co. Ltd.
J
James Cheng
The Chinese University of Hong Kong, Hong Kong SAR