AGC: A Unified Architecture for Accelerating K-Nearest Neighbor Graph Construction in Vector Search
The advancements in learning-based embedding models have propelled the embedding vector to become a vital data structure for various semantic search applications. The graph-based vector search method, which relies on the k-nearest neighbor (k-NN) graph, has gained immense popularity due to its superior performance in recall and throughput compared to other vector search methods. However, the construction of the k-NN graph is a time-consuming process, which not only affects the efficiency of identifying the optimal k-NN graph but also impacts data updates, especially for large-scale vector datasets. Despite the availability of various software-level optimization methods, such as iterative, refinement, and incremental methods, their peak performance is still limited to the underlying CPU platform. Furthermore, the existing GPU and specialized accelerator solutions only focus on partial k-NN graph construction methods and still encounter low efficiency when executing iterative methods due to irregular memory access, low data reuse, and redundant distance calculations.
Authors
- Shengwen Liang (ORCID: https://orcid.org/0000-0001-8407-2594)
- Xiaowei Li (ORCID: https://orcid.org/0000-0002-0874-814X)
- Kaiwei Zou (ORCID: https://orcid.org/0000-0002-5319-3665)
- Ziming Yuan (ORCID: https://orcid.org/0009-0005-4966-3184)
- Lei Dai (ORCID: https://orcid.org/0009-0003-2955-0102)
- Wen Li (ORCID: https://orcid.org/0000-0002-8346-2926)
- Ying Wang (ORCID: https://orcid.org/0000-0001-5172-4736)
- Cheng Liu (ORCID: https://orcid.org/0000-0002-5542-7306)
- Huawei Li (ORCID: https://orcid.org/0000-0001-8082-4218)
Institutions
- Shanxi University (CN)
- Chinese Academy of Sciences (CN)
- Institute of Computing Technology (CN)
- University of Chinese Academy of Sciences (CN)
- Capital Normal University (CN)
Publication Details
- Published
- 2024-10-27
- DOI
- https://doi.org/10.1145/3676536.3676769
- Citations
- 1
- Primary Topic
- Advanced Image and Video Retrieval Techniques
- Type
- article
- Field-Weighted Citation Impact
- 0.25
Funders
- National Natural Science Foundation of China
- China Postdoctoral Science Foundation