AI Glossary

Hierarchical navigable small world

Also called HNSW

What does “Hierarchical navigable small world” mean?

Hierarchical navigable small world: An approximate search index that navigates layers of neighbor graphs to find similar vectors.

Hierarchical navigable small world visual guide: An approximate search index that navigates layers of neighbor graphs to find similar vectors.
Visual guide Open full size (new tab)

What is an example of “Hierarchical navigable small world”?

A vector database explores a sparse graph before searching a denser neighborhood.