快速$k$ -使用基于GPU的快速多选功能构建NNG
Fast $k$-NNG construction with GPU-based quick multi-select
摘要:
在本文中,我们描述了一个新的暴力算法建立$k$ -最近邻图($k$ -NNG)。$k$ -NNG算法在诸如机器学习、生物信息学和聚类分析等领域中具有许多应用。虽然对于低维数据有非常有效的算法,但对于高维数据,蛮力搜索是最好的算法。该算法有两个主要部分:第一部分是寻找输入向量之间的距离,这可以用矩阵乘法问题来表示。第二个是为每个查询向量选择$k$ -NN。在第二部分,我们描述了一种新的基于图形处理器(GPU)的快速排序的多选算法。我们的优化巧妙地利用了最新GPU上的warp投票功能以及使用控制缓存。基准测试表明,在GPU上的$k$ -NN搜索的最先进的实现显着改善。
英文摘要:
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 use-controlled cache. Benchmarks show significant improvement over state-of-the-art implementations of the $k$-NN search on GPUs.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。