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 条
[41]   Trinary-Projection Trees for Approximate Nearest Neighbor Search [J].
Wang, Jingdong ;
Wang, Naiyan ;
Jia, You ;
Li, Jian ;
Zeng, Gang ;
Zha, Hongbin ;
Hua, Xian-Sheng .
IEEE TRANSACTIONS ON PATTERN ANALYSIS AND MACHINE INTELLIGENCE, 2014, 36 (02) :388-403
[42]  
Weiss Y., 2008, P 21 INT C NEUR INF, P1753
[43]   Two-stage routing with optimized guided search and greedy algorithm on proximity graph [J].
Xu, Xiaoliang ;
Wang, Mengzhao ;
Wang, Yuxiang ;
Ma, Dingcheng .
KNOWLEDGE-BASED SYSTEMS, 2021, 229
[44]  
YIANILOS PN, 1993, PROCEEDINGS OF THE FOURTH ANNUAL ACM-SIAM SYMPOSIUM ON DISCRETE ALGORITHMS, P311