4 ms·
HNSW, or Hierarchical Navigable Small World is a graph data structure for approximate nearest neighbor search of vectors. https://arxiv.org/abs/1603.09320 http
by binarymax 4y ago
HNSW, or Hierarchical Navigable Small World is a graph data structure for approximate nearest neighbor search of vectors.
https://arxiv.org/abs/1603.09320 https://arxiv.org/abs/1603.09320
The problem space of ANN is one of those really deep holes you can go down. It’s a game of balancing time and space, and it’s got plenty of fascinating algorithms and datastructures.
Check out http://ann-benchmarks.com/ http://ann-benchmarks.com/ for a comparison. HNSW is not “the best” but it’s easy to understand and is quite effective.
- israrkhan 4y agoI second this.. very useful for vector NLP and other ML tasks.