SHINE: A Scalable HNSW Index in Disaggregated Memory
Preprint
Abstract
Approximate nearest neighbor (ANN) search is a fundamental problem in computer science for which in-memory graph-based methods, such as Hierarchical Navigable Small World (HNSW), perform exceptionally well. To scale beyond billions of high-dimensional vectors, the index must be distributed. The disaggregated memory architecture physically separates compute and memory into two distinct hardware units and has become popular in modern data centers. Both units are connected via RDMA networks that allow compute nodes to directly access remote memory and perform all the computations, posing unique challenges for disaggregated indexes. In this work, we propose a scalable HNSW index for ANN search in disaggregated memory. In contrast to existing distributed approaches, which partition the graph at the cost of accuracy, our method builds a graph-preserving index that reaches the same accuracy as a single-machine HNSW. Continuously fetching high-dimensional vector data from remote memory leads to severe network bandwidth limitations, which we overcome by employing an efficient caching mechanism. Since answering a single query involves processing numerous unique graph nodes, caching alone is not sufficient to achieve high scalability. We logically combine the caches of the compute nodes to increase the overall cache effectiveness and confirm the efficiency and scalability of our method in our evaluation.Keywords
All Related Versions
This publication has 60 references indexed in Scilit:
- Survey of vector database management systemsThe VLDB Journal, 2024
- ANN-Benchmarks: A benchmarking tool for approximate nearest neighbor algorithmsInformation Systems, 2020
- Pyramid: A General Framework for Distributed Similarity Search on Large-scale Datasets2019
- Approximate nearest neighbor algorithm based on navigable small world graphsInformation Systems, 2014
- Balanced K-Means for Clustering2014
- Optimized Product Quantization for Approximate Nearest Neighbor Search2013
- Fast Near Neighbor Search in High-Dimensional Binary Data2012
- NP-hardness of Euclidean sum-of-squares clusteringMachine Learning, 2009
- Collaborative Filtering Recommender Systems2007
- A survey of content-based image retrieval with high-level semanticsPattern Recognition, 2007