Back to Search Start Over

Fast k-NNG construction with GPU-based quick multi-select.

Authors :
Ivan Komarov
Ali Dashti
Roshan M D'Souza
Source :
PLoS ONE, Vol 9, Iss 5, p e92409 (2014)
Publication Year :
2014
Publisher :
Public Library of Science (PLoS), 2014.

Abstract

In this paper, we describe a new brute force algorithm for building the k-Nearest Neighbor Graph (k-NNG). The k-NNG algorithm has many applications in areas such as machine learning, bio-informatics, and clustering analysis. While there are very efficient algorithms for data of low dimensions, for high dimensional data the brute force search is the best algorithm. There are two main parts to the algorithm: the first part is finding the distances between the input vectors, which may be formulated as a matrix multiplication problem; the second is the selection of the k-NNs for each of the query vectors. For the second part, we describe a novel graphics processing unit (GPU)-based multi-select algorithm based on quick sort. Our optimization makes clever use of warp voting functions available on the latest GPUs along with user-controlled cache. Benchmarks show significant improvement over state-of-the-art implementations of the k-NN search on GPUs.

Subjects

Subjects :
Medicine
Science

Details

Language :
English
ISSN :
19326203
Volume :
9
Issue :
5
Database :
Directory of Open Access Journals
Journal :
PLoS ONE
Publication Type :
Academic Journal
Accession number :
edsdoj.48c010481a754b9394b4fc7012761c2d
Document Type :
article
Full Text :
https://doi.org/10.1371/journal.pone.0092409