Cargando…
Fast k-NNG Construction with GPU-Based Quick Multi-Select
In this paper, we describe a new brute force algorithm for building the [Image: see text]-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 d...
Autores principales: | , , |
---|---|
Formato: | Online Artículo Texto |
Lenguaje: | English |
Publicado: |
Public Library of Science
2014
|
Materias: | |
Acceso en línea: | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4014471/ https://www.ncbi.nlm.nih.gov/pubmed/24809341 http://dx.doi.org/10.1371/journal.pone.0092409 |
_version_ | 1782315179426447360 |
---|---|
author | Komarov, Ivan Dashti, Ali D'Souza, Roshan M. |
author_facet | Komarov, Ivan Dashti, Ali D'Souza, Roshan M. |
author_sort | Komarov, Ivan |
collection | PubMed |
description | In this paper, we describe a new brute force algorithm for building the [Image: see text]-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. |
format | Online Article Text |
id | pubmed-4014471 |
institution | National Center for Biotechnology Information |
language | English |
publishDate | 2014 |
publisher | Public Library of Science |
record_format | MEDLINE/PubMed |
spelling | pubmed-40144712014-05-14 Fast k-NNG Construction with GPU-Based Quick Multi-Select Komarov, Ivan Dashti, Ali D'Souza, Roshan M. PLoS One Research Article In this paper, we describe a new brute force algorithm for building the [Image: see text]-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. Public Library of Science 2014-05-08 /pmc/articles/PMC4014471/ /pubmed/24809341 http://dx.doi.org/10.1371/journal.pone.0092409 Text en © 2014 Komarov et al http://creativecommons.org/licenses/by/4.0/ This is an open-access article distributed under the terms of the Creative Commons Attribution License, which permits unrestricted use, distribution, and reproduction in any medium, provided the original author and source are properly credited. |
spellingShingle | Research Article Komarov, Ivan Dashti, Ali D'Souza, Roshan M. Fast k-NNG Construction with GPU-Based Quick Multi-Select |
title | Fast k-NNG Construction with GPU-Based Quick Multi-Select |
title_full | Fast k-NNG Construction with GPU-Based Quick Multi-Select |
title_fullStr | Fast k-NNG Construction with GPU-Based Quick Multi-Select |
title_full_unstemmed | Fast k-NNG Construction with GPU-Based Quick Multi-Select |
title_short | Fast k-NNG Construction with GPU-Based Quick Multi-Select |
title_sort | fast k-nng construction with gpu-based quick multi-select |
topic | Research Article |
url | https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4014471/ https://www.ncbi.nlm.nih.gov/pubmed/24809341 http://dx.doi.org/10.1371/journal.pone.0092409 |
work_keys_str_mv | AT komarovivan fastknngconstructionwithgpubasedquickmultiselect AT dashtiali fastknngconstructionwithgpubasedquickmultiselect AT dsouzaroshanm fastknngconstructionwithgpubasedquickmultiselect |