RTop-K:用于GPU上神经网络加速的超快按行Top-K选择
RTop-K: Ultra-Fast Row-Wise Top-K Selection for Neural Network Acceleration on GPUs
AI总结:
本文提出专为GPU设计的高效并行按行top-k选择算法RTop-K,利用二分搜索优化选择并结合提前停止机制,在保持模型精度的同时实现最高11.49倍加速,并使MaxK-GNN训练流程加速11.97%至33.29%。
摘要:
Top-k选择算法在众多应用中是基础,包括高性能计算、信息检索、大数据处理和神经网络模型训练。本文提出RTop-K,一种专为GPU设计的高效并行按行top-k选择算法。RTop-K利用基于二分搜索的方法来优化按行top-k选择,提供可扩展且加速的解决方案。我们对算法中的提前停止进行了详细分析,表明它有效保持了神经网络模型的测试精度,同时显著提升了性能。我们在GPU上实现的RTop-K性能优于最先进的按行top-k GPU实现,在提前停止下平均加速比高达11.49倍,无提前停止时为7.29倍。此外,RTop-K加速了MaxK-GNN的整体训练流程,在不同模型和数据集上实现了11.97%至33.29%的加速。
英文摘要:
Top-k selection algorithms are fundamental in a wide range of applications, including high-performance computing, information retrieval, big data processing, and neural network model training. In this paper, we present RTop-K, a highly efficient parallel row-wise top-k selection algorithm specifically designed for GPUs. RTop-K leverages a binary search-based approach to optimize row-wise top-k selection, providing a scalable and accelerated solution. We conduct a detailed analysis of early stopping in our algorithm, showing that it effectively maintains the testing accuracy of neural network models while substantially improving performance. Our GPU implementation of RTop-K demonstrates superior performance over state-of-the-art row-wise top-k GPU implementations, achieving an average speed-up of up to 11.49$\times$ with early stopping and 7.29$\times$ without early stopping. Moreover, RTop-K accelerates the overall training workflow of MaxK-GNNs, delivering speed-ups ranging from 11.97% to 33.29% across different models and datasets.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。