PilotANN: Memory-Bounded GPU Acceleration for Vector Search

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Gui, Yuntao, Yin, Peiqi, Yan, Xiao, Zhang, Chaorui, Zhang, Weixi, Cheng, James
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866915216088891392
author Gui, Yuntao
Yin, Peiqi
Yan, Xiao
Zhang, Chaorui
Zhang, Weixi
Cheng, James
author_facet Gui, Yuntao
Yin, Peiqi
Yan, Xiao
Zhang, Chaorui
Zhang, Weixi
Cheng, James
contents 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 \times$ speedup in throughput on 100-million scale datasets, and is able to handle datasets up to $12 \times$ larger than the GPU memory. We offer a complete open-source implementation at https://github.com/ytgui/PilotANN.
format Preprint
id arxiv_https___arxiv_org_abs_2503_21206
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle PilotANN: Memory-Bounded GPU Acceleration for Vector Search
Gui, Yuntao
Yin, Peiqi
Yan, Xiao
Zhang, Chaorui
Zhang, Weixi
Cheng, James
Distributed, Parallel, and Cluster Computing
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 \times$ speedup in throughput on 100-million scale datasets, and is able to handle datasets up to $12 \times$ larger than the GPU memory. We offer a complete open-source implementation at https://github.com/ytgui/PilotANN.
title PilotANN: Memory-Bounded GPU Acceleration for Vector Search
topic Distributed, Parallel, and Cluster Computing
url https://arxiv.org/abs/2503.21206