AlgorithmsSearching & hashingEdit on GitHubEdit history
Hierarchical Navigable Small World
HNSW2016
A graph-based index that stacks multiple layers of proximity graphs, each element appearing up to a randomly chosen top layer, and finds approximate nearest neighbors by descending greedily from the top layer. It is widely used in vector search libraries and databases.
Origin
Yury Malkov, D. A. Yashunin (2016). Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs. arXiv 2016.arXiv:1603.09320 — checked against arXiv, 2026-11-08
Lineage
Algorithms 3 · Relations 2
Parent algorithms
Where it came from
Navigable Small World Graph2014
Author statementThe HNSW paper states that it improves on the authors' earlier NSW structure by adding a hierarchy of layers. — arXiv:1603.09320
Skip List1990
Author statementThe HNSW paper describes the structure as an extension of the probabilistic skip list with proximity graphs in place of linked lists. — arXiv:1603.09320
Notable implementations
Paths checked against the GitHub default branch
Find more: GitHub · Semantic Scholar · Google Scholar · arXiv
Claims & disputes
Loading…