Efficient and Robust Approximate Nearest Neighbor Search Using Hierarchical Navigable Small World Graphs
The DOI matches its Crossref record, with a small difference in title or year; 63 of the 65 references it cites were found in a registry or an index.
Abstract
We present a new approach for the approximate K-nearest neighbor search based on navigable small world graphs with controllable hierarchy (Hierarchical NSW, HNSW). The proposed solution is fully graph-based, without any need for additional search structures (typically used at the coarse search stage of the most proximity graph techniques). Hierarchical NSW incrementally builds a multi-layer structure consisting of a hierarchical set of proximity graphs (layers) for nested subsets of the stored elements. The maximum layer in which an element is present is selected randomly with an exponentially decaying probability distribution. This allows producing graphs similar to the previously studied Navigable Small World (NSW) structures while additionally having the links separated by their characteristic distance scales. Starting the search from the upper layer together with utilizing the scale separation boosts the performance compared to NSW and allows a logarithmic complexity scaling. Additional employment of a heuristic for selecting proximity graph neighbors significantly increases performance at high recall and in case of highly clustered data. Performance evaluation has demonstrated that the proposed general metric space search index is able to strongly outperform previous opensource state-of-the-art vector-only approaches. Similarity of the algorithm to the skip list structure allows straightforward balanced distributed implementation.
Overview
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Integrity signals
Registry
Cites
Statistics
Verification
Claims the paper makes
The claims and statistics of this paper haven’t been checked yet.
Free: it reads the open-access text and checks the first 5 claims that cite a source we can check. Create a free account to check every claim.
Claims other papers make about this one
Each is checked against this paper’s own text: does it say what the citing paper says it does?
In the citing paper
“Brute-force edge computation is O ( n 2 ) ; an optional HNSW index [19] reduces this to O ( n log n ) .”
From SuperLocalMemory: Privacy-Preserving Multi-Agent Memory with Bayesian Trust Defense Against Memory Poisoning (2026) · cites this paper as [19]
In the citing paper
“Dense vector search, typically organized through approximate nearest-neighbor structures such as HNSW [Malkov and Yashunin, 2020], captures meaning-level similarity but can miss keyword-specific cues.”
From MemX: A Local-First Long-Term Memory System for AI Assistants (2026) · cites this paper as Malkov and Yashunin, 2020
In the citing paper
“Vector indexes were created using Hierarchical Navigable Small World (HNSW) indexing (33), which provides efficient approximate nearest neighbour search.”
From Unlocking electronic health records: a hybrid graph RAG approach to safe clinical AI for patient QA (2026) · cites this paper as [33]
In the citing paper
“Recent retrieval indexes scale read-only access [22] but do not let a read update the state it reads.”
From Is Agent Memory a Database? Rethinking Data Foundations for Long-Term AI Agent Memory (2026) · cites this paper as [22]
In the citing paper
“The principle follows from spill trees [85], where partitions are allowed to overlap.”
From Survey of vector database management systems (2024) · cites this paper as [85]
Self-check
Percentages, sums and reported differences re-computed from the paper’s own numbers.
The self-check needs the paper’s full text.
Citations
Cites
Distinctive Image Features from Scale-Invariant Keypoints
Lowe, D. G. (2004) · International Journal of Computer Vision · doi:10.1023/b:visi.0000029664.99615.94 · Cited by 62,647 · cited 2×
“For real data such as SIFT vectors [1] (which have complex mixed structure), the performance improvement by increasing the mL is higher, but less prominent at the current settings compared to improvement from the heuristic (see Fig.”
BackgroundMethodGradient-based learning applied to document recognition
Lecun, Y., Bottou, L., Bengio, Y., & Haffner, P. (1998) · Proceedings of the IEEE · doi:10.1109/5.726791 · Cited by 58,805 · cited 1×
“features dataset [14] MNIST Handwritten digit images [54] 60k 784 22 ms L2 3.”
BackgroundCollective dynamics of ‘small-world’ networks
Watts, D. J., & Strogatz, S. H. (1998) · Nature · doi:10.1038/30918 · Cited by 43,060 · cited 1×
“…Terms—Graph and tree search strategies, artificial intelligence, information search and retrieval, information storage and retrieval, information technology and systems, search process, graphs and networks, data structures, nearest neighbor search, big data, approximate search, similarity search Ç”
BackgroundGlove: Global Vectors for Word Representation
Pennington, J., Socher, R., & Manning, C. (2014) · Proceedings of the 2014 Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.3115/v1/d14-1162 · Cited by 34,071 · cited 1×
“SIFT Image feature vectors [13] 1M 128 94 ms L2 GloVe Word embeddings trained on tweets [52] 1.”
BackgroundIndexing by latent semantic analysis
Deerwester, S., Dumais, S. T., Furnas, G. W., Landauer, T. K., & Harshman, R. (1990) · Journal of the American Society for Information Science · doi:10.1002/(sici)1097-4571(199009)41:6<391::aid-asi1>3.0.co;2-9 · Cited by 12,751
Multidimensional binary search trees used for associative searching
Bentley, J. L. (1975) · Communications of the ACM · doi:10.1145/361002.361007 · Cited by 7,520
Approximate nearest neighbors: towards removing the curse of dimensionality
Indyk, P., & Motwani, R. (1998) · Proceedings of the thirtieth annual ACM symposium on Theory of computing - STOC '98 · doi:10.1145/276698.276876 · Cited by 4,188
Software Framework for Topic Modelling with Large Corpora
Rek, R. R. U., & Sojka, P. (2010) · doi:10.13140/2.1.2393.1847 · Cited by 3,647
Product Quantization for Nearest Neighbor Search
Jégou, H., Douze, M., & Schmid, C. (2011) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2010.57 · Cited by 2,956
The small-world phenomenon: an algorithmic perspective
Kleinberg, J. (2000) · Proceedings of the thirty-second annual ACM symposium on Theory of computing · doi:10.1145/335305.335325 · Cited by 1,882 · cited 1×
“Kleinberg [31], [41] as social networkmodels for the famousMilgram experiment [42].”
Background
Research works printed but not linked: 2
- [58] P. Sojka, "Software framework for topic modelling with large corpora," in In Proceedings of the LREC 2010 Workshop on New Challenges for NLP Frameworks , 2010: Citeseer. -
- [14] A. Babenko and V. Lempitsky, "Efficient indexing of billionscale datasets of deep descriptors," in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition , 2016, pp. 2055-2063. -
Cited by
Items 101–200 of 1,010
Answering Complex Open-Domain Questions with Multi-Hop Dense Retrieval
Xiong, W., Li, X. L., Iyer, S., Du, J., Lewis, P., Wang, W. Y., Mehdad, Y., Yih, W.-T., Riedel, S., Kiela, D., et al. (2020) · arXiv · doi:10.48550/arxiv.2009.12756 · Cited by 112
“We implement our system with a fast approximate nearest neighbor search method, i.e. , HNSW (Malkov & Yashunin, 2018), which achieves nearly the same performance as exact search.”
MethodDeepXML: A Deep Extreme Multi-Label Learning Framework Applied to Short Text Documents
Dahiya, K., Saini, D., Mittal, A., Shaw, A., Dave, K. S., Soni, A., Jain, H., Agarwal, S., & Varma, M. (2021) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3437963.3441810 · Cited by 111
Pre-Trained Embeddings for Entity Resolution: An Experimental Analysis
Zeakis, A., Papadakis, G., Skoutas, D., & Koubarakis, M. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3598581.3598594 · Cited by 113
Vector Database Management Techniques and Systems
Pan, J. J., Wang, J., & Li, G. (2024) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3626246.3654691 · Cited by 108
PASE: PostgreSQL Ultra-High-Dimensional Approximate Nearest Neighbor Search Extension
Yang, W., Li, T., Fang, G., & Wei, H. (2020) · Proceedings of the 2020 ACM SIGMOD International Conference on Management of Data · doi:10.1145/3318464.3386131 · Cited by 56
“The detailed pseudo code of HNSW can be found in [20].”
BackgroundMethodReturn of the Lernaean Hydra: experimental evaluation of data series approximate similarity search
Echihabi, K., Zoumpatianos, K., Palpanas, T., & Benbrahim, H. (2019) · Proceedings of the VLDB Endowment · doi:10.14778/3368289.3368303 · Cited by 108
“There also exist exact [44] and approximate [103] methods that index high dimensional data directly.”
InfluentialMolecular-level similarity search brings computing to DNA data storage
Bee, C., Chen, Y.-J., Queen, M., Ward, D., Liu, X., Organick, L., Seelig, G., Strauß, K., & Ceze, L. (2021) · Nature Communications · doi:10.1038/s41467-021-24991-z · Cited by 105
“Implementations of HNSW (hierarchical navigable small world) graphs 29 are among the top performers on approximate nearest-neighbor benchmarks 30 .”
Learning Customized Visual Models with Retrieval-Augmented Knowledge
Liu, H., Son, K., Yang, J., Liu, C., Gao, J., Lee, Y. J., & Li, C. (2023) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52729.2023.01454 · Cited by 108
“We use its Hierarchical Navigable Small World (HNSW) approximate k-NN lookup [34] to balance performance and efficiency.”
MethodLin, J., Ma, X., Lin, S.-C., Yang, J.-H., Pradeep, R., & Nogueira, R. F. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2102.10073 · Cited by 104
Tevatron: An Efficient and Flexible Toolkit for Dense RetrievalPreprint
Gao, L., Ma, X., Lin, J., & Callan, J. (2022) · arXiv (Cornell University) · doi:10.48550/arxiv.2203.05765 · Cited by 106
“Users can take advantage of this interface to build approximate search indices like HNSW [19] or PQ [10].”
BackgroundTransHash: Transformer-based Hamming Hashing for Efficient Image Retrieval
Chen, Y., Zhang, S., Liu, F., Chang, Z., Ye, M., & Qi, Z. (2022) · International Conference on Multimedia Retrieval · doi:10.1145/3512527.3531405 · Cited by 104
“Among all the methods proposed for this challenging task [16, 17, 27, 38], hamming hash-based methods have achieved pronounced successes.”
MethodKnowledge graph construction for product designs from large CAD model repositories
Bharadwaj, A., & Starly, B. (2022) · Advanced Engineering Informatics · doi:10.1016/j.aei.2022.101680 · Cited by 102
Fast LDP-MST: An Efficient Density-Peak-Based Clustering Method for Large-Size Datasets
Qiu, T., & Li, Y. (2022) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2022.3150403 · Cited by 101
Gao, J., Gou, Y., Xu, Y., Yang, Y., Long, C., & Wong, R. C.-W. (2025) · Proceedings of the ACM on Management of Data · doi:10.1145/3725413 · Cited by 102
Echihabi, K., Zoumpatianos, K., Palpanas, T., & Benbrahim, H. (2018) · Proceedings of the VLDB Endowment · doi:10.14778/3282495.3282498 · Cited by 100
Efficient Inverted Indexes for Approximate Retrieval over Learned Sparse Representations
Bruch, S., Nardini, F. M., Rulli, C., & Venturini, R. (2024) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3626772.3657769 · Cited by 102
Extreme Multi-label Learning for Semantic Matching in Product Search
Chang, W.-C., Jiang, D., Yu, H., Teo, C. H., Zhang, J., Zhong, K., Kolluri, K., Hu, Q., Shandilya, N., Ievgrafov, V., et al. (2021) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3447548.3467092 · Cited by 98
“While the inference time complexity of advanced ANN algorithms (e.g., HNSW [28] or ScaNN [15]) is sub-linear, ANN methods typically work better on low-dimensional dense embeddings.”
MethodInfluentialSimilarity Search in the Blink of an Eye with Compressed Indices
Aguerrebere, C., Bhati, I., Hildebrand, M., Tepper, M., & Willke, T. L. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3611479.3611537 · Cited by 97
A Comprehensive Survey and Guide to Multimodal Large Language Models in Vision–Language Tasks
Liang, C. X., Tian, P., Yin, C. H., Yua, Y., An-Hou, W., Ming, L., Song, X., Wang, T., Bi, Z., Liu, M., et al. (2026) · Computation · doi:10.3390/computation14060125 · Cited by 95
The Tangled Genealogy of IoT Malware
Cozzi, E., Vervier, P., Dell’Amico, M., Shen, Y. C., Bilge, L., & Balzarotti, D. (2020) · Annual Computer Security Applications Conference · doi:10.1145/3427228.3427256 · Cited by 96
“To mitigate this problem we adopt Hierarchical Navigable Small World graphs (HNSW) [32], an efficient data structure for approximate nearest neighbor discovery in non-metric spaces, to overcome the time complexity and discover similarities in our dataset.”
MethodInfluentialTwHIN: Embedding the Twitter Heterogeneous Information Network for Personalized Recommendation
El-Kishky, A., Markovich, T., Park, S., Verma, C. K., Kim, B., Eskander, R., Malkov, Y. A., Portman, F., Samaniego, S., Xiao, Y., et al. (2022) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3534678.3539080 · Cited by 95
“Two internal systems use HNSW [26] or FAISS [21] with Product Quantization [20] to index items and retrieve candidates.”
MethodSelf-citationHigh-Throughput Vector Similarity Search in Knowledge Graphs
Mohoney, J., Pacaci, A., Chowdhury, S. R., Mousavi, A., Ilyas, I. F., Minhas, U. F., Pound, J., & Rekatsinas, T. (2023) · Proceedings of the ACM on Management of Data · doi:10.1145/3589777 · Cited by 97
Generative pretraining from large-scale transcriptomes for single-cell deciphering
Shen, H., Liu, J., Hu, J., Shen, X., Zhang, C., Wu, D., Feng, M., Yang, M., Li, Y., Yang, Y., et al. (2023) · iScience · doi:10.1016/j.isci.2023.106536 · Cited by 95
“…affinity matrix of cells W n 3 n , and the top-k nearest neighbor cells were find by community detection algorithm 56 and the HNSW algorithm, 57 and the formula of affinity matrix is define as: k 0 ð x ; y Þ = K ð x ; y Þ q ð x Þ q ð y Þ (Equation 2) W ð x ; y Þ = (cid:8) k 0 ð x ; y Þ ; y ˛…”
When Large Language Models Meet Vector Databases: A Survey
Jing, Z., Su, Y., & Han, Y. (2025) · 2025 Conference on Artificial Intelligence x Multimedia (AIxMM) · doi:10.1109/aixmm62960.2025.00008 · Cited by 93
“LLMs have been constrained by their limited token counts and the high costs associated with training and fine-tuning”
Personalized Federated Learning through Local MemorizationPreprint
Marfoq, O., Neglia, G., Kameni, L., & Vidal, R. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2111.09360 · Cited by 93
“We observe that kNN-Per ’s kNN model can itself be adapted to client’s capabilities by tuning the size of the data-store and/or selecting an appropriate approximate kNN al-gorithm, like FAISS (Johnson et al., 2019), HNSW (Malkov and Yashunin, 2020), or ProtoNN (Gupta et al., 2017) for IoT resource-scarce devices, e.g.…”
MethodComplementing Lexical Retrieval with Semantic Residual Embedding
Gao, L., Dai, Z., Chen, T., Fan, Z., Van Durme, B., & Callan, J. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2004.13969 · Cited by 48
Jointly Optimizing Query Encoder and Product Quantization to Improve Retrieval Performance
Zhan, J., Mao, J., Liu, Y., Guo, J., Zhang, M., & Ma, S. (2021) · Proceedings of the 30th ACM International Conference on Information & Knowledge Management · doi:10.1145/3459637.3482358 · Cited by 91
In-Depth Analysis of Graph-Based RAG in a Unified Framework
Zhou, Y., Su, Y., Sun, Y., Wang, S. L., Wang, T., He, R., Zhang, Y., Liang, S., Liu, X., Ma, Y., et al. (2025) · Proceedings of the VLDB Endowment · doi:10.14778/3773731.3773738 · Cited by 92
Matryoshka Representation Learning
Kusupati, A., Bhatt, G., Rege, A., Wallingford, M., Sinha, A., Ramanujan, V., Howard-Snyder, W., Chen, K., Kakade, S., Jain, P., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-2192 · Cited by 90
A Survey for Efficient Open Domain Question Answering
Zhang, Q., Chen, S., Xu, D., Cao, Q., Chen, X., Cohn, T., & Fang, M. (2023) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/2023.acl-long.808 · Cited by 90
Graph-Based Vector Search: An Experimental Evaluation of the State-of-the-Art
Azizi, I., Echihabi, K., & Palpanas, T. (2025) · Proceedings of the ACM on Management of Data · doi:10.1145/3709693 · Cited by 94
Information Retrieval: Advanced Topics and Techniques
Alonso, O., & Baeza-Yates, R. (2024) · ACM eBooks · doi:10.1145/3674127 · Cited by 18
ELPIS: Graph-Based Similarity Search for Scalable Data Science
Azizi, I., Echihabi, K., & Palpanas, T. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3583140.3583166 · Cited by 58
Fast Open Modification Spectral Library Searching through Approximate Nearest Neighbor Indexing
(2018) · doi:10.1021/acs.jproteome.8b00359 · Cited by 85
An Efficient Memory-Augmented Transformer for Knowledge-Intensive NLP Tasks
Wu, Y., Zhao, Y., Hu, B., Minervini, P., Stenetorp, P., & Riedel, S. (2022) · Proceedings of the 2022 Conference on Empirical Methods in Natural Language Processing · doi:10.18653/v1/2022.emnlp-main.346 · Cited by 34
Results of the NeurIPS'21 Challenge on Billion-Scale Approximate Nearest Neighbor SearchPreprint
Simhadri, H. V., Williams, G., Aumüller, M., Douze, M., Babenko, A., Baranchuk, D., Chen, Q., Hosseini, L., Krishnaswamy, R., Srinivasa, G., et al. (2022) · arXiv · doi:10.48550/arxiv.2205.03763 · Cited by 88
VHP: approximate nearest neighbor search via virtual hypersphere partitioning
Lu, K., Wang, H., Wang, W., & Kudo, M. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3397230.3397240 · Cited by 84
“As a representative of graph-based algorithms, HNSW uses longrange links to simulate the small-world property based on an approximation of the Delaunay graph [25].”
MethodLu, K., Kudo, M., Xiao, C., & Ishikawa, Y. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3489496.3489506 · Cited by 85
“3489506 types of ANNS methods, graph-based methods show much better empirical search performance than others [14, 30].”
BackgroundMethodInfluentialLarge Scale Graph Learning from Smooth SignalsPreprint
Kalofolias, V., & Perraudin, N. (2017) · arXiv (Cornell University) · doi:10.48550/arxiv.1710.05654 · Cited by 84
“[25, 21], that run with a leading cost of O (n log(n)).”
BackgroundTraining-Free Open-Vocabulary Segmentation with Offline Diffusion-Augmented Prototype Generation
Barsellotti, L., Amoroso, R., Cornia, M., Baraldi, L., & Cucchiara, R. (2024) · IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings - IEEE Computer Society Conference on Computer Vision and Pattern Recognition/Proceedings · doi:10.1109/cvpr52733.2024.00354 · Cited by 84
“Specifically, the left plot of Figure 5 shows the trade-off between speed and performance when using a graph-based HNSW (Hierarchical Navigable Small World) index [29].”
MethodPei, X., Pei, J., Hou, H., & Zhao, Y. (2025) · npj Computational Materials · doi:10.1038/s41524-025-01524-6 · Cited by 83
“…datasets than methods like linear search, vantage point tree, rectangle tree, and ball tree, and is simpler to implement and more accurate than approximation algorithms such as locality-sensitive hashing, hierarchical navigable small world, and approximate nearest neighbors oh yeah 48,49 .”
A Survey on Deep Reinforcement Learning for Data Processing and Analytics
Cai, Q., Cui, C., Xiong, Y., Wang, W., Xie, Z., & Zhang, M. (2022) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2022.3155196 · Cited by 83
“Graphs can be used as effective indexes to accelerate nearest neighbors search[55, 15].”
MethodA proposed conceptual framework for a representational approach to information retrieval
Lin, J. (2021) · ACM SIGIR Forum · doi:10.1145/3527546.3527552 · Cited by 83
“Recently, approaches based on hierarchical navigable small-world graphs (HNSW) [Malkov and Yashunin, 2020] have emerged as the preferred solution, and are implemented in a variety of opensource libraries.”
BackgroundMethodInfluentialKidnapped Radar: Topological Radar Localisation using Rotationally-Invariant Metric Learning
Săftescu, Ş., Gadd, M., Martini, D. D., Barnes, D., & Newman, P. M. (2020) · Proceedings - IEEE International Conference on Robotics and Automation/Proceedings · doi:10.1109/icra40945.2020.9196682 · Cited by 81
“Other CPU-or GPU-based methods allow for faster, although approximate, searches [21, 22].”
MethodSOAR: Improved Indexing for Approximate Nearest Neighbor Search
Sun, P., Simcha, D., Dopson, D., Guo, R., & Kumar, S. (2023) · neural information processing systems · doi:10.52202/075280-0141 · Cited by 83
Re2G: Retrieve, Rerank, Generate
Glass, M., Rossiello, G., Chowdhury, M. F. M., Naik, A., Cai, P., & Gliozzo, A. (2022) · Proceedings of the 2022 Conference of the North American Chapter of the Association for Computational Linguistics: Human Language Technologies · doi:10.18653/v1/2022.naacl-main.194 · Cited by 79
Beyond Text: Optimizing RAG with Multimodal Inputs for Industrial ApplicationsPreprint
Riedler, M., & Langer, S. (2024) · arXiv (Cornell University) · doi:10.48550/arxiv.2410.21943 · Cited by 80
“We employed the Hierarchical Navigable Small World (HNSW) search method (Malkov and Yashunin, 2020) along with L2 similarity search.”
MethodActive Learning for ML Enhanced Database Systems
Ma, L., Ding, B., Das, S., & Swaminathan, A. (2020) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3318464.3389768 · Cited by 78
“(2) Algorithm: We investigate a few common clustering algorithms and observe similar performance with properly tuned parameters [16, 41, 43].”
BackgroundDIMMining: pruning-efficient and parallel graph mining on near-memory-computing
Dai, G., Zhu, Z., Fu, T., Wei, C., Wang, B., Li, X., Xie, Y., Yang, H., & Wang, Y. (2022) · Proceedings - International Symposium on Computer Architecture/Proceedings · doi:10.1145/3470496.3527388 · Cited by 78
Navigating Labels and Vectors: A Unified Approach to Filtered Approximate Nearest Neighbor Search
Cai, Y., Shi, J., Chen, Y., & Zheng, W. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3698822 · Cited by 78
ERNIE-GeoL: A Geography-and-Language Pre-trained Model and its Applications in Baidu Maps
Huang, J., Wang, H., Sun, Y., Shi, Y., Huang, Z., Zhuo, A., & Feng, S. (2022) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3534678.3539021 · Cited by 77
Presekal, A., Stefanov, A. I., Semertzis, I., & Pálenský, P. (2024) · IEEE Transactions on Smart Grid · doi:10.1109/tsg.2024.3474039 · Cited by 79
“To evaluate this method, we generate 20 new scenarios and test several vector search strategies, i.e., KNN [51], Euclidean Distance (ED), K Decision Tree (KDT) [52], Hierarchical Navigable Small World (HNSW) [53], K Means (KM) [54], and Locality Sensitive Hashing (LSH) [55].”
iRangeGraph: Improvising Range-dedicated Graphs for Range-filtering Nearest Neighbor Search
Xu, Y., Gao, J., Gou, Y., Long, C., & Jensen, C. S. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3698814 · Cited by 78
“HNSW [59], NSG [36], and DiskANN [51] , construct their graphs Definition 2.1 (RNG [73]).”
InfluentialEfficient data structures for model-free data-driven computational mechanics
Eggersmann, R., Stainier, L., Ortíz, M., & Reese, S. (2021) · Computer Methods in Applied Mechanics and Engineering · doi:10.1016/j.cma.2021.113855 · Cited by 77
Wu, Z., Sun, S., Wang, Y., Liu, M., Xu, K., Wang, W., Jiang, X., Gao, B., & Lu, J. (2024) · IEEE Transactions on Mobile Computing · doi:10.1109/tmc.2024.3361876 · Cited by 79
“, C}, (10) during which HNSW [34] is adopted to achieve the R-nearest neighbors retrieval.”
MethodInfluentialVector Search with OpenAI Embeddings: Lucene Is All You Need
Xian, J., Teofili, T., Pradeep, R., & Lin, J. (2024) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3616855.3635691 · Cited by 79
“Instead, nearest neighbor search in vector space requires entirely different techniques: indexes based on hierarchical navigable small-world networks (HNSW) [22] are commonly acknowledged as representing the state of the art.”
BackgroundInfluentialTable Discovery in Data Lakes: State-of-the-art and Future Directions
Fan, G., Wang, J., Li, Y., & Miller, R. J. (2023) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3555041.3589409 · Cited by 74
“igable Small World) [38] to find column embeddings with high similarity to those of the query table, and aggregates them into table-level similarities.”
BackgroundMethodInfluentialPrompt Perturbation in Retrieval-Augmented Generation based Large Language Models
Hu, Z., Wang, C., Shu, Y., Paik, H.-Y., & Zhu, L. (2024) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3637528.3671932 · Cited by 76
“We discover that the last layer of LLM provides sufficient information to reveal the pattern of factual inaccuracies in its output.”
BackgroundLearning Space Partitions for Nearest Neighbor SearchPreprint
Dong, Y., Indyk, P., Razenshteyn, I., & Wagner, T. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1901.08544 · Cited by 74
Zhan, J., Mao, J., Liu, Y., Guo, J., Zhang, M., & Ma, S. (2022) · Proceedings of the Fifteenth ACM International Conference on Web Search and Data Mining · doi:10.1145/3488560.3498443 · Cited by 72
Learning Execution Plan Embeddings for Multi-Dimensional Query Resource Prediction
Vasagam, M., Kumar, A., & Garg, A. (2026) · IEEE Access · doi:10.1109/access.2026.3670242 · Cited by 74
“Use Hierarchical Navigable Small World (HNSW) indexing for submillisecond approximate nearest neighbor search in high-dimensional space [28].”
Graph Contrastive Partial Multi-View Clustering
Wang, Y., Chang, D., Fu, Z., Wen, J., & Zhao, Y. (2022) · IEEE Transactions on Multimedia · doi:10.1109/tmm.2022.3210376 · Cited by 71
“For datasets without a predefined graph, graph-based clustering algorithms commonly construct graphs using nearest neighbor algorithm [43], [44].”
MethodSingleStore-V: An Integrated Vector Database System in SingleStore
Chen, C., Jin, C., Zhang, Y., Podolsky, S., Wu, C., Wang, S.-P., Hanson, E. N., Sun, Z., Walzer, R., & Wang, J. (2024) · Proceedings of the VLDB Endowment · doi:10.14778/3685800.3685805 · Cited by 75
“In terms of the HNSW index, pgvector requires 40.3 × ∼ 74.8 × more time than SingleStore-V on GIST1M and SIFT10M, and Milvus requires 1.6 × ∼ 2.7 × more time than SingleStore-V on various datasets.”
BackgroundInfluentialMinimizing FLOPs to Learn Efficient Sparse RepresentationsPreprint
Paria, B., Yeh, C., Yen, I. E.-H., Xu, N., Ravikumar, P., & Póczos, B. (2020) · arXiv · doi:10.48550/arxiv.2004.05665 · Cited by 72
Almanac: Retrieval-Augmented Language Models for Clinical MedicinePreprint
Zakka, C., Chaurasia, A., Shad, R., Dalal, A. R., Kim, J. L., Moor, M., Alexander, K. M., Ashley, E. A., Boyd, J. H., Boyd, K., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2303.01229 · Cited by 72
“These vectors can later be retrieved through approximate nearest neighbor search such as Hierarchical Navigable Small World (HNSW) [36].”
BackgroundOn the De-duplication of LAION-2BPreprint
Webster, R., Rabin, J., Simon, L., & Jurie, F. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2303.12733 · Cited by 71
“All of our AutoFaiss indices use multiple PQ steps, with an initial optimized product quantization (OPQ) step for dimensionality reduction (see [6]), as well as a hierarchical navigable world search (HSNW) [15].”
MethodItemSage: Learning Product Embeddings for Shopping Recommendations at Pinterest
Baltescu, P., Chen, H., Pancha, N., Zhai, A., Leskovec, J., & Rosenberg, C. (2022) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3534678.3539170 · Cited by 70
“The compatibility requirement originates from our desire to support candidate generation via approximate nearest neighbor (ANN) search techniques like Hierarchical Navigable Small Worlds (HNSW) [19].”
MethodResultFINGER: Fast Inference for Graph-based Approximate Nearest Neighbor Search
Chen, P. H., Chang, W.-C., Jiang, J., Yu, H., Dhillon, I. S., & Hsieh, C. (2023) · International World Wide Web Conference (WWW) · doi:10.1145/3543507.3583318 · Cited by 73
“Most recent studies approximate monotonic graphs [18] or relative neighbour graph [2, 35].”
BackgroundMethodInfluentialA Revisit of Hashing Algorithms for Approximate Nearest Neighbor Search
Cai, D. (2019) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2019.2953897 · Cited by 70
InstructRetro: Instruction Tuning post Retrieval-Augmented PretrainingPreprint
Wang, B., Ping, W., McAfee, L., Xu, P., Li, B., Shoeybi, M., & Catanzaro, B. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.07713 · Cited by 71
“• Indexer : We use Inverted File Index (IVF) with 2 22 centroids and accelerate it with Hierarchical Navigable Small World (HNSW) graphs (Malkov & Yashunin, 2018).”
MethodPipeRAG: Fast Retrieval-Augmented Generation via Algorithm-System Co-designPreprint
Jiang, W., Zhang, S., Han, B., Wang, J., Wang, B., & Kraska, T. (2024) · arXiv · doi:10.3929/ethz-b-000663487 · Cited by 71
A Neural Corpus Indexer for Document Retrieval
Wang, Y., Hou, Y., Wang, H., Miao, Z., Wu, S., Chen, Q., Xia, Y., Chi, C., Zhao, G., Liu, Z., et al. (2022) · Advances in Neural Information Processing Systems 35 · doi:10.52202/068431-1856 · Cited by 69
Exploring self-organization and self-adaption for smart manufacturing complex networks
Guo, Z., Zhang, Y., Liu, S., Wang, X. V., & Wang, L. (2022) · Frontiers of Engineering Management · doi:10.1007/s42524-022-0225-1 · Cited by 69
“Random networks (Aljadeff et al., 2015), scale-free networks (Kleineberg, 2017), small-world networks (Malkov and Yashunin, 2020), clustered random networks (Hackett et al., 2011), and core–periphery networks (Verma et al., 2016) have been used to formulate the topological structures of complex…”
MethodLakeBench: A Benchmark for Discovering Joinable and Unionable Tables in Data Lakes
Deng, Y., Chai, C., Cao, L., Qin, Y., Chen, S., Yu, Y., Sun, Z., Wang, J., Li, J., Cao, Z., et al. (2024) · Proceedings of the VLDB Endowment · doi:10.14778/3659437.3659448 · Cited by 69
Efficient Image Retrieval via Decoupling Diffusion into Online and Offline Processing
Yang, F., Hinami, R., Matsui, Y., Ly, S., & Satoh, S. (2019) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v33i01.33019087 · Cited by 69
A survey on graph-based methods for similarity searches in metric spaces
Shimomura, L. C., Oyamada, R. S., Vieira, M. R., & Kaster, D. S. (2020) · Information Systems · doi:10.1016/j.is.2020.101507 · Cited by 70
Graph-based Agent Memory: Taxonomy, Techniques, and ApplicationsPreprint
Yang, C., Zhou, C., Xiao, Y., Dong, S., Zhuang, L., Zhang, Y., Wang, Z., Hong, Z., Yuan, Z., Xiang, Z., et al. (2026) · arXiv · doi:10.48550/arxiv.2602.05665 · Cited by 72
“Future research should explore memory compression techniques specifically designed for graph structures [193], incremental update algorithms that avoid full recomputation [194], and approximate retrieval methods that trade precision for substantial efficiency gains [195].”
Efficient set-valued prediction in multi-class classification
Mortier, T., Wydmuch, M., Dembczyński, K., Hüllermeier, E., & Waegeman, W. (2021) · Data Mining and Knowledge Discovery · doi:10.1007/s10618-021-00751-x · Cited by 68
“For technical details and the complete pseudocode of the H-NSW method, we refer to Malkov and Yashunin (2018). What the algorithm eventually returns is a list of s weight vectors wc for the s classes that have (approximately) the highest inner products with the test example x.”
MethodPLAID: An Efficient Engine for Late Interaction Retrieval
Santhanam, K., Khattab, O., Potts, C., & Zaharia, M. (2022) · Proceedings of the 31st ACM International Conference on Information & Knowledge Management · doi:10.1145/3511808.3557325 · Cited by 67
Learning Sequential Descriptors for Sequence-Based Visual Place Recognition
Mereu, R., Trivigno, G., Berton, G., Masone, C., & Caputo, B. (2022) · IEEE Robotics and Automation Letters · doi:10.1109/lra.2022.3194310 · Cited by 67
Approximating Spectral Clustering via Sampling: A Review
Tremblay, N., & Loukas, A. (2019) · Unsupervised and semi-supervised learning · doi:10.1007/978-3-030-29349-9_5 · Cited by 68
Generic Intent Representation in Web Search
Zhang, H., Song, X., Xiong, C., Rosset, C., Bennett, P. N., Craswell, N., & Tiwary, S. (2019) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3331184.3331198 · Cited by 66
Data Science for Economics and Finance: Methodologies and Applications
Consoli, S., Recupero, D. R., & Saisana, M. (2021) · Springer eBooks · doi:10.1007/978-3-030-66891-4 · Cited by 75
Spreading vectors for similarity search
Sablayrolles, A., Douze, M., Schmid, C., & Jégou, H. (2018) · arXiv · doi:10.48550/arxiv.1806.03198 · Cited by 66
“In contrast, some works carry out training on the database vectors themselves [42, 43, 3], in which case the index is tailored to a particular fixed set of database vectors.”
BackgroundA multiresolution framework to characterize single-cell state landscapes
Mohammadi, S., Davila-Velderrain, J., & Kellis, M. (2020) · Nature Communications · doi:10.1038/s41467-020-18416-6 · Cited by 66
Approximate Nearest Neighbor Search under Neural Similarity Metric for Large-Scale Recommendation
Chen, R., Liu, B., Zhu, H., Wang, Y., Li, Q., Ma, B., Hua, Q., Jiang, J., Xu, Y., Deng, H., et al. (2022) · ACM International Conference on Information and Knowledge Management (CIKM) · doi:10.1145/3511808.3557098 · Cited by 66
“On top of that, Hierarchical NSW (HNSW) [18] incrementally builds a multi-layer structure from proximity graphs and provides state-of-the-art for NNS.”
BackgroundMethodGenerative Retrieval via Term Set Generation
Zhang, P., Liu, Z., Zhou, Y., Dou, Z., Liu, F., & Cao, Z. (2024) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3626772.3657797 · Cited by 67
“For example, a sparse retrieval system uses lexical representations and an inverted index [23, 36], while a dense retrieval system is based on dense embeddings and an ANN index [25, 51].”
MethodJiang, W.-Q., Zeller, M., Waleffe, R., Hoefler, T., & Alonso, G. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3696435.3696439 · Cited by 68
“For the latency evaluation, we disable batching, while, for the throughput evaluation, we set the batch size as the maximum allowed given the RTX 3090 GPU’s memory capacity (batch size = 64 for Dec-S and EncDec-S; 8 for Dec-L and EncDec-L) and assume that all sequences in the batch will generate…”
Nonparametric Uncertainty Quantification for Single Deterministic Neural Network
Kotelevskii, N., Artemenkov, A., Fedyanin, K., Noskov, F., Fishkov, A., Shelmanov, A., Vazhentsev, A., Petiushko, A., & Panov, M. (2022) · neural information processing systems · doi:10.52202/068431-2631 · Cited by 67
“For this purpose, we use the approach of [51] based on Hierarchical Navigable Small World graphs (HNSW).”
MethodTraining Large-Scale News Recommenders with Pretrained Language Models in the Loop
Xiao, S., Liu, Z., Shao, Y., Di, T., Middha, B., Wu, F., & Xie, X. (2022) · Proceedings of the 28th ACM SIGKDD Conference on Knowledge Discovery and Data Mining · doi:10.1145/3534678.3539120 · Cited by 39
“Since the relevance between user embedding and news embedding is measured by inner-product, it turns out to be a Max-Inner-Product-Search problem, where HNSW [34] is used as the backbone of ANN index.”
MethodYang, Q., Ji, H., Xu, Z., Li, Y., Wang, P., Sun, J., Fan, X., Zhang, H., Lü, H., & Zhang, Z. (2023) · Nature Communications · doi:10.1038/s41467-023-39279-7 · Cited by 66
“When searching a large-scale library, the approximate nearest neighbor search (ANNS) methods are preferred, including hierarchical navigable small world graphs 14 , inverted fi le 15 , locality-sensitive hashing 16 , and product quantization 17 .”
Expand, Rerank, and Retrieve: Query Reranking for Open-Domain Question Answering
Chuang, Y.-S., Fang, W., Li, S.-W. D., Yih, W.-T., & Glass, J. R. (2023) · Findings of the Association for Computational Linguistics: ACL (Findings of ACL) · doi:10.18653/v1/2023.findings-acl.768 · Cited by 66
Indyk, P., & Xu, H. (2023) · neural information processing systems · doi:10.52202/075280-2891 · Cited by 67
OOD-DiskANN: Efficient and Scalable Graph ANNS for Out-of-Distribution QueriesPreprint
Jaiswal, S., Krishnaswamy, R., Garg, A., Simhadri, H. V., & Agrawal, S. (2022) · arXiv · doi:10.48550/arxiv.2211.12850 · Cited by 65
“…long-ranged edges, and inspire the current state-of-the-art graph-based approaches such as Vamana and HNSW. State-of-the-artgraph-basedindices[16,24,30]usedata-dependent index construction to achieve 10 × -100 × more query efficiency over data-agnostic methods like LSH [6, 18], as measured by…”
InfluentialWei, J., Peng, B., Lee, X., & Palpanas, T. (2024) · Proceedings of the VLDB Endowment · doi:10.14778/3665844.3665854 · Cited by 64
Dense 3D displacement vector fields for point cloud-based landslide monitoring
Gojčič, Ž., Schmid, L., & Wieser, A. (2021) · Landslides · doi:10.1007/s10346-021-01761-y · Cited by 65
New trends in high-D vector similarity search: al-driven, progressive, and distributed
Echihabi, K., Zoumpatianos, K., & Palpanas, T. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3476311.3476407 · Cited by 63
Shao, Z., Chen, Y., Bian, H., Zhang, J., Liu, G., & Zhang, Y. (2023) · Proceedings of the AAAI Conference on Artificial Intelligence · doi:10.1609/aaai.v37i2.25315 · Cited by 63
BANG: Billion-Scale Approximate Nearest Neighbour Search Using a Single GPU
Venkatasubba, K., Khan, S., Singh, S., Simhadri, H. V., & Vedurada, J. (2025) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2025.3581085 · Cited by 63
“HNSW [36] addresses this by introducing a hierarchical structure to spread neighbours across levels and imposing an upper bound on node degree.”
Influentialda Cunha, W. L. M., França, C., Fonseca, G., da Rocha, L. C. D., & Gonçalves, M. A. (2023) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3539618.3591638 · Cited by 62
“To further scale the application of kNN within our framework, we propose to exploit an approximate kNN solution, more specifically, a strategy that searches for nearest neighbors through the fast approximate nearest neighbor search: HNSW [32], a logarithmic complexity so-lution.”
Method
Metadata
- Authors
- Malkov, Y. A., & Yashunin, D. A.
- Affiliations
- Samsung (Russia) (RU)
- Venue
- IEEE Transactions on Pattern Analysis and Machine Intelligence
- Published
- 2020-04-01
- Volume
- 42
- Issue
- 4
- Pages
- 824-836
- ISSN
- 0162-8828 (ISSN-L)
- 2160-9292
- 1939-3539
- OpenAlex
- W2963469388
- Semantic Scholar
- 699a2e3b653c69aff5cf7a9923793b974f8ca164
- Cited by
- 1,904
- References
- 65
- Citations by year
- 2026: 510 · 2025: 481 · 2024: 268 · 2023: 212 · 2022: 159 · 2021: 132 · 2020: 79
- FWCI
- 33.88
- Type
- journal article
- Language
- en
- Open access
- closed
- Licence
- Locations
- IEEE Transactions on Pattern Analysis and Machine Intelligence (publishedVersion)
- PubMed (publishedVersion)
- Funders
- Russian Foundation for Basic Research (16-31-60104 mol_a_dk)
- Topics
- Physical Sciences › Computer Science › Computer Vision and Pattern Recognition › Advanced Image and Video Retrieval Techniques
- Physical Sciences › Computer Science › Information Systems › Data Management and Algorithms
- Physical Sciences › Mathematics › Theoretical Computer Science › Algorithms and Data Compression
- Keywords
- approximate nearest neighbor search, proximity graphs, skip lists, distributed search, high-dimensional similarity search, logarithmic time complexity
About these checks
Registry, retraction, Cites and statistics results are computed, not judged, with one exception: a printed reference that no index lists is read once by a model before it counts as a citation error. Claims are extracted by a model and kept only when their quote appears verbatim in the text; each cited source is then checked, with a model’s help, for whether it says what the claim relies on. Those verdicts can be wrong — read the claim’s quote and the cited source before relying on one.
Statistics and arithmetic are recomputed, not judged.
Confidence bands are shown only for fields calibrated on our annotated test set. None is calibrated yet, so no band is shown.
What counts as a claim ›How we measure confidence ›How we check this ›
Are you an author, or do you see a problem with this page? Request a review
Data sources
Bibliographic data: Semantic Scholar, OpenAlex, Crossref.
Contains information from the Semantic Scholar Academic Graph Datasets, made available under the ODC Attribution License (ODC-BY 1.0).
Semantic Scholar’s data is described in: Kinney, R., et al. (2023). The Semantic Scholar Open Data Platform. arXiv:2301.10140.