Module search

Module search 

Source
Expand description

Beam search for DiskANN

Implements the greedy best-first beam search algorithm used in DiskANN for approximate nearest neighbor search on the Vamana graph.

§Algorithm

  1. Start from entry points
  2. Maintain a priority queue of top-L closest candidates
  3. Greedily expand the closest unvisited node
  4. Continue until no closer nodes are found

§References

  • DiskANN: Fast Accurate Billion-point Nearest Neighbor Search on a Single Node (Jayaram Subramanya et al., NeurIPS 2019)

Structs§

BeamSearch
Beam search implementation
SearchResult
Search result containing neighbors and statistics
SearchStats
Search statistics