Unleashing Graph Partitioning for Large-Scale Nearest Neighbor Search
Lars Gottesbüren, Laxman Dhulipala, Rajesh Jayaram, Jakub Lacki
摘要
We consider the fundamental problem of decomposing a large-scale approximate nearest neighbor search (ANNS) problem into smaller sub-problems. The goal is to partition the input points into neighborhood-preserving shards , so that the nearest neighbors of any point are contained in only a few shards. When a query arrives, a routing algorithm is used to identify the shards which should be searched for its nearest neighbors. This approach forms the backbone of distributed ANNS, where the dataset is so large that it must be split across multiple machines.
In this paper, we design simple and highly efficient routing methods based on clustering and locality-sensitive hashing. We prove strong theoretical guarantees for the LSH-based method, whereas the clustering-based method exhibits better empirical performance. A crucial characteristic of our routing algorithms is that they are inherently modular, and can be used with any partitioning method. This addresses a key drawback of prior approaches, where the routing algorithms are inextricably linked to their associated partitioning method. In particular, due to their modular structure, our routing methods enable the use of balanced graph partitioning , which is a high-quality partitioning method without a naturally associated routing algorithm. Prior routing methods compatible with graph partitioning are too slow to train on large-scale data.
We provide the first routing methods that are simultaneously compatible with graph partitioning, fast to train, admit low latency, and achieve high recall. In a comprehensive evaluation of our partitioning and routing on billion-scale datasets, we show that our methods outperform existing scalable partitioning methods by significant margins, achieving up to 1.72× higher QPS at 90% 10-recall than the best competitor and 1.27× in the geometric mean. Through fast and modular routing we establish graph partitioning as the new method of choice for partitioning large-scale ANNS datasets.
问 Lune
几分钟读透这篇 Paper,不用再花一下午。
Lune 能读完全文,也能读引用它的顶会 Paper,讲清它的结论、证据和局限,每一点都注明出自哪篇 Paper。不用硬啃,也不靠猜。
已有 4 篇顶会 Paper 引用了它。别等审稿人问起,先弄清它们发现了什么。
脉络
- LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search 引用了 BLISS: A Billion scale Index using Iterative Re-partitioning
- LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search 引用了 Optimistic Query Routing in Clustering-based Approximate Maximum Inner Product Search
- LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search 引用了 Learning Space Partitions for Nearest Neighbor Search
- LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor Search 引用了 Accelerating Large-Scale Inference with Anisotropic Vector Quantization
- BLISS: A Billion scale Index using Iterative Re-partitioning 引用了 Learning Space Partitions for Nearest Neighbor Search
- Disentangling Graph Dependencies for Efficient Billion-Scale GPU Vector Search 引用了 Accelerating Large-Scale Inference with Anisotropic Vector Quantization
- Optimistic Query Routing in Clustering-based Approximate Maximum Inner Product Search 引用了 Learning Space Partitions for Nearest Neighbor Search
- Optimistic Query Routing in Clustering-based Approximate Maximum Inner Product Search 引用了 Accelerating Large-Scale Inference with Anisotropic Vector Quantization
引用它的顶会 Paper4
- LoRANN: Low-Rank Matrix Factorization for Approximate Nearest Neighbor SearchElias Jääsaari, Ville Hyvönen, Teemu RoosNeurIPS 2024 · 11 次引用
- Optimistic Query Routing in Clustering-based Approximate Maximum Inner Product SearchSebastian Bruch, Aditya Krishnan, Franco Maria NardiniNeurIPS 2025 · 6 次引用
- PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor IndexingTobias Rubel, Richard Wen, Laxman Dhulipala, Lars Gottesbüren 等KDD 2026 · 2 次引用
- Disentangling Graph Dependencies for Efficient Billion-Scale GPU Vector SearchHaoru Zhao, Jingkai He, Jingyao Zeng, Mingkai Dong 等OSDI 2026
它引用的 Paper4
- Accelerating Large-Scale Inference with Anisotropic Vector QuantizationRuiqi Guo, Philip Sun, Erik Lindgren, Quan Geng 等ICML 2020 · 539 次引用
- Learning Space Partitions for Nearest Neighbor SearchYihe Dong, Piotr Indyk, Ilya P. Razenshteyn, Tal WagnerICLR 2020 · 104 次引用
- BLISS: A Billion scale Index using Iterative Re-partitioningGaurav Gupta, Tharun Medini, Anshumali Shrivastava, Alexander J. SmolaKDD 2022 · 14 次引用
- New streaming algorithms for high dimensional EMD and MSTXi Chen, Rajesh Jayaram, Amit Levi, Erik WaingartenSTOC 2022 · 11 次引用
相关 Paper
- CSPG: Crossing Sparse Proximity Graphs for Approximate Nearest Neighbor SearchMing Yang, Yuzheng Cai, Weiguo ZhengNeurIPS 2024 · 14 次引用
- ParlayANN: Scalable and Deterministic Parallel Graph-Based Approximate Nearest Neighbor Search AlgorithmsMagdalen Dobson Manohar, Zheqi Shen, Guy E. Blelloch, Laxman Dhulipala 等PPoPP 2024 · 39 次引用
- Probabilistic Routing for Graph-Based Approximate Nearest Neighbor SearchKejing Lu, Chuan Xiao, Yoshiharu IshikawaICML 2024 · 9 次引用
- Routing-Guided Learned Product Quantization for Graph-Based Approximate Nearest Neighbor SearchQiang Yue, Xiaoliang Xu, Yuxiang Wang, Yikun Tao 等ICDE 2024 · 5 次引用
- HEXA: A Disjoint-Subgraph-Based Indexing Framework for Approximate Nearest Neighbor Search at Billion ScaleYifei Xu, Yanyan Shen, Youmin Chen, Linpeng HuangVLDB 2026
