Efficient and robust approximate nearest neighbor search using Hierarchical Navigable Small World graphs

03/30/2016
by   Yu. A. Malkov, et al.
0

We present a new algorithm for the approximate K-nearest neighbor search based on navigable small world graphs with controllable hierarchy (Hierarchical NSW). The proposed approach is fully graph-based, without any need for additional search structures, which are typically used at the coarse search stage of the most proximity graph techniques. Hierarchical NSW incrementally builds multi-layer structure consisting from 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 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 many previous state-of-the-art vector-only approaches. Similarity of the algorithm to the skip list structure allows straightforward balanced distributed implementation.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
04/03/2019

A Comparative Study on Hierarchical Navigable Small World Graphs

Hierarchical navigable small world (HNSW) graphs get more and more popul...
research
04/03/2019

Graph based Nearest Neighbor Search: Promises and Failures

Recently, graph based nearest neighbor search gets more and more popular...
research
08/22/2022

Generalized Relative Neighborhood Graph (GRNG) for Similarity Search

Similarity search is a fundamental building block for information retrie...
research
07/27/2021

Understanding and Generalizing Monotonic Proximity Graphs for Approximate Nearest Neighbor Search

Graph-based algorithms have shown great empirical potential for the appr...
research
06/22/2022

Proximity Graph Maintenance for Fast Online Nearest Neighbor Search

Approximate Nearest Neighbor (ANN) search is a fundamental technique for...
research
07/13/2019

Satellite System Graph: Towards the Efficiency Up-Boundary of Graph-Based Approximate Nearest Neighbor Search

Approximate Nearest Neighbor Search (ANNS) in high dimensional space is ...
research
11/27/2019

Towards Similarity Graphs Constructed by Deep Reinforcement Learning

Similarity graphs are an active research direction for the nearest neigh...

Please sign up or login with your details

Forgot password? Click here to reset