Towards a GPU accelerated selective sparsity multilayer perceptron algorithm using K-Nearest Neighbors search

被引:1
|
作者
Meyer, Bruno Henrique [1 ]
Nunan Zola, Wagner M. [1 ]
机构
[1] Univ Fed Parana, Curitiba, Parana, Brazil
关键词
neural networks; extreme classificaton; gpu; approximate nearest neighbor search;
D O I
10.1145/3547276.3548634
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
The use of artificial neural networks and deep learning is common in several areas of knowledge. In many situations, it is necessary to use neural networks with many neurons. For example, the Extreme Classification problems can use neural networks that process more than 500,000 classes and inputs with more than 100,000 dimensions, which can make the training process unfeasible due to the high computational cost required. To overcome this limitation, several techniques were proposed in past works, such as the SLIDE algorithm, whose implementation is based on the construction of hash tables and on CPU parallelism. This work proposes the SLIDE-GPU, which replaces the use of hash tables by algorithms that use GPU to search for approximate neighbors, or approximate nearest neighbors (ANN) search. In addition, SLIDE-GPU also proposes the use of GPU to accelerate the activation step of neural networks. Among the experiments carried out, it was possible to notice a training process acceleration of up to 268% in execution time considering the inference accuracy, although currently maintaining the backpropagation phase with CPU processing. This suggests that further acceleration can be obtained in future work, by using massive parallelism in the entire process. The ANN-based technique provides better inference accuracy at each epoch, which helps producing the global acceleration, besides using the GPU in the neuron activation step. The GPU neuron activation acceleration reached a 28.09 times shorter execution time compared to the CPU implementation on this step alone.
引用
收藏
页数:5
相关论文
共 50 条
  • [41] Multi-GPU Implementation of k-Nearest Neighbor Algorithm
    Masek, Jan
    Burget, Kadim
    Karasek, Jan
    Uher, Vaclav
    Dutta, Malay Kishore
    2015 38TH INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS AND SIGNAL PROCESSING (TSP), 2015, : 764 - 767
  • [42] KNN-SC: Novel Spectral Clustering Algorithm Using k-Nearest Neighbors
    Kim, Jeong-Hun
    Choi, Jong-Hyeok
    Park, Young-Ho
    Leung, Carson Kai-Sang
    Nasridinov, Aziz
    IEEE ACCESS, 2021, 9 : 152616 - 152627
  • [43] Vibration-based terrain classification for robots using k-nearest neighbors algorithm
    Xue, K. (xuekai@hrbeu.edu.cn), 1600, Nanjing University of Aeronautics an Astronautics (33):
  • [44] Multi-GPU algorithm for k-nearest neighbor problem
    Kato, Kimikazu
    Hosino, Tikara
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2012, 24 (01): : 45 - 53
  • [45] Density based clustering algorithm for distributed datasets using mutual K-nearest neighbors
    Salim A.
    International Journal of Advanced Computer Science and Applications, 2019, 10 (03): : 620 - 630
  • [47] Internet Traffic Detection using Naive Bayes and K-Nearest Neighbors (KNN) algorithm
    Dixit, Mrudul
    Sharma, Ritu
    Shaikh, Saniya
    Muley, Krutika
    PROCEEDINGS OF THE 2019 INTERNATIONAL CONFERENCE ON INTELLIGENT COMPUTING AND CONTROL SYSTEMS (ICCS), 2019, : 1153 - 1157
  • [48] Anomaly Detection-based Spectrum Sensing using the k-Nearest Neighbors Algorithm
    Lopez-Lopez, Lizeth
    Andrade, Angel G.
    Galaviz, Guillermo
    2022 IEEE MEXICAN INTERNATIONAL CONFERENCE ON COMPUTER SCIENCE (ENC), 2022,
  • [49] Comparing Distance Metrics for Rotation Using the k-Nearest Neighbors Algorithm for Entropy Estimation
    Huggins, David J.
    JOURNAL OF COMPUTATIONAL CHEMISTRY, 2014, 35 (05) : 377 - 385
  • [50] Towards heterogeneous similarity function learning for the k-nearest neighbors classification
    Grudzinski, Karol
    ARTIFICIAL INTELLIGENCE AND SOFT COMPUTING - ICAISC 2008, PROCEEDINGS, 2008, 5097 : 578 - 587