arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2112.15445cs.LGcs.AIcs.PF
收藏

通过利用高效的非结构化修剪和位宽缩减,加速GPU上的深度学习模型

Speedup deep learning models on GPU by taking advantage of efficient unstructured pruning and bit-width reduction

Institute of Electronics(电子研究所);AGH-UST(AGH科技大学);Institute of Computer Science(计算机科学研究所)

Marcin Pietroń, Dominik Żurek

摘要:

本文主要研究了对某些卷积神经网络(CNN)进行剪枝,并利用直接稀疏算法提高其在图形处理单元(GPU)上的效率。Nvidia深度神经网络(cuDnn)库是用于GPU的深度学习(DL)算法的最有效实现。GPU是深度学习计算最常用的加速器。提高CNN模型效率的最常见技术之一是权重修剪和量化。修剪主要有两种类型:结构性修剪和非结构性修剪。第一种方法可以在许多类型的加速器上实现更容易的加速,但是使用这种类型的加速器很难实现与使用第二种类型的加速器一样高的稀疏度和准确度。在某些深度CNN模型中,具有再训练的非结构性修剪可以生成高达90%或更多稀疏度的权重张量。在这篇文章中的修剪算法,这使得它可以实现高稀疏性水平,而不降低精度。在下一阶段中,线性和非线性量化适于进一步减少时间和占用空间。本文是以前发表的关于有效修剪技术的论文的扩展,并提出了具有高稀疏性和降低精度的修剪真实模型,可以实现比CuDnn库更好的性能。

英文摘要:

This work is focused on the pruning of some convolutional neural networks (CNNs) and improving theirs efficiency on graphic processing units (GPU) by using a direct sparse algorithm. The Nvidia deep neural network (cuDnn) library is the most effective implementations of deep learning (DL) algorithms for GPUs. GPUs are the most commonly used accelerators for deep learning computations. One of the most common techniques for improving the efficiency of CNN models is weight pruning and quantization. There are two main types of pruning: structural and non-structural. The first enables much easier acceleration on many type of accelerators, but with this type it is difficult to achieve a sparsity level and accuracy as high as that obtained with the second type. Non-structural pruning with retraining can generate a weight tensors up to 90% or more of sparsity in some deep CNN models. In this article the pruning algorithm is presented which makes it possible to achieve high sparsity levels without accuracy drop. In the next stage the linear and non-linear quantization is adapted for further time and footprint reduction. This paper is an extended of previously published paper concerning effective pruning techniques and present real models pruned with high sparsities and reduced precision which can achieve better performance than the CuDnn library.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑