paper-with-me

Papers

Unleashing Graph Partitioning for Large-Scale Nearest Neighbor Search

2024-03-04 · 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, and prove strong theoretical guarantees on their 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, our new routing methods enable the use of balanced graph partitioning, which is a high-quality partitioning method without a naturally associated routing algorithm. Thus, we provide the first methods for routing using balanced graph partitioning that are extremely fast to train, admit low latency, and achieve high recall. We provide a comprehensive evaluation of our full partitioning and routing pipeline on billion-scale datasets, where it outperforms existing scalable partitioning methods by significant margins, achieving up to 2.14x higher QPS at 90% recall$@10$ than the best competitor.

📄 PDF Abstract BibTeX arXiv:2403.01797

Code (1)

larsgottesbueren/gp-ann 공식 구현

Tasks

graph partitioning

Similar Papers 제목 키워드 기반

A graphical heuristic for reduction and partitioning of large datasets for scalable supervised training

2019-07-24 · Sumedh Yadav, Mathis Bode

A scalable graphical method is presented for selecting, and partitioning datasets for the training phase of a classification task. For the heuristic, a clustering algorithm is required to get its computation cost in a re…

ClusteringGeneral Classification

Learning Space Partitions for Nearest Neighbor Search

2019-01-24 · ICLR 2020 1 · Yihe Dong, Piotr Indyk, Ilya Razenshteyn, Tal Wagner

Space partitions of $\mathbb{R}^d$ underlie a vast and important class of fast nearest neighbor search (NNS) algorithms. Inspired by recent theoretical work on NNS for general metric spaces [Andoni, Naor, Nikolov, Razens…

General Classificationgraph partitioningQuantization

Which Space Partitioning Tree to Use for Search?

2013-12-01 · NeurIPS 2013 12 · Parikshit Ram, Alexander Gray

We consider the task of nearest-neighbor search with the class of binary-space-partitioning trees, which includes kd-trees, principal axis trees and random projection trees, and try to rigorously answer the question whic…

Quantization

Scalable Overload-Aware Graph-Based Index Construction for 10-Billion-Scale Vector Similarity Search

2025-02-28 · Yang Shi, Yiping Sun, Jiaolong Du, Xiaocheng Zhong 외

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 a…

Scheduling

AWAPart: Adaptive Workload-Aware Partitioning of Knowledge Graphs

2022-03-28 · Amitabh Priyadarshi, Krzysztof J. Kochut

Large-scale knowledge graphs are increasingly common in many domains. Their large sizes often exceed the limits of systems storing the graphs in a centralized data store, especially if placed in main memory. To overcome …

Knowledge Graphs