Hierarchical navigable small world (HNSW)

a fundamental breakthrough in approximate nearest neighbor search for high-dimensional vector spaces. Introduced by Yury Malkov and Dmitry Yashunin in 2016. The algorithm achieves logarithmic search complexity through a sophisticated multi-layer graph structure that separates connections by characteristic distance scales, enabling efficient navigation from coarse to fine granularity during search operations. - Medium / Wikipedia

see also

schema

Written on March 24, 2026, Last update on
algorithm search nearest-neighbor