FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Search

7Citations
Citations of this article
18Readers
Mendeley users who have this article in their library.

Abstract

Approximate K-Nearest Neighbor Search (AKNNS) has now become ubiquitous in modern applications, such as a fast search procedure with two-tower deep learning models. Graph-based methods for AKNNS in particular have received great attention due to their superior performance. These methods rely on greedy graph search to traverse the data points as embedding vectors in a database. Under this greedy search scheme, we make a key observation: many distance computations do not influence search updates so that these computations can be approximated without hurting performance. As a result, we propose FINGER, a fast inference method for efficient graph search in AKNNS. FINGER approximates the distance function by estimating angles between neighboring residual vectors. The approximated distance can be used to bypass unnecessary computations for faster searches. Empirically, when it comes to speeding up the inference of HNSW, which is one of the most popular graph-based AKNNS methods, FINGER significantly outperforms existing acceleration approaches and conventional libraries by 20 to 60 across different benchmark datasets.

Cite

CITATION STYLE

APA

Chen, P., Chang, W. C., Jiang, J. Y., Yu, H. F., Dhillon, I., & Hsieh, C. J. (2023). FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Search. In ACM Web Conference 2023 - Proceedings of the World Wide Web Conference, WWW 2023 (pp. 3225–3235). Association for Computing Machinery, Inc. https://doi.org/10.1145/3543507.3583318

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free