EFANNA : An Extremely Fast Approximate Nearest Neighbor Search Algorithm Based on kNN Graph
Not on the map. Why?
Abstract (arXiv)
Approximate nearest neighbor (ANN) search is a fundamental problem in many areas of data mining, machine learning and computer vision. The performance of traditional hierarchical structure (tree) based methods decreases as the dimensionality of data grows, while hashing based methods usually lack efficiency in practice. Recently, the graph based methods have drawn considerable attention. The main idea is that a neighbor of a neighbor is also likely to be a neighbor, which we refer as NN-expansion. These methods construct a k-nearest neighbor (kNN) graph offline. And at online search stage, these methods find candidate neighbors of a query point in some way (eg, random selection), and then check the neighbors of these candidate neighbors for closer ones iteratively. Despite some promising results, there are mainly two problems with these approaches: 1) These approaches tend to converge to local optima. 2) Constructing a kNN graph is time consuming. We find that these two problems can be nicely solved when we provide a good initialization for NN-expansion. In this paper, we propose EFANNA, an extremely fast approximate nearest neighbor search algorithm based on kNN Graph. Efanna nicely combines the advantages of hierarchical structure based methods and nearest-neighbor-graph based methods. Extensive experiments have shown that EFANNA outperforms the state-of-art algorithms both on approximate nearest neighbor search and approximate nearest neighbor graph construction. To the best of our knowledge, EFANNA is the fastest algorithm so far both on approximate nearest neighbor graph construction and approximate nearest neighbor search. A library EFANNA based on this research is released on Github.
Key facts. Cited by 15 papers in the map (data through 14 Oct 2026). First posted on arXiv 23 Sep 2016.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2021: 1; 2022: 1; 2023: 2; 2024: 2; 2025: 6; 2026: 3.
15 papers.
Sort:
By area:
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitationscited by 20
- 2025MobileRAG: A Fast, Memory-Efficient, and Energy-Efficient Method for On-Device RAGcited by 11
- 2022FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Searchcited by 4
- 2025Hierarchical Semantic Retrieval with Cobwebcited by 4
- 2024Curator: Efficient Indexing for Multi-Tenant Vector Databasescited by 3
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Searchcited by 1
- 2025Depth-Based Local Center Clustering: A Framework for Handling Different Clustering Scenarioscited by 1
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directionscited by 1
- 2021Leveraging Reinforcement Learning for evaluating Robustness of KNN Search Algorithmscited by 0
- 2023Distribution-Informed Adaptation for kNN Graph Constructioncited by 0
- 2025GPU-accelerated Multi-relational Parallel Graph Retrieval for Web-scale Recommendationscited by 0
- 2025Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Searchcited by 0
3 more
- 2026Better Nearest Neighbor Graph Indices via (Efficient) LLM-Guided Pruning28 Sep 2026
- 2026FGIM: a Fast Graph-based Indexes Merging Framework for Approximate Nearest Neighbor Search23 Mar 2026
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directions10 Feb 2026
- 2025Hierarchical Semantic Retrieval with Cobweb2 Oct 2025
- 2025PLASMA: A Layout-Aware Benchmark Reveals Memory Layout Matters for Graph-based ANNS on GPU21 Aug 2025
- 2025MobileRAG: A Fast, Memory-Efficient, and Energy-Efficient Method for On-Device RAG1 Jul 2025
- 2025Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search21 May 2025
- 2025Depth-Based Local Center Clustering: A Framework for Handling Different Clustering Scenarios14 May 2025
- 2025GPU-accelerated Multi-relational Parallel Graph Retrieval for Web-scale Recommendations17 Feb 2025
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Search7 Feb 2024
- 2024Curator: Efficient Indexing for Multi-Tenant Vector Databases13 Jan 2024
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations29 Oct 2023
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitationscited by 20
- 2022FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Searchcited by 4
- 2025Hierarchical Semantic Retrieval with Cobwebcited by 4
- 2024Curator: Efficient Indexing for Multi-Tenant Vector Databasescited by 3
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Searchcited by 1
- 2025Depth-Based Local Center Clustering: A Framework for Handling Different Clustering Scenarioscited by 1
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directionscited by 1
- 2021Leveraging Reinforcement Learning for evaluating Robustness of KNN Search Algorithmscited by 0
- 2023Distribution-Informed Adaptation for kNN Graph Constructioncited by 0
- 2025GPU-accelerated Multi-relational Parallel Graph Retrieval for Web-scale Recommendationscited by 0
- 2025Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Searchcited by 0
- 2025PLASMA: A Layout-Aware Benchmark Reveals Memory Layout Matters for Graph-based ANNS on GPUcited by 0
12 most cited of 13 All 13 (JSON)
- 2026Better Nearest Neighbor Graph Indices via (Efficient) LLM-Guided Pruning28 Sep 2026
- 2026GPU-Accelerated Algorithms for Graph Vector Search: Taxonomy, Empirical Study, and Research Directions10 Feb 2026
- 2025Hierarchical Semantic Retrieval with Cobweb2 Oct 2025
- 2025PLASMA: A Layout-Aware Benchmark Reveals Memory Layout Matters for Graph-based ANNS on GPU21 Aug 2025
- 2025Distance Adaptive Beam Search for Provably Accurate Graph-Based Nearest Neighbor Search21 May 2025
- 2025Depth-Based Local Center Clustering: A Framework for Handling Different Clustering Scenarios14 May 2025
- 2025GPU-accelerated Multi-relational Parallel Graph Retrieval for Web-scale Recommendations17 Feb 2025
- 2024Theoretical and Empirical Analysis of Adaptive Entry Point Selection for Graph-based Approximate Nearest Neighbor Search7 Feb 2024
- 2024Curator: Efficient Indexing for Multi-Tenant Vector Databases13 Jan 2024
- 2023Worst-case Performance of Popular Approximate Nearest Neighbor Search Implementations: Guarantees and Limitations29 Oct 2023
- 2023Distribution-Informed Adaptation for kNN Graph Construction4 Aug 2023
- 2022FINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Search22 Jun 2022
12 newest of 13 All 13 (JSON)