Large-Scale Approximate k-NN Graph Construction on GPU

03/29/2021
by   Hui Wang, et al.
0

k-nearest neighbor graph is a key data structure in many disciplines such as manifold learning, machine learning and information retrieval, etc. NN-Descent was proposed as an effective solution for the graph construction problem. However, it cannot be directly transplanted to GPU due to the intensive memory accesses required in the approach. In this paper, NN-Descent has been redesigned to adapt to the GPU architecture. In particular, the number of memory accesses has been reduced significantly. The redesign fully exploits the parallelism of the GPU hardware. In the meantime, the genericness as well as the simplicity of NN-Descent are well-preserved. In addition, a simple but effective k-NN graph merge approach is presented. It allows two graphs to be merged efficiently on GPUs. More importantly, it makes the construction of high-quality k-NN graphs for out-of-GPU-memory datasets tractable. The results show that our approach is 100-250x faster than single-thread NN-Descent and is 2.5-5x faster than existing GPU-based approaches.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
08/02/2019

On the Merge of k-NN Graph

K-nearest neighbor graph is the fundamental data structure in many disci...
research
04/02/2022

Graph-based Approximate NN Search: A Revisit

Nearest neighbor search plays a fundamental role in many disciplines suc...
research
07/30/2013

Scalable k-NN graph construction

The k-NN graph has played a central role in increasingly popular data-dr...
research
12/13/2021

Fast Single-Core K-Nearest Neighbor Graph Computation

Fast and reliable K-Nearest Neighbor Graph algorithms are more important...
research
02/28/2017

Billion-scale similarity search with GPUs

Similarity search finds application in specialized database systems hand...
research
04/16/2017

In-Datacenter Performance Analysis of a Tensor Processing Unit

Many architects believe that major improvements in cost-energy-performan...
research
12/20/2021

Efficient Wind Speed Nowcasting with GPU-Accelerated Nearest Neighbors Algorithm

This paper proposes a simple yet efficient high-altitude wind nowcasting...

Please sign up or login with your details

Forgot password? Click here to reset