PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor Indexing

Fuente: arXiv
Salvato in:
Dettagli Bibliografici
Autori principali: Rubel, Tobias, Wen, Richard, Dhulipala, Laxman, Gottesbüren, Lars, Jayaram, Rajesh, Łącki, Jakub
Natura: Preprint
Pubblicazione: 2026
Soggetti:
Accesso online:
Tags: Aggiungi Tag
Nessun Tag, puoi essere il primo ad aggiungerne!!
_version_ 1866916042041720832
author Rubel, Tobias
Wen, Richard
Dhulipala, Laxman
Gottesbüren, Lars
Jayaram, Rajesh
Łącki, Jakub
author_facet Rubel, Tobias
Wen, Richard
Dhulipala, Laxman
Gottesbüren, Lars
Jayaram, Rajesh
Łącki, Jakub
contents The fastest indexes for Approximate Nearest Neighbor Search today are also the slowest to build: graph-based methods like HNSW and Vamana achieve state-of-the-art query performance but have large construction times due to relying on random-access-heavy beam searches. We introduce PiPNN (Pick-in-Partitions Nearest Neighbors), an ultra-scalable graph construction algorithm that avoids this ``search bottleneck'' that existing graph-based methods suffer from. PiPNN's core innovation is HashPrune, a novel online pruning algorithm which dynamically maintains sparse collections of edges. HashPrune enables PiPNN to partition the dataset into overlapping sub-problems, efficiently perform bulk distance comparisons via dense matrix multiplication kernels, and stream a subset of the edges into HashPrune. HashPrune guarantees bounded memory during index construction which permits PiPNN to build higher quality indices without the use of extra intermediate memory. PiPNN builds state-of-the-art indexes up to 11.6x faster than Vamana (DiskANN) and up to 12.9x faster than HNSW. PiPNN is significantly more scalable than recent algorithms for fast graph construction. PiPNN builds indexes at least 19.1x faster than MIRAGE and 17.3x than FastKCNA while producing indexes that achieve higher query throughput. PiPNN enables us to build, for the first time, high-quality ANN indexes on billion-scale datasets in under 20 minutes using a single multicore machine.
format Preprint
id arxiv_https___arxiv_org_abs_2602_21247
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor Indexing
Rubel, Tobias
Wen, Richard
Dhulipala, Laxman
Gottesbüren, Lars
Jayaram, Rajesh
Łącki, Jakub
Databases
Distributed, Parallel, and Cluster Computing
Information Retrieval
The fastest indexes for Approximate Nearest Neighbor Search today are also the slowest to build: graph-based methods like HNSW and Vamana achieve state-of-the-art query performance but have large construction times due to relying on random-access-heavy beam searches. We introduce PiPNN (Pick-in-Partitions Nearest Neighbors), an ultra-scalable graph construction algorithm that avoids this ``search bottleneck'' that existing graph-based methods suffer from. PiPNN's core innovation is HashPrune, a novel online pruning algorithm which dynamically maintains sparse collections of edges. HashPrune enables PiPNN to partition the dataset into overlapping sub-problems, efficiently perform bulk distance comparisons via dense matrix multiplication kernels, and stream a subset of the edges into HashPrune. HashPrune guarantees bounded memory during index construction which permits PiPNN to build higher quality indices without the use of extra intermediate memory. PiPNN builds state-of-the-art indexes up to 11.6x faster than Vamana (DiskANN) and up to 12.9x faster than HNSW. PiPNN is significantly more scalable than recent algorithms for fast graph construction. PiPNN builds indexes at least 19.1x faster than MIRAGE and 17.3x than FastKCNA while producing indexes that achieve higher query throughput. PiPNN enables us to build, for the first time, high-quality ANN indexes on billion-scale datasets in under 20 minutes using a single multicore machine.
title PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor Indexing
topic Databases
Distributed, Parallel, and Cluster Computing
Information Retrieval
url https://arxiv.org/abs/2602.21247