PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor Indexing

PiPNN (Pick-in-Partitions Nearest Neighbors, pronounced “Pippin”) is a current line of work on fast, hardware-friendly construction of proximity graphs for Approximate Nearest Neighbor Search (ANNS) and k-nearest neighbor (k-NN) graphs. PiPNN builds state-of-the-art graph indices 12–13× faster than Vamana (DiskANN) and HNSW on CPUs and up to 50× faster than state-of-the-art GPU methods—constructing billion-scale indices in 15–20 minutes on a single machine.

Why were previous graph-based indexing methods slow?

Graph-based indices (such as HNSW and Vamana) deliver the best query throughput and recall for vector search, but building them is notoriously slow. Traditional builders insert points by running greedy beam searches over the partially constructed graph, which chases random pointers across memory, underutilizes modern CPUs and GPUs, and takes hours or days on billion-vector datasets.

How PiPNN works

PiPNN eliminates graph search during construction altogether. At a high level, we partition the points into overlapping clusters, perform leaf building within each cluster to select candidate edges, and combine the selected edges using an online pruning algorithm:

Where PiPNN is used

Although PiPNN was only introduced in 2026, it has already been adopted across major industrial vector search libraries, databases, and scientific computing stacks:

Awards

Research team

Publications

PiPNN: Ultra-Scalable Graph-Based Nearest Neighbor Indexing
[pdf] [arxiv] [code (google/ginger)] [code (ParAlg/PiPNN)]
Tobias Rubel, Richard Wen, Laxman Dhulipala, Lars Gottesbüren, Rajesh Jayaram, and Jakub Łącki
Proceedings of the 32nd ACM SIGKDD Conference on Knowledge Discovery and Data Mining (KDD), 2026.
Best Research Paper Award
Turbocharging PiPNN for Proximity and k-NN Graph Building
[pdf] [code (google/ginger)]
Tobias Rubel, Richard Wen, Guy E. Blelloch, Laxman Dhulipala, Lars Gottesbüren, Jakub Łącki, and Vahab Mirrokni
Proceedings of the 2nd Workshop on Vector Databases (VecDB @ VLDB), 2026.
Best Paper Award
Selected for Oral Presentation
Fast K-NN Graph Building with Quantized PiPNN and Filtering
[pdf]
Tobias Rubel, Richard Wen, Guy E. Blelloch, Laxman Dhulipala, Lars Gottesbüren, Jakub Łącki, and Vahab Mirrokni
Proceedings of the 19th International Conference on Similarity Search and Applications (SISAP), 2026.
1st Place, SISAP 2026 Indexing Challenge (Task 1)

Namesake

PiPNN was named after Laxman’s family’s wonderful corgi, Pippin:

Pippin the corgi Petting Pippin the corgi Happy Pippin the corgi