Angular Distance-Guided Neighbor Selection for Graph-Based Approximate Nearest Neighbor Search

被引:0
作者
Jung, Sungjun [1 ]
Park, Yongsang [1 ]
Lee, Haeun [1 ]
Oh, Young H. [2 ]
Lee, Jae W. [1 ]
机构
[1] Seoul Natl Univ, Seoul, South Korea
[2] Ajou Univ, Suwon, South Korea
来源
PROCEEDINGS OF THE ACM WEB CONFERENCE 2025, WWW 2025 | 2025年
基金
新加坡国家研究基金会;
关键词
Approximate Nearest Neighbor Search; Similarity Search; Graph-based Approximate Nearest Neighbor Search; ALGORITHM; SCALABILITY; TREES; IMAGE; QUERY;
D O I
10.1145/3696410.3714870
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
Graph-based approximate nearest neighbor search (ANNS) algorithms are widely used to identify the most similar vectors to a given query vector. Graph-based ANNS consists of two stages: constructing a graph and searching on the graph for a given query vector. While reducing the query response time is of great practical importance, less attention has been paid to improving the online search method than the offline graph construction method. This paper provides an extensive experimental analysis on the popular greedy search and other search optimization strategies. We also propose a novel angular distance-guided search method for graph-based ANNS (ADA-NNS) to improve search efficiency. The key innovation of ADA-NNS is introducing a low-cost neighbor selection mechanism based on an approximate similarity score derived from angular distance estimation, which effectively filters out less relevant neighbors. We compare state-of-the-art search techniques, including FINGER, on six datasets using different similarity metrics. It provides a comprehensive perspective on their tradeoffs in terms of throughput, latency, and recall. Our evaluation shows that ADA-NNS achieves 34%-107% higher queries per second (QPS) than the greedy search at 95% recall@10 on HNSW, one of the most popular graph structures for ANNS.
引用
收藏
页码:4014 / 4023
页数:10
相关论文
共 44 条
[11]  
Chen Q, 2021, ADV NEUR IN
[12]   A WEIGHTED NEAREST NEIGHBOR ALGORITHM FOR LEARNING WITH SYMBOLIC FEATURES [J].
COST, S ;
SALZBERG, S .
MACHINE LEARNING, 1993, 10 (01) :57-78
[13]  
Das A.S., 2007, P 16 INT C WORLD WID, P271
[14]   QUERY BY IMAGE AND VIDEO CONTENT - THE QBIC SYSTEM [J].
FLICKNER, M ;
SAWHNEY, H ;
NIBLACK, W ;
ASHLEY, J ;
HUANG, Q ;
DOM, B ;
GORKANI, M ;
HAFNER, J ;
LEE, D ;
PETKOVIC, D ;
STEELE, D ;
YANKER, P .
COMPUTER, 1995, 28 (09) :23-32
[15]  
Friedman J. H., 1977, ACM Transactions on Mathematical Software, V3, P209, DOI 10.1145/355744.355745
[16]   High Dimensional Similarity Search With Satellite System Graph: Efficiency, Scalability, and Unindexed Query Compatibility [J].
Fu, Cong ;
Wang, Changxu ;
Cai, Deng .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2022, 44 (08) :4139-4150
[17]   Fast Approximate Nearest Neighbor Search With The Navigating Spreading-out Graph [J].
Fu, Cong ;
Xiang, Chao ;
Wang, Changxu ;
Cai, Deng .
PROCEEDINGS OF THE VLDB ENDOWMENT, 2019, 12 (05) :461-474
[18]  
Fu Cong, 2016, Efanna: An extremely fast approximate nearest neighbor search algorithm based on knn graph
[19]   BRANCH AND BOUND ALGORITHM FOR COMPUTING K-NEAREST NEIGHBORS [J].
FUKUNAGA, K ;
NARENDRA, PM .
IEEE TRANSACTIONS ON COMPUTERS, 1975, C 24 (07) :750-753
[20]  
Gao Jianyang, 2023, Proceedings of the ACM on Management of Data, V1, DOI 10.1145/3589282