arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2202.04990cs.ARcs.LGcs.NE
收藏

Mixture-of-Rookies:通过预测ReLU输出保存DNN计算

Mixture-of-Rookies: Saving DNN Computations by Predicting ReLU Outputs

Universitat Politècnica de Catalunya(加泰罗尼亚理工大学)

Dennis Pinto, Jose-María Arnau, Antonio González

摘要:

深度神经网络(DNN)被广泛应用于许多应用领域。然而,它们需要大量的计算和内存访问来提供出色的准确性。在本文中,我们提出了一种预测每个ReLu激活的神经元的输出是零还是正数的方案,以便跳过那些可能输出零的神经元的计算。我们的预测器,命名为混合的Roxel,结合了两个廉价的组件。第一个组件利用了二值化(1位)和全精度(8位)点积之间的高度线性相关性,而第二个组件将倾向于同时输出零的神经元聚集在一起。我们提出了一种新的聚类方案的角度分析的基础上,作为两个向量的点积的符号取决于它们之间的角度的余弦。我们在最先进的DNN加速器上实现了我们的混合零输出预测器。实验结果表明,我们的方案引入了5.3%的小面积开销,同时实现了1.2倍的加速比,并为一组不同的DNN平均降低了16.5%的能耗。

英文摘要:

Deep Neural Networks (DNNs) are widely used in many applications domains. However, they require a vast amount of computations and memory accesses to deliver outstanding accuracy. In this paper, we propose a scheme to predict whether the output of each ReLu activated neuron will be a zero or a positive number in order to skip the computation of those neurons that will likely output a zero. Our predictor, named Mixture-of-Rookies, combines two inexpensive components. The first one exploits the high linear correlation between binarized (1-bit) and full-precision (8-bit) dot products, whereas the second component clusters together neurons that tend to output zero at the same time. We propose a novel clustering scheme based on the analysis of angles, as the sign of the dot product of two vectors depends on the cosine of the angle between them. We implement our hybrid zero output predictor on top of a state-of-the-art DNN accelerator. Experimental results show that our scheme introduces a small area overhead of 5.3% while achieving a speedup of 1.2x and reducing energy consumption by 16.5% on average for a set of diverse DNNs.

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

↑