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 条
  • [31] Formally Verified Implementation of the K-Nearest Neighbors Classification Algorithm
    Velasquez, Bernny
    Herring, Jessica
    Hamid, Nadeem Abdul
    FORMAL METHODS: FOUNDATIONS AND APPLICATIONS, SBMF 2024, 2025, 15403 : 139 - 152
  • [32] AN IMPROVED BRANCH AND BOUND ALGORITHM FOR COMPUTING K-NEAREST NEIGHBORS
    KAMGARPARSI, B
    KANAL, LN
    PATTERN RECOGNITION LETTERS, 1985, 3 (01) : 7 - 12
  • [33] An efficient algorithm to find k-nearest neighbors in flocking behavior
    Lee, Jae Moon
    INFORMATION PROCESSING LETTERS, 2010, 110 (14-15) : 576 - 579
  • [34] k-Nearest Neighbors Algorithm in Profiling Power Analysis Attacks
    Martinasek, Zdenek
    Zeman, Vaclav
    Malina, Lukas
    Martinasek, Josef
    RADIOENGINEERING, 2016, 25 (02) : 365 - 382
  • [35] An Adaptable k-Nearest Neighbors Algorithm for MMSE Image Interpolation
    Ni, Karl S.
    Nguyen, Truong Q.
    IEEE TRANSACTIONS ON IMAGE PROCESSING, 2009, 18 (09) : 1976 - 1987
  • [36] Improving k-Nearest Neighbors Algorithm for Imbalanced Data Classification
    Shi, Zhan
    3RD ANNUAL INTERNATIONAL CONFERENCE ON CLOUD TECHNOLOGY AND COMMUNICATION ENGINEERING, 2020, 719
  • [37] Graph Clustering Using Mutual K-Nearest Neighbors
    Sardana, Divya
    Bhatnagar, Raj
    ACTIVE MEDIA TECHNOLOGY, AMT 2014, 2014, 8610 : 35 - 48
  • [38] A Fast Exact k-Nearest Neighbors Algorithm for High Dimensional Search Using k-Means Clustering and Triangle Inequality
    Wang, Xueyi
    2011 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2011, : 1293 - 1299
  • [39] Short-Term Forecasting of Photovoltaic Power Using Multilayer Perceptron Neural Network, Convolutional Neural Network, and k-Nearest Neighbors' Algorithms
    Iheanetu, Kelachukwu
    Obileke, KeChrist
    OPTICS, 2024, 5 (02): : 293 - 309
  • [40] SANNS: Scaling Up Secure Approximate k-Nearest Neighbors Search
    Chen, Hao
    Chillotti, Ilaria
    Dong, Yihe
    Poburinnaya, Oxana
    Razenshteyn, Ilya
    Riazi, M. Sadegh
    PROCEEDINGS OF THE 29TH USENIX SECURITY SYMPOSIUM, 2020, : 2111 - 2128