arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2109.07710cs.LGcs.CV
收藏

利用基于激活的梯度输出稀疏性加速CNN中的反向传播

Exploiting Activation based Gradient Output Sparsity to Accelerate Backpropagation in CNNs

The Pennsylvania State University(宾夕法尼亚州立大学)

Anup Sarma, Sonali Singh, Huaipan Jiang, Ashutosh Pattnaik, Asit K Mishra, Vijaykrishnan Narayanan, Mahmut T Kandemir, Chita R Das

摘要:

基于机器/深度学习(ML/DL)的技术正在成为许多尖端技术背后的驱动力,实现了计算机视觉工作负载的高精度,如图像分类和目标检测。然而,训练这些涉及大参数的模型既耗时又耗能。在这方面,一些先前的工作已经提倡稀疏性来加速DL训练,更重要的是,推理阶段。这项工作开始于观察,在训练过程中,稀疏的向前和向后传递是相关的。在这种情况下,我们调查两种类型的稀疏性(输入和输出类型)固有的梯度下降为基础的优化算法,并提出了一个硬件微架构,以利用相同的。我们的实验结果在Imagenet数据集上使用了五个最先进的CNN模型,与密集基线执行相比,反向传播加速范围为1.69 $\times$至5.43 $\times$。通过在向前和向后传递中利用稀疏性,与稀疏性无关的基线执行相比,加速改进的范围从1.68 $\times$到3.30 $\times$。我们的工作还实现了训练迭代时间的显着减少,在几个以前提出的密集以及稀疏加速器为基础的平台,除了实现数量级的能源效率提高基于GPU的执行。

英文摘要:

Machine/deep-learning (ML/DL) based techniques are emerging as a driving force behind many cutting-edge technologies, achieving high accuracy on computer vision workloads such as image classification and object detection. However, training these models involving large parameters is both time-consuming and energy-hogging. In this regard, several prior works have advocated for sparsity to speed up the of DL training and more so, the inference phase. This work begins with the observation that during training, sparsity in the forward and backward passes are correlated. In that context, we investigate two types of sparsity (input and output type) inherent in gradient descent-based optimization algorithms and propose a hardware micro-architecture to leverage the same. Our experimental results use five state-of-the-art CNN models on the Imagenet dataset, and show back propagation speedups in the range of 1.69$\times$ to 5.43$\times$, compared to the dense baseline execution. By exploiting sparsity in both the forward and backward passes, speedup improvements range from 1.68$\times$ to 3.30$\times$ over the sparsity-agnostic baseline execution. Our work also achieves significant reduction in training iteration time over several previously proposed dense as well as sparse accelerator based platforms, in addition to achieving order of magnitude energy efficiency improvements over GPU based execution.

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

↑