Graph-Based Vector Search: An Experimental Evaluation of the State-of-the-Art

Ilias Azizi, Karima Echihabi, Themis Palpanas

Vector search has become the foundational technology for modern AI retrieval systems, including Retrieval-Augmented Generation (RAG), recommendation engines, and large-scale image search. As datasets grow to billions of vectors, the industry has converged on graph-based Approximate Nearest Neighbor (ANN) search as the standard for high-performance, in-memory retrieval. However, the proliferation of competing algorithms—such as HNSW, Vamana, and NSG—has made it difficult for practitioners to identify which designs truly scale. This research presents a comprehensive experimental evaluation of 12 state-of-the-art graph-based methods on datasets containing up to 1 billion vectors.

While many benchmarking studies focus on datasets of 1 million vectors, real-world workloads often operate at a much larger scale. At the billion-vector level, scalability bottlenecks related to memory footprint and indexing time become critical. This study aims to move beyond simple "horse race" comparisons by decomposing algorithms into their core design components to understand why certain methods outperform others.

A Taxonomy of Graph-Based Design

The authors categorize graph-based ANN methods into five fundamental design paradigms:

  1. Seed Selection (SS): Determining the entry point for the graph traversal.
  2. Neighborhood Propagation (NP): Refining the graph by sharing neighbor lists between connected nodes.
  3. Incremental Insertion (II): Constructing the graph node-by-node to create a "small world" structure with both local and long-range links.
  4. Neighborhood Diversification (ND): Pruning redundant edges to ensure the graph maintains connections in diverse directions, preventing searches from getting stuck in local clusters.
  5. Divide-and-Conquer (DC): Partitioning the dataset to build and search multiple sub-graphs.

Experimental Evaluation

The evaluation utilized a diverse set of real-world and synthetic datasets, including Deep (1B vectors), Text-to-Image (1B vectors), and Sift (1B vectors). The researchers measured indexing time, memory efficiency, and query accuracy across 12 algorithms.

Key Insights: The Power of Diversification

A primary finding of the study is that Neighborhood Diversification (ND) is essential for performance at scale. By pruning redundant edges, algorithms can navigate the graph more efficiently. Without ND, search performance degrades as datasets grow because the search process becomes bogged down in dense, redundant neighborhoods.

Furthermore, the study revealed a "Base Graph Trap." Methods that rely on building a massive, unpruned base graph (like NSG or SSG) perform well on small datasets but fail to scale to 100GB+ workloads due to excessive memory consumption or prohibitive indexing times.

Comparative Performance and Scalability

Only three algorithms—HNSW, Vamana, and ELPIS—successfully scaled to the 1-billion vector datasets within reasonable resource constraints. Among these, ELPIS (which combines Incremental Insertion, Neighborhood Diversification, and Divide-and-Conquer) emerged as a top performer.

Comparison of search latency across different vector search methods for an image retrieval task.

As illustrated in the figure above, ELPIS demonstrates significant advantages in query latency. In practical image search scenarios, ELPIS achieves response times as low as 0.002 ms, outperforming traditional methods like Serial Scan by several orders of magnitude and showing superior efficiency compared to other graph-based approaches like EFANNA.

Key Results Summary:

  • Indexing Speed: ELPIS indexed 25GB datasets 2.7x faster than HNSW and 4x faster than NSG.
  • Query Efficiency: On 1-billion vector datasets, ELPIS was up to an order of magnitude faster than competitors at reaching 95% recall.
  • Memory Footprint: ELPIS and Vamana showed the highest memory efficiency, with ELPIS using up to 40% less memory than HNSW during the indexing phase.

Conclusion and Future Directions

The research concludes that the most robust graph-based search engines are those that integrate multiple design paradigms, particularly Incremental Insertion and Neighborhood Diversification. While current methods provide impressive empirical speed, they lack formal theoretical guarantees for accuracy. Future work should focus on hybrid designs and data-adaptive techniques that automatically optimize graph structures based on the intrinsic dimensionality and complexity of the underlying data.

Summary updated

BibTeX
@article{azizi2025graph,
  author = {Ilias Azizi and Karima Echihabi and Themis Palpanas},
  title = {{Graph-Based Vector Search: An Experimental Evaluation of the State-of-the-Art}},
  journal = {Proc. ACM Manag. Data},
  year = {2025},
  doi = {10.1145/3709693},
}
Figure