Govur University Logo
--> --> --> -->
...

During HNSW graph construction for vector search, why does increasing the 'M' parameter improve recall at the cost of both search latency and memory usage?



In HNSW, or Hierarchical Navigable Small World graphs, the M parameter defines the maximum number of bidirectional edges each node can create with its neighbors in the graph. Increasing M improves recall because it increases the connectivity of the graph, which creates more paths for the search algorithm to explore. With more paths available, the algorithm is si....

Log in to view the answer



Redundant Elements