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
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jegou, H. (2021) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2019.2921572 · Cited by 4,228
Billion-scale similarity search with GPUs
Johnson, J., Douze, M., & Jégou, H. (2017) · arXiv · doi:10.48550/arxiv.1702.08734 · Cited by 4,140
Retrieval-Augmented Generation for Knowledge-Intensive NLP Tasks
Lewis, P., Perez, E., Piktus, A., Petroni, F., Karpukhin, V., Goyal, N., Küttler, H., Lewis, M., Yih, W.-T., Rocktäschel, T., et al. (2020) · arXiv · doi:10.48550/arxiv.2005.11401 · Cited by 3,101
“1 We use the DPR document encoder to compute document embeddings for each document, and we build a single MIPS index using FAISS [19] using Hierarchical Navigable Small World approximation for efficient retrieval [33], which is then used for all experiments.”
MethodGeneralizing RNA velocity to transient cell states through dynamical modeling
Bergen, V., Lange, M., Peidli, S., Wolf, F. A., & Theis, F. J. (2020) · Nature Biotechnology · doi:10.1038/s41587-020-0591-3 · Cited by 2,951
“Furthermore, the inferred Only the dynamical model identifies Cr cells to be terminal by assigning no velocity and indicates that OPCs indeed differentiate into OLs.”
BackgroundOrchestrating single-cell analysis with Bioconductor
Amezquita, R. A., Lun, A. T. L., Becht, E., Carey, V. J., Carpp, L. N., Geistlinger, L., Marini, F., Rue-Albrecht, K., Risso, D., Soneson, C., et al. (2020) · Nature Methods · doi:10.1038/s41592-019-0654-x · Cited by 945
DiskANN: Fast Accurate Billion-point Nearest Neighbor Search on a Single Node
Subramanya, S. J., Devvrit, F., Simhadri, H. V., Krishnawamy, R., & Kadekodi, R. (2019) · neural information processing systems · Cited by 702
Fine-Tuning LLaMA for Multi-Stage Text Retrieval
Ma, X., Wang, L., Yang, N., Wei, F.-R., & Lin, J. (2023) · Annual International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3626772.3657951 · Cited by 515
“documents are searched within the pre-encoded corpus using an efficient approximate nearest neighbour search library such as HNSW (Malkov and Yashunin, 2020).”
MethodDouze, M., Guzhva, A., Deng, C., Johnson, J., Szilvasy, G., Mazaré, P.-E., Lomeli, M., Hosseini, L., & Jégou, H. (2026) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2025.3618474 · Cited by 478
“Since the original work introducing product quantization search [16], quantization-based ANN has emerged as a powerful alternative to binary codes [17].”
Li, W., Zhang, Y., Sun, Y., Wang, W., Li, M., Zhang, W., & Lin, X. (2020) · IEEE Transactions on Knowledge and Data Engineering · doi:10.1109/tkde.2019.2909204 · Cited by 454
“We evaluate Small World Graph [82] (SW(8), IS’14), Hierarchical Navigable Small World [83](HNSW(8), CoRR’16), K-NN graph [8], [74] (KGraph(14), WWW’11), Rank Cover Tree [4] (RCT(15), TPAMI’15), and our Diversified Proximity Graph (DPG(15)).”
Pretrained Transformers for Text Ranking: BERT and Beyond
Lin, J., Nogueira, R. F., & Yates, A. (2021) · Synthesis lectures on human language technologies · doi:10.2200/s01123ed1v01y202108hlt053 · Cited by 453
Survey of vector database management systems
Pan, J. J., Wang, J., & Li, G. (2024) · The VLDB Journal · doi:10.1007/s00778-024-00864-x · Cited by 427
“Vector x is then quantized by splitting it into m sub-vectors, x ′ j , finding the nearest centroid in U j to x ′ j for each j ∈ 1 . . . m , and then concatenating these centroids.”
InfluentialAlmanac — Retrieval-Augmented Language Models for Clinical Medicine
Zakka, C., Shad, R., Chaurasia, A., Dalal, A. R., Kim, J. L., Moor, M., Fong, R., Phillips, C., Alexander, K., Ashley, E., et al. (2024) · NEJM AI · doi:10.1056/aioa2300068 · Cited by 424
Milvus: A Purpose-Built Vector Data Management System
Wang, J., Yi, X., Guo, R., Jin, H., Xu, P., Li, S., Wang, X., Guo, X., Li, C., Xu, X., et al. (2021) · Proceedings of the 2021 International Conference on Management of Data · doi:10.1145/3448016.3457550 · Cited by 416
“Existing works on vector data management mainly focus on vector similarity search [14, 20, 22, 33, 35, 39, 45, 46, 48, 49, 57, 65, 68], but they cannot meet the above requirements due to poor performance (on large-scale and dynamic vector data) and limited functionalities (e.g., not being capable…”
BackgroundMethodInfluentialFast approximate nearest neighbor search with the navigating spreading-out graph
Fu, C., Xiang, C., Wang, C., & Cai, D. (2019) · Proceedings of the VLDB Endowment · doi:10.14778/3303753.3303754 · Cited by 379
“Other algorithms [15, 27, 34] use extra index structures to improve their start position in Algorithm 1 in order to minimize l directly, but this leads to large indices.”
BackgroundMethodResultInfluentialLin, J., Ma, X., Lin, S.-C., Yang, J.-H., Pradeep, R., & Nogueira, R. (2021) · Proceedings of the 44th International ACM SIGIR Conference on Research and Development in Information Retrieval · doi:10.1145/3404835.3463238 · Cited by 360
“To support dense and hybrid retrieval, Pyserini integrates Facebook’s Faiss library for efficient similarity search over dense vectors [12], which in turns integrates the HNSW library [23] to support low-latency querying.”
MethodA Survey on Retrieval-Augmented Text Generation for Large Language Models
Huang, Y., & Huang, J. X. (2026) · ACM Computing Surveys · doi:10.1145/3805774 · Cited by 358
“Internal Data Augmentation leverages information already present within documents or taps into the inherent knowledge embedded in LLMs. Techniques like para-phrasing, where content is rewritten for improved readability or multiple perspectives, and summarization, which condenses information while retaining core conten…”
InfluentialFace recognition vendor test part 3: demographic effects
Grother, P., Ngan, M., & Hanaoka, K. (2019) · doi:10.6028/nist.ir.8280 · Cited by 323
Mapping single-cell atlases throughout Metazoa unravels cell type evolution
Tarashansky, A. J., Musser, J. M., Khariton, M., Li, P., Arendt, D., Quake, S. R., & Wang, B. (2021) · eLife · doi:10.7554/elife.66747 · Cited by 311
Deja Vu: Contextual Sparsity for Efficient LLMs at Inference Time
Liu, Z., Wang, J., Dao, T., Zhou, T., Yuan, B., Song, Z., Shrivastava, A., Zhang, C., Tian, Y., Ré, C., et al. (2023) · arXiv (Cornell University) · doi:10.48550/arxiv.2310.17157 · Cited by 20
“However, due to the high dimensionality of embedding and HNSW’s reliance on CPU, the time HNSW took to identify the sparsity pattern is 10ms, which is longer than the MLP computation.”
MethodInfluentialInformation Retrieval: Recent Advances and Beyond
Hambarde, K., & Proença, H. P. M. C. (2023) · IEEE Access · doi:10.1109/access.2023.3295776 · Cited by 293
“Generally, two types of ANN algorithms are aimed at enhancing retrieval efficiency: nonspecific ANN search techniques [260], [261] and vector”
BackgroundRetroMAE: Pre-Training Retrieval-oriented Language Models Via Masked Auto-Encoder
Xiao, S., Liu, Z., Shao, Y., & Cao, Z. (2022) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/2022.emnlp-main.35 · Cited by 287
“By letting semantically correlated query and document represented as spatially close embeddings, dense retrieval can be efficiently conducted via approximate nearest neighbour search, such as PQ (Jegou et al., 2010; Xiao et al., 2021, 2022a) and HNSW (Malkov and Yashunin, 2018).”
MethodRetrieval-augmented generation for natural language processing: a survey
Wu, S., Xiong, Y., Cui, Y., Wu, H., Chen, C., Yuan, Y., Huang, L., Liu, X., Kuo, T., Guan, N., et al. (2026) · Artificial Intelligence Review · doi:10.1007/s10462-026-11605-7 · Cited by 289
“Choosing a suitable ANN algorithm, such as product quantization [74] or HNSW [111], requires a good trade-off between retrieval efficiency and retrieval quality.”
Wang, M., Xu, X., Yue, Q., & Wang, Y. (2021) · Proceedings of the VLDB Endowment · doi:10.14778/3476249.3476255 · Cited by 264
openTSNE : A Modular Python Library for t-SNE Dimensionality Reduction and Embedding
Poličar, P. G., Stražar, M., & Zupan, B. (2024) · Journal of Statistical Software · doi:10.18637/jss.v109.i03 · Cited by 259
Cumulus provides cloud-based data analysis for large-scale single-cell and single-nucleus RNA-seq
Li, B., Gould, J., Yang, Y., Sarkizova, S., Tabaka, M., Ashenberg, O., Rosen, Y., Slyper, M., Kowalczyk, M. S., Villani, A.-C., et al. (2020) · Nature Methods · doi:10.1038/s41592-020-0905-x · Cited by 252
AnalyticDB-V: a hybrid analytical engine towards query fusion for structured and unstructured data
Wei, C., Wu, B., Wang, S., Lou, R., Zhan, C., Li, F., & Cai, Y. (2020) · Proceedings of the VLDB Endowment · doi:10.14778/3415478.3415541 · Cited by 151
“To fulfill the high accuracy requirement, the neighborhood-based approach [33, 35, 10] is a compelling option.”
BackgroundIn-Batch Negatives for Knowledge Distillation with Tightly-Coupled Teachers for Dense Retrieval
Lin, S.-C., Yang, J.-H., & Lin, J. (2021) · Proceedings of the 6th Workshop on Representation Learning for NLP (RepL4NLP-2021) · doi:10.18653/v1/2021.repl4nlp-1.17 · Cited by 122
“When retrieving texts in response to a given query, computationally expensive transformer inference is replaced by much faster approximate nearest neighbor (ANN) search (Liu et al., 2004; Malkov and Yashunin, 2020).”
MethodAccelerating Large-Scale Inference with Anisotropic Vector Quantization
Guo, R., Sun, P., Lindgren, E., Geng, Q., Simcha, D., Chern, F., & Kumar, S. (2019) · arXiv (Cornell University) · doi:10.4230/lipics.esa.2022.54 · Cited by 108
“The second family includes non-exhaustive search techniques such as tree search [25, 26], graph search [27, 28], or hash bucketing [29] in nearest neighbor search literature.”
MethodGao, J., & Long, C. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3654970 · Cited by 103
A Survey on Deep Hashing Methods
Luo, X., Wang, H., Wu, D., Chen, C., Deng, M., Huang, J., & Hua, X.-S. (2023) · ACM Transactions on Knowledge Discovery from Data · doi:10.1145/3532624 · Cited by 241
“These ANN algorithms are mainly divided into three categories: hashingbased [28,1,93], product quantization based [62,37,68, 132] and graph based [46,94,95].”
Retrieval-Augmented Generation for AI-Generated Content: A Survey
Zhao, P., Zhang, H., Yu, Q., Wang, Z., Geng, Y., Fu, F., Yang, L., Zhang, W., Jiang, J., & Cui, B. (2024) · arXiv · doi:10.48550/arxiv.2402.19473 · Cited by 240
“This method ensures that the context before and after the targeted sentence is included, providing a more comprehensive understanding of the retrieved information.”
Revisiting kd-tree for Nearest Neighbor Search
Ram, P., & Sinha, K. (2019) · Proceedings of the 25th ACM SIGKDD International Conference on Knowledge Discovery & Data Mining · doi:10.1145/3292500.3330875 · Cited by 152
“(iv) The generation of a (sparse) similarity graph between the points in S [22, 32, 33, 49] followed by a greedy graph traversal algorithm; these bear similarities to the traditional skip-lists”
MethodA cell atlas foundation model for scalable search of similar human cells
Heimberg, G., Kuo, T., DePianto, D. J., Salem, O., Heigl, T., Diamant, N., Scalia, G., Biancalani, T., Turley, S. J., Rock, J. R., et al. (2025) · Nature · doi:10.1038/s41586-024-08411-y · Cited by 136
“This is extremely efficient with hnswlib 32 , where searching a precomputed approximate nearest-neighbour index of SCimilarity’s full annotated reference takes just 20 ms (Methods).”
InfluentialSemantic Models for the First-Stage Retrieval: A Comprehensive Review
Guo, J., Cai, Y., Fan, Y., Sun, F., Zhang, R., & Cheng, X. (2022) · ACM Transactions on Information Systems · doi:10.1145/3486250 · Cited by 113
The Fishyscapes Benchmark: Measuring Blind Spots in Semantic Segmentation
Blum, H., Sarlin, P.-E., Nieto, J. I., Siegwart, R., & Cadena, C. (2021) · International Journal of Computer Vision · doi:10.1007/s11263-021-01511-6 · Cited by 218
Filtered-DiskANN: Graph Algorithms for Approximate Nearest Neighbor Search with Filters
Gollapudi, S., Karia, N., Sivashankar, V., Krishnaswamy, R., Begwani, N., Raz, S., Lin, Y., Zhang, Y., Mahapatro, N., Srinivasan, P., et al. (2023) · International World Wide Web Conference (WWW) · doi:10.1145/3543507.3583552 · Cited by 220
“(2) We compare our algorithms with many existing public base-lines, including IVF, HNSW, NHQ and Milvus, and show that they outperform baselines by an order-of-magnitude or more.”
BackgroundInfluentialDense Text Retrieval Based on Pretrained Language Models: A Survey
Zhao, W. X., Liu, J., Ren, R., & Wen, J.-R. (2024) · ACM Transactions on Information Systems · doi:10.1145/3637870 · Cited by 211
“Besides, HNSWlib [266] and SPTAG [267] are libraries focusing on the efficient implementation for graph-based approach.”
BackgroundA comprehensive overview of knowledge graph completion
Shen, T., Zhang, F., & Cheng, J. (2022) · Knowledge-Based Systems · doi:10.1016/j.knosys.2022.109597 · Cited by 215
PinnerSage: Multi-Modal User Embedding Framework for Recommendations at Pinterest
Pal, A., Eksombatchai, C., Zhou, Y., Zhao, B., Rosenberg, C., & Leskovec, J. (2020) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3394486.3403280 · Cited by 205
Fu, C., Wang, C., & Cai, D. (2021) · IEEE Transactions on Pattern Analysis and Machine Intelligence · doi:10.1109/tpami.2021.3067706 · Cited by 203
“They have basically reached a consensus that sparsifying the graph and reducing number of hops during search (with Algorithm 1) are both crucial to the search performance [25], [26], [27].”
BackgroundMethodInfluentialAn Analysis of Fusion Functions for Hybrid Retrieval
Bruch, S., Gai, S.-Y., & Ingber, A. (2022) · ACM Trans. Inf. Syst. · doi:10.1145/3596512 · Cited by 161
“This ANN problem can be solved efficiently using a number of algorithms such as FAISS [12] or Hierarchical Navigable Small World Graphs [22] available as open source”
MethodANN-Benchmarks: A Benchmarking Tool for Approximate Nearest Neighbor Algorithms
Aumüller, M., Bernhardsson, E., & Faithfull, A. (2017) · Lecture Notes in Computer Science · doi:10.1007/978-3-319-68474-1_3 · Cited by 198
SONG: Approximate Nearest Neighbor Search on GPU
Zhao, W., Tan, S., & Li, P. (2020) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde48307.2020.00094 · Cited by 198
“GNNS [26], IEH [35], EFANNA [18], NSG [19], NSW [46] and HNSW [47] approximate the Delaunay Graph or Relative Neighborhood Graph [60], to reduce the proximity graph construction complexity to subquadratic time.”
BackgroundMethodInfluentialReal-Time Open-Domain Question Answering with Dense-Sparse Phrase Index
Seo, M., Lee, J., Kwiatkowski, T., Parikh, A., Farhadi, A., & Hajishirzi, H. (2019) · Proceedings of the 57th Annual Meeting of the Association for Computational Linguistics · doi:10.18653/v1/p19-1436 · Cited by 141
“More recently, graph-based search algorithms (Malkov and Yashunin, 2018) have gained popularity as well.”
BackgroundFreshDiskANN: A Fast and Accurate Graph-Based ANN Index for Streaming Similarity SearchPreprint
Singh, A., Subramanya, S. J., Krishnaswamy, R., & Simhadri, H. V. (2021) · arXiv · doi:10.48550/arxiv.2105.09613 · Cited by 198
“At the other end of the spectrum of ANNS indices are graph-based indexing algorithms [28, 33, 34, 43, 51, 52].”
BackgroundMethodInfluentialFinancial Report Chunking for Effective Retrieval Augmented GenerationPreprint
Jimeno-Yepes, A. J., You, Y., Milczek, J., Laverde, S., & Li, R.-Y. (2024) · arXiv.org · doi:10.48550/arxiv.2402.05131 · Cited by 89
“Weaviate implements an approximate nearest neighbours algo-rithm [28] as their retrieval approach, which supports fast retrieval with high accuracy.”
MethodRetrievalAttention: Accelerating Long-Context LLM Inference via Vector Retrieval
Liu, D., Chen, M., Lu, B., Jiang, H., Han, Z., Zhang, Q., Chen, Q., Zhang, C., Ding, B., Zhang, K., et al. (2025) · neural information processing systems · doi:10.52202/085713-1816 · Cited by 190
Survey of Vector Database Management Systems
Pan, J. J., Wang, J., & Li, G. (2023) · arXiv · doi:10.48550/arxiv.2310.14021 · Cited by 184
“Vector x is then quantized by splitting it into m sub-vectors, x ′ j , finding the nearest centroid in U j to x ′ j for each j ∈ 1 . . . m , and then concatenating these centroids.”
InfluentialRetrieval Augmented Classification for Long-Tail Visual Recognition
Long, A., Yin, W., Ajanthan, T., Nguyen, V., Purkait, P., Garg, R., Blair, A., Shen, C., & van den Hengel, A. (2022) · 2022 IEEE/CVF Conference on Computer Vision and Pattern Recognition (CVPR) · doi:10.1109/cvpr52688.2022.00683 · Cited by 80
“For fast querying of the index, we make use of the FAISS implementation [23] of the Hierarchical Navigable Small World (HNSW) approximate k-NN lookup [35].”
MethodCAGRA: Highly Parallel Graph Construction and Approximate Nearest Neighbor Search for GPUs
Ootomo, H., Naruse, A., Nolet, C., Wang, H., Fehér, T., & Wang, Y. (2024) · IEEE International Conference on Data Engineering (ICDE) · doi:10.1109/icde60146.2024.00323 · Cited by 185
Multi-step Retriever-Reader Interaction for Scalable Open-domain Question AnsweringPreprint
Das, R., Dhuliawala, S., Zaheer, M., & McCallum, A. (2019) · arXiv (Cornell University) · doi:10.48550/arxiv.1905.05733 · Cited by 181
Vector database management systems: Fundamental concepts, use-cases, and current challenges
Taipalus, T. (2024) · Cognitive Systems Research · doi:10.1016/j.cogsys.2024.101216 · Cited by 180
“It is also worth noting that despite their popularity, we – among others [1] – do not consider algorithms or libraries such as Facebook’s FAISS library [5] VDBMSs, as they do not provide many of the functionalities described above.”
BackgroundSPANN: Highly-efficient Billion-scale Approximate Nearest Neighbor Search
Chen, Q., Zhao, B. Q., Wang, H., Li, M., Liu, C., Li, Z., Yang, M., & Wang, J. (2021) · neural information processing systems · doi:10.48550/arxiv.2111.08566 · Cited by 183
“Then we conduct an experiment on SIFT1M dataset to compare the VQ capacity with the start-of-the-art all-in-memory ANNS algorithms, NSG [19], HNSW [32], SCANN [20], NGT-ONNG [23], NGT-PANNG [22] and N2 [4].”
BackgroundMethodManu: a cloud native vector database management system
Guo, R., Luan, X., Xiang, L., Yan, X., Yi, X., Luo, J., Cheng, Q., Xu, W., Luo, J., Liu, F., et al. (2022) · Proceedings of the VLDB Endowment · doi:10.14778/3554821.3554843 · Cited by 100
Deep learning for video classification and captioning
Wu, Z., Yao, T., Fu, Y., & Jiang, Y.-G. (2017) · doi:10.1145/3122865.3122867 · Cited by 178
From Matching to Generation: A Survey on Generative Information Retrieval
Li, X., Jin, J., Zhou, Y., Zhang, Y., Zhang, P., Zhu, Y., & Dou, Z. (2025) · ACM Transactions on Information Systems · doi:10.1145/3722552 · Cited by 172
“Although these methods have achieved leaps in accuracy, they rely on large-scale document indices [14, 15] and cannot be optimized in an end-to-end way.”
Syriopoulos, P. K., Kalampalikis, N. G., Kotsiantis, S. B., & Vrahatis, M. N. (2023) · Annals of Mathematics and Artificial Intelligence · doi:10.1007/s10472-023-09882-x · Cited by 172
“The results suggest that graph-based algorithms have the highest number of queries per second, with HNSW [133, 135] and ONNG being the fastest, with ONNG being more robust if there is no global structure in the dataset.”
Fan, G., Wang, J., Li, Y., Zhang, D., & Miller, R. J. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3587136.3587146 · Cited by 172
ACORN: Performant and Predicate-Agnostic Search Over Vector Embeddings and Structured Data
Patel, L., Kraft, P., Guestrin, C., & Zaharia, M. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3654923 · Cited by 170
“For the HNSW level probability assignment, it is known that the expected greedy search path length is bounded by a constant 𝑆 = 1 1 − exp (− 𝑚 𝐿 ) [48].”
BackgroundInfluentialSimLM: Pre-training with Representation Bottleneck for Dense Passage Retrieval
Wang, L., Yang, N., Huang, X., Jiao, B., Yang, L., Jiang, D., Majumder, R., & Wei, F. (2023) · Proceedings of the 61st Annual Meeting of the Association for Computational Linguistics (Volume 1: Long Papers) · doi:10.18653/v1/2023.acl-long.125 · Cited by 42
Agada, J. O., Folashade, A. G., Ghosal, T., & Biswas, A. (2025) · arXiv (Cornell University) · doi:10.48550/arxiv.2507.18910 · Cited by 172
“Advanced indexing, distributed retrieval, and approximate nearest neighbor techniques facilitate efficient handling of large-scale knowledge bases [57].”
Distilling Dense Representations for Ranking using Tightly-Coupled Teachers
Lin, S.-C., Yang, J.-H., & Lin, J. (2020) · arXiv (Cornell University) · doi:10.48550/arxiv.2010.11386 · Cited by 50
“With index structures, for example, based on small world graphs (Malkov and Yashunin, 2020), the ANN search problem can be further accelerated.”
SPFresh: Incremental In-Place Update for Billion-Scale Vector Search
Xu, Y., Liang, H., Li, J., Xu, S., Chen, Q., Zhang, Q., Li, C., Yang, Z., Yang, F., Yang, Y., et al. (2023) · ACM SIGOPS Symposium on Operating Systems Principles (SOSP) · doi:10.1145/3600006.3613166 · Cited by 167
“Example vector index solutions based on fine-grained graphs include neighborhood-graph based methods [15, 16, 19, 20, 23, 38, 60, 63] which organize all the vectors into a neighborhood graph with each vector connected to its nearest vectors, and hybrid methods [26, 27, 62, 68] which consist of…”
BackgroundSlice: Scalable Linear Extreme Classifiers Trained on 100 Million Labels for Related Searches
Jain, H., Balasubramanian, V., Chunduri, B. R., & Varma, M. (2019) · ACM International Conference on Web Search and Data Mining (WSDM) · doi:10.1145/3289600.3290979 · Cited by 159
“Slice relies on the state-of-the-art Hierarchical Navigable Small World Graph (HNSW) algorithm [31] for sampling its negative training points efficiently.”
Complement Lexical Retrieval Model with Semantic Residual Embeddings
Gao, L., Dai, Z., Chen, T., Fan, Z., Durme, B. V., & Callan, J. (2021) · European Conference on Information Retrieval · doi:10.1007/978-3-030-72113-8_10 · Cited by 125
“In recent years, there has been increasing effort on accelerating maximum inner product and nearest neighbor search, which led to high-quality implementations of libraries for nearest neighbor search such as hnsw [24], FAISS [15], and SCaNN [12].”
BackgroundImproving Approximate Nearest Neighbor Search through Learned Adaptive Early Termination
Li, C., Zhang, M., Andersen, D. G., & He, Y. (2020) · ACM SIGMOD International Conference on Management of Data (SIGMOD) · doi:10.1145/3318464.3380600 · Cited by 159
PARC: ultrafast and accurate clustering of phenotypic data of millions of single cells
Stassen, S. V., Siu, D. M. D., Lee, K. C. M., Ho, J. W. K., So, H. K., & Tsia, K. K. (2020) · Bioinformatics · doi:10.1093/bioinformatics/btaa042 · Cited by 155
Deep Visual Geo-localization Benchmark
Berton, G., Mereu, R., Trivigno, G., Masone, C., Csurka, G., Sattler, T., & Caputo, B. (2022) · 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/cvpr52688.2022.00532 · Cited by 156
Learning to Discriminate Perturbations for Blocking Adversarial Attacks in Text Classification
Zhou, Y., Jiang, J., Chang, K.-W., & Wang, W. W. (2019) · Conference on Empirical Methods in Natural Language Processing (EMNLP) · doi:10.18653/v1/d19-1496 · Cited by 152
“To accelerate the search process, we apply hierarchical navigable small world graphs (SWGs) (Malkov and Yashunin, 2018) for fast approximate kNN search.”
MethodEfficient Approximate Nearest Neighbor Search in Multi-dimensional Databases
Peng, Y. F., Choi, B. K. K., Chan, T. N., Yang, J., & Xu, J. (2023) · Proceedings of the ACM on Management of Data · doi:10.1145/3588908 · Cited by 153
“MRNG The core of MRNG is a rule of using shorter edges to occlude longer edges, NSSG [16], HNSW [36], and FANNG [20].)”
BackgroundZhao, X., Tian, Y., Huang, K., Zheng, B., & Zhou, X. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3594512.3594527 · Cited by 150
PQCache: Product Quantization-based KVCache for Long Context LLM Inference
Zhang, H., Ji, X.-D., Chen, Y., Fu, F.-C., Miao, X., Nie, X.-N., Chen, W.-P., & Cui, B. (2024) · Proc. ACM Manag. Data · doi:10.1145/3725338 · Cited by 143
“In the decoding phase, we efficiently retrieve relevant key-value pairs for self-attention computation and update KVCache.”
PAQ: 65 Million Probably-Asked Questions and What You Can Do With Them
Lewis, P., Wu, Y., Liu, L., Minervini, P., Küttler, H., Piktus, A., Stenetorp, P., & Riedel, S. (2021) · Transactions of the Association for Computational Linguistics · doi:10.1162/tacl_a_00415 · Cited by 146
“We use a fast Hierarchical Navigable Small World (HNSW) index in FAISS (Malkov and Yashunin, 2020; Johnson et al., 2019)9 and measure the time required to evaluate the NQ test set on a system with access to one GPU.”
MethodInfluentialTraining Neural Response Selection for Task-Oriented Dialogue Systems
Henderson, M., Vulić, I., Gerz, D., Casanueva, I., Budzianowski, P., Coope, S., Spithourakis, G., Wen, T.-H., Mrkšić, N., & Su, P.-H. (2019) · Proceedings of the conference - Association for Computational Linguistics. Meeting · doi:10.18653/v1/p19-1536 · Cited by 145
“nearest neighbour search (Malkov and Yashunin, 2016) which speeds up computations drastically at the modest decrease of retrieval performance.”
BackgroundPinnerFormer: Sequence Modeling for User Representation at Pinterest
Pancha, N., Zhai, A., Leskovec, J., & Rosenberg, C. (2022) · ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD) · doi:10.1145/3534678.3539156 · Cited by 147
Wang, M., Xu, W., Yi, X., Wu, S., Peng, Z., Ke, X., Gao, Y., Xu, X., Guo, R., & Xie, C. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3639269 · Cited by 73
A Topological Regularizer for Classifiers via Persistent HomologyPreprint
Chen, C., Ni, X., Bai, Q., & Wang, Y. (2018) · arXiv (Cornell University) · doi:10.48550/arxiv.1806.10714 · Cited by 144
A survey on knowledge-oriented retrieval-augmented generation
Cheng, M., Luo, Y., Ouyang, J., Liu, Q., Liu, H., Li, L., Yu, S., Zhang, B., Cao, J., Ma, J., et al. (2025) · arXiv · doi:10.48550/arxiv.2503.10677 · Cited by 140
“Once the graph is established, a lot of graph search algorithms, such as BFS and HNSW[161], can be applied for subsequent Retrieval step.”
Gao, J., & Long, C. (2023) · Proceedings of the ACM on Management of Data · doi:10.1145/3589282 · Cited by 141
“We use two metrics to measure the accuracy: (1) recall [3, 33, 41, 47], i.”
BackgroundMethodInfluentialHM-ANN: Efficient Billion-Point Nearest Neighbor Search on Heterogeneous Memory.
Ren, J., Zhang, M., & Li, D. (2020) · neural information processing systems · Cited by 140
GGNN: Graph-Based GPU Nearest Neighbor Search
Groh, F., Ruppert, L., Wieschollek, P., & Lensch, H. P. A. (2022) · IEEE Transactions on Big Data · doi:10.1109/tbdata.2022.3161156 · Cited by 138
“The second ingredient is to support a hierarchy of coarsened sub-graphs similar to [25] to ensure that all parts of the graph are connected and gaps in the data set are bridged.”
BackgroundMethodInfluentialAbdelrahman, M., Chong, A., & Miller, C. (2021) · Building and Environment · doi:10.1016/j.buildenv.2021.108532 · Cited by 134
Survey on Exact kNN Queries over High-Dimensional Data Space
Ukey, N., Yang, Z., Li, B., Zhang, G., Hu, Y., & Zhang, W. (2023) · Sensors · doi:10.3390/s23020629 · Cited by 138
Arora, A., Sinha, S., Kumar, P., & Bhattacharya, A. (2018) · Proceedings of the VLDB Endowment · doi:10.14778/3204028.3204034 · Cited by 130
“Methods: We compare HD-Index for effectiveness, efficiency and scalability against a number of representative state-of-the-art meth-ods, namely, Multicurves, C2LSH, SRS, QALSH, OPQ, and HNSW [26,27,33,48,64,66].”
BackgroundMethodInfluentialManohar, M. D., Shen, Z., Blelloch, G. E., Dhulipala, L., Gu, Y., Simhadri, H. V., & Sun, Y. (2024) · ACM SIGPLAN Symposium on Principles and Practice of Parallel Programming · doi:10.1145/3627535.3638475 · Cited by 130
“Another approach for building an ANN graph is to use clustering trees .”
BackgroundMethodInfluentialHawkes processes for events in social media
Rizoiu, M.-A., Lee, Y., Mishra, S., & Xie, L. (2017) · doi:10.1145/3122865.3122874 · Cited by 132
DeepJoin: Joinable Table Discovery with Pre-Trained Language Models
Dong, Y., Xiao, C., Nozawa, T., Enomoto, M., & Oyamada, M. (2023) · Proceedings of the VLDB Endowment · doi:10.14778/3603581.3603587 · Cited by 128
“Since the search time complexity of HNSW is claimed to be logarithmic in the number of indexed objects [35], the search can be done with a time complexity sublinear in the number of target columns, thereby achieving goal (A) stated in stated in Section 2.2.”
BackgroundMethodInfluentialEfficient Passage Retrieval with Hashing for Open-domain Question Answering
Yamada, I., Asai, A., & Hajishirzi, H. (2021) · Proceedings of the 59th Annual Meeting of the Association for Computational Linguistics and the 11th International Joint Conference on Natural Language Processing (Volume 2: Short Papers) · doi:10.18653/v1/2021.acl-short.123 · Cited by 58
“We also apply two popular post-hoc quantization algorithms to the DPR passage index: simple locality sensitive hashing (LSH) (Neyshabur and Srebro, 2015) and product quantization (PQ) (Jégou et al., 2011).”
MethodOpenSearch-SQL: Enhancing Text-to-SQL with Dynamic Few-shot and Consistency Alignment
Xie, X., Xu, G., Zhao, L., & Guo, R. (2025) · Proc. ACM Manag. Data · doi:10.1145/3725331 · Cited by 114
“In practice, using HNSW [24] can significantly reduce retrieval latency, thus shifting the main time consumption to LLM responses and SQL execution.”
An Efficiency Study for SPLADE Models
Lassance, C., & Clinchant, S. (2022) · International ACM SIGIR Conference on Research and Development in Information Retrieval (SIGIR) · doi:10.1145/3477495.3531833 · Cited by 124
Algorithm Engineering for High-Dimensional Similarity Search Problems (Invited Talk)
Aumüller, M. (2020) · DROPS (Schloss Dagstuhl – Leibniz Center for Informatics) · doi:10.4230/lipics.sea.2020.1 · Cited by 1
Maximizing RAG efficiency: A comparative analysis of RAG methods
Şakar, T., & Emekci, H. (2024) · Natural language processing. · doi:10.1017/nlp.2024.53 · Cited by 122
Revisiting the Inverted Indices for Billion-Scale Approximate Nearest Neighbors
Baranchuk, D., Babenko, A., & Malkov, Y. A. (2018) · Lecture notes in computer science · doi:10.1007/978-3-030-01258-8_13 · Cited by 120
Self-citationBiology-inspired data-driven quality control for scientific discovery in single-cell transcriptomics
Subramanian, A., Alperovich, M., Yang, Y., & Li, B. (2022) · Genome Biology · doi:10.1186/s13059-022-02820-w · Cited by 76
“● Graph-based clustering of cells was performed by first building the k-nearest neighbor graph setting K=20 [45] , and then the Louvain algorithm for clustering [46] or community 27”
MethodDynamic Retrieval Augmented Generation of Ontologies using Artificial Intelligence (DRAGON-AI)
Toro, S., Anagnostopoulos, A. V., Bello, S. M., Blumberg, K., Cameron, R., Carmody, L., Diehl, A. D., Dooley, D., Duncan, W. D., Fey, P., et al. (2024) · Journal of Biomedical Semantics · doi:10.1186/s13326-024-00320-3 · Cited by 118
“This allows for efficient queries to retrieve the top k matching objects for an input object, using the Hierarchical Navigable Small World graph search algo-rithm [32].”
MethodFast Multi-Resolution Transformer Fine-tuning for Extreme Multi-label Text ClassificationPreprint
Zhang, J., Chang, W.-C., Yu, H., & Dhillon, I. S. (2021) · arXiv (Cornell University) · doi:10.48550/arxiv.2110.00685 · Cited by 118
“They freeze the pre-trained word embedding and learn another MLP layer followed by a linear ranker with sampled hard negative labels from HNSW [28].”
MethodInfluentialSeRF: Segment Graph for Range-Filtering Approximate Nearest Neighbor Search
Zuo, C., Qiao, M., Zhou, W., Li, F., & Deng, D. (2024) · Proceedings of the ACM on Management of Data · doi:10.1145/3639324 · Cited by 119
Effective binning of metagenomic contigs using contrastive multi-view representation learning
Wang, Z., You, R., Han, H., Liu, W., Sun, F., & Zhu, S. (2024) · Nature Communications · doi:10.1038/s41467-023-44290-z · Cited by 117
Electric Vehicle Charging Planning: A Complex Systems Perspective
Zhao, P., Li, S., Li, Z., Wang, Z., Fei, X., Hu, Z., Alhazmi, M., Yan, X., Wu, C., Lu, S., et al. (2024) · IEEE Transactions on Smart Grid · doi:10.1109/tsg.2024.3446859 · Cited by 115
“Introduced by [29], the small-world network model has since transcended its initial social context, finding applications in various scientific domains due to its unique properties of high clustering and short path lengths [30, 31].”
Generalized and scalable trajectory inference in single-cell omics data with VIA
Stassen, S. V., Yip, G. G. K., Wong, K. K. Y., Ho, J. W. K., & Tsia, K. K. (2021) · Nature Communications · doi:10.1038/s41467-021-25773-3 · Cited by 106
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.