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

Ilias Azizi, Karima Echihabi, Themis Palpanas, Vassilis Christophides

TL;DR

This paper provides a comprehensive experimental evaluation of twelve state-of-the-art graph-based vector search methods, revealing that incremental insertion and neighborhood diversification are key to achieving high performance. The authors introduce a new taxonomy to classify these methods and offer crucial insights into their strengths and limitations, guiding future research towards more scalable and efficient vector search solutions.

What Problem Does This Paper Address?

The explosion of vector data, generated by techniques like learned embeddings, presents a significant challenge for analysis. Datasets can easily reach billions of vectors with thousands of dimensions, making traditional search methods computationally prohibitive. Vector search is fundamental to many applications, from recommendation systems to scientific research. While graph-based methods have emerged as a popular solution for approximate nearest neighbor (ANN) search due to their speed, there's a lack of systematic understanding regarding the effectiveness of different design paradigms and their impact on scalability and performance across diverse datasets. This paper aims to fill this gap by providing an exhaustive experimental comparison of leading graph-based vector search techniques.

Methods

The authors propose a new taxonomy to categorize state-of-the-art graph-based vector search methods based on five key design paradigms:

  • Seed Selection (SS): How the search initiates in the graph.
  • Neighborhood Propagation (NP): Refining the graph by considering neighbors of neighbors.
  • Incremental Insertion (II): Building the graph by adding one vertex at a time.
  • Neighborhood Diversification (ND): Sparsifying the graph by pruning redundant edges.
  • Divide-and-Conquer (DC): Splitting the dataset into partitions and building separate graphs.

They then conduct an in-depth experimental evaluation of twelve methods, focusing on the impact of SS and ND strategies. The evaluation involves implementing a baseline incremental insertion method and then applying different SS and ND strategies independently. Performance is measured in terms of indexing time, memory footprint, and query answering efficiency (distance calculations and recall).

Datasets

The study utilizes seven real-world datasets and three synthetic datasets:

  • Real-world datasets:
    • Deep (1 billion 96-dimensional vectors from CNNs)
    • Sift (1 billion 128-dimensional SIFT vectors)
    • SALD (200 million 128-dimensional neuroscience MRI data)
    • Seismic (100 million 256-dimensional earthquake recordings)
    • Text-to-Image (1 billion 200-dimensional embeddings)
    • GIST (1 million 960-dimensional vectors)
    • ImageNet1M (1 million vectors from ImageNet, PCA-reduced to 256 dimensions)
  • Synthetic datasets: Three random 25GB datasets (RandPow0, RandPow5, RandPow50) with 256 dimensions, generated following power-law distributions with varying exponents to model different data complexities.

Subsets of varying sizes (e.g., 25GB, 100GB, 1B) were used for evaluation.

Key Insights and Ideas

  • Incremental Insertion and Neighborhood Diversification are King: The study strongly suggests that methods leveraging incremental insertion (II) for graph construction and neighborhood diversification (ND) for graph sparsification tend to offer the best query performance and scalability.
  • The Base Graph Matters: The choice of the underlying graph structure can significantly impact scalability, even when employing effective paradigms like II and ND.
  • Seed Selection is Crucial (and Complex): While seed selection strategies (SS) are vital for efficient search, the "best" strategy is not universal and depends heavily on dataset size and query complexity. Lightweight SS strategies are identified as a promising research direction.
  • Neighborhood Diversification Strategies Differ: Not all ND strategies are created equal. RND and MOND consistently outperformed other ND methods, with RND leading to smaller graph sizes and reduced memory.
  • Divide-and-Conquer Shines on Hard Datasets: DC-based approaches demonstrated superior performance on challenging datasets (high Local Intrinsic Dimensionality, low Local Relative Contrast) and hard query workloads, likely due to their ability to leverage clustered subsets.
  • Scalability is a Major Hurdle: Many methods that perform well on smaller datasets struggle to scale to billions of vectors, highlighting the need for improved indexing scalability techniques.

Key Results

  • Performance Dominance: ELPIS, HNSW, and NSG/SSG were identified as top performers, with ELPIS often showing superior speedups, especially on large datasets.
  • Speedups: ELPIS was observed to be up to an order of magnitude faster than other methods for achieving 0.95 accuracy on billion-scale datasets.
  • ND Impact: Neighborhood diversification consistently improved query answering performance, especially at higher recall levels and larger dataset sizes, with RND and MOND being the most effective.
  • SS Impact: Seed selection strategies significantly impacted both indexing efficiency and query performance. SN and KS were found to be the most efficient strategies, with SN adapting better to larger datasets.
  • Indexing Time: II-based approaches generally had the lowest indexing times. ELPIS was notably faster than HNSW and NSG for indexing.
  • Memory Footprint: Vamana and ELPIS showed the lowest memory footprints during search. ELPIS also occupied less memory during indexing compared to HNSW and Vamana.
  • Dataset Complexity: Datasets with high Local Intrinsic Dimensionality (LID) and low Local Relative Contrast (LRC) were found to be harder for vector search.

Limitations and Future Work

  • Scalability Challenges: The paper highlights that many graph-based methods face significant scalability challenges when indexing large datasets (100GB and above). Future work should focus on improving indexing scalability, potentially through summarization techniques or scalable data structures.
  • Seed Selection Research: Developing novel, lightweight, and data-adaptive seed selection strategies is identified as a crucial area for future research to enhance both indexing and query answering.
  • Understanding ND Trade-offs: Further theoretical studies are needed to better understand the trade-offs between graph proximity and sparsity to build more efficient graph structures.
  • Hybrid Approaches: The authors suggest that combining the strengths of different paradigms (II, ND, DC) in hybrid approaches could lead to further performance improvements.
  • Data-Adaptive Techniques: Developing techniques that adapt to dataset characteristics (size, dimensionality, LID, LRC) is proposed as a promising direction to excel across various workloads.
  • Optimized Implementations: The study notes that optimized implementations of existing methods can significantly improve performance, suggesting a need for broader adoption of such optimizations.

Summary updated

Abstract

Vector data is prevalent across business and scientific applications, and its popularity is growing with the proliferation of learned embeddings. Vector data collections often reach billions of vectors with thousands of dimensions, thus, increasing the complexity of their analysis. Vector search is the backbone of many critical analytical tasks, and graph-based methods have become the best choice for analytical tasks that do not require guarantees on the quality of the answers. Although several paradigms (seed selection, incremental insertion, neighborhood propagation, neighborhood diversification, and divide-and-conquer) have been employed to design in-memory graph-based vector search algorithms, a systematic comparison of the key algorithmic advances is still missing. We conduct an exhaustive experimental evaluation of twelve state-of-the-art methods on seven real data collections, with sizes up to 1 billion vectors. We share key insights about the strengths and limitations of these methods; e.g., the best approaches are typically based on incremental insertion and neighborhood diversification, and the choice of the base graph can hurt scalability. Finally, we discuss open research directions, such as the importance of devising more sophisticated data-adaptive seed selection and diversification strategies. An extended version of this work appeared in ACM SIGMOD 2025.
BibTeX
@article{azizi2025graph,
  author = {Ilias Azizi and Karima Echihabi and Themis Palpanas and Vassilis Christophides},
  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