Scalable Overload-Aware Graph-Based Index Construction for 10-Billion-Scale Vector Similarity Search
Yang Shi, Yiping Sun, Jiaolong Du, Xiaocheng Zhong, Zhiyong Wang, Yao Hu
TL;DR
The paper tackles the challenge of constructing graph-based ANNS indexes at ultra-large scale, where traditional methods suffer from slow construction and limited scalability. It introduces SOGAIC, a scalable system that combines overload-aware adaptive data partitioning with a distributed load-balancing framework and an agglomerative subgraph merging strategy to assemble high-quality ANNS graphs across clusters. Empirical results show a 47.3\% average reduction in index construction time and robust performance on datasets up to $10^{10}$ points, with successful deployment in a real-world industrial search engine handling over $10^{10}$ daily vector updates. This work enables frequent updates and scalable vector similarity search in production environments with hundreds of millions of users.
Abstract
Approximate Nearest Neighbor Search (ANNS) is essential for modern data-driven applications that require efficient retrieval of top-k results from massive vector databases. Although existing graph-based ANNS algorithms achieve a high recall rate on billion-scale datasets, their slow construction speed and limited scalability hinder their applicability to large-scale industrial scenarios. In this paper, we introduce SOGAIC, the first Scalable Overload-Aware Graph-Based ANNS Index Construction system tailored for ultra-large-scale vector databases: 1) We propose a dynamic data partitioning algorithm with overload constraints that adaptively introduces overlaps among subsets; 2) To enable efficient distributed subgraph construction, we employ a load-balancing task scheduling framework combined with an agglomerative merging strategy; 3) Extensive experiments on various datasets demonstrate a reduction of 47.3% in average construction time compared to existing methods. The proposed method has also been successfully deployed in a real-world industrial search engine, managing over 10 billion daily updated vectors and serving hundreds of millions of users.
