Abstract
DSANN is a novel indexing and search system designed for billion-scale vector retrieval on high-latency distributed storage. By introducing a hybrid Point Aggregation Graph (PAG) and asynchronous query execution, DSANN decouples computation from I/O latency. Experimental results on billion-scale datasets like DEEP1B show that DSANN achieves up to 5x higher query throughput and significantly faster index construction times compared to existing local-disk optimized solutions.
Introduction
Modern AI applications, including Retrieval-Augmented Generation (RAG) and recommendation systems, rely on Approximate Nearest Neighbor Search (ANNS) to navigate massive vector datasets. Traditionally, these indices reside in RAM or local SSDs to minimize latency. However, as datasets scale to billions of vectors, local storage becomes a bottleneck in terms of cost and scalability.
Distributed storage (e.g., S3, HDFS) offers a scalable alternative but introduces significant latency—often 100x higher than local SSDs (0.1-10ms vs. 1-100μs). Existing algorithms like DiskANN or SPANN often stall during these slow I/O operations. DSANN addresses this by optimizing for high-latency environments through architectural innovations that hide I/O wait times.
Methodology: The DSANN Framework
Point Aggregation Graph (PAG)
The core of DSANN is the Point Aggregation Graph, a hybrid indexing structure. It samples a fraction (10%-20%) of vectors as "aggregation points" to form an in-memory proximity graph. The remaining "residual points" are clustered around these aggregation points and stored in distributed storage. This allows the system to navigate the data's global structure in memory while fetching high-precision vectors from the network only when necessary.
Dynamic Representation Selection (DRS) and Concurrent Construction
To mitigate data skew where certain clusters become disproportionately large, DSANN uses Dynamic Representation Selection (DRS). Residual points that are poorly represented by existing clusters are promoted to the in-memory graph. Furthermore, Concurrent Index Construction (CIC) enables horizontal scalability by partitioning the dataset and building localized graphs in parallel across multiple machines.
Asynchronous Query Execution
DSANN utilizes the graph structure to predict future data requirements. Instead of waiting for a single I/O request to complete, it issues multiple asynchronous requests for predicted blocks. This allows the CPU to continue traversing the in-memory graph while the network fetch occurs in the background, effectively hiding the high latency of distributed storage.
Experimental Evaluation
The authors evaluated DSANN against industry benchmarks including SIFT1M, GIST1M, Glove-200, and billion-scale datasets BigANN and DEEP1B.
- Query Performance: On the SIFT dataset at 95% recall, DSANN reached 1359 Queries Per Second (QPS), outperforming DiskANN by 5.05x and SPANN by 1.85x.
- Indexing Efficiency: For the DEEP1B dataset, DSANN completed index construction in 305 seconds using 32 threads, whereas DiskANN took 632 seconds and SPANN required 2080 seconds.
- Memory Efficiency: DSANN maintained high performance for billion-vector searches even with a limited 32GB memory budget, demonstrating its suitability for disaggregated architectures.
Conclusion
DSANN successfully bridges the gap between high-latency distributed storage and high-performance vector search. By decoupling I/O from computation and leveraging asynchronous execution, it provides a scalable and cost-effective solution for massive-scale ANNS. Future work involves optimizing specialized caching strategies that leverage the graph's structural information to further improve performance in unpredictable access patterns.
Summary updated