arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2009.02381cs.ARcs.LG
收藏

用于高效CNN硬件加速的稀疏symptom张量阵列

Sparse Systolic Tensor Array for Efficient CNN Hardware Acceleration

Arm ML Research Lab(安谋机器学习研究实验室)

Zhi-Gang Liu, Paul N. Whatmough, Matthew Mattina

摘要:

移动设备上的卷积神经网络(CNN)推理需要低精度(INT 8)通用矩阵乘法(GEMM)的高效硬件加速。利用数据稀疏性是进一步加速用于CNN推理的GEMM的常见方法,并且特别地,结构稀疏性具有可预测的负载均衡和非常低的索引开销的优点。在本文中,我们解决了一个关键的架构挑战与结构稀疏性:如何提供支持的范围内的稀疏性水平,同时保持高利用率的硬件。我们描述了一个时间展开制定的可变密度约束块(VDBB)稀疏,允许每个块的非零元素的可配置数量,在不断利用。然后,我们描述了一个脉动阵列微架构,实现了这一计划,有两个数据重用优化。首先,我们通过增加每个PE的MAC数量来增加操作数和部分乘积的重用。其次,我们引入了一种新的方法,将IM 2COL变换移动到硬件中,这使我们能够在操作数被数据路径消耗之前实现3倍的数据带宽扩展,从而降低SRAM功耗。权重稀疏、激活稀疏和数据重用的优化都是相互关联的,因此最优组合并不明显。因此,我们进行设计空间评估,以找到帕累托最优的设计特性。最终的设计在16 nm下实现了16.8 TOPS/W,具有适度的50%模型稀疏度,并且在87.5%下模型稀疏度高达55.7TOPS/W。以及成功地证明了可变DBB技术,这一结果显着优于先前报道的稀疏CNN加速器。

英文摘要:

Convolutional neural network (CNN) inference on mobile devices demands efficient hardware acceleration of low-precision (INT8) general matrix multiplication (GEMM). Exploiting data sparsity is a common approach to further accelerate GEMM for CNN inference, and in particular, structural sparsity has the advantages of predictable load balancing and very low index overhead. In this paper, we address a key architectural challenge with structural sparsity: how to provide support for a range of sparsity levels while maintaining high utilization of the hardware. We describe a time unrolled formulation of variable density-bound block (VDBB) sparsity that allows for a configurable number of non-zero elements per block, at constant utilization. We then describe a systolic array microarchitecture that implements this scheme, with two data reuse optimizations. Firstly, we increase reuse in both operands and partial products by increasing the number of MACs per PE. Secondly, we introduce a novel approach of moving the IM2COL transform into the hardware, which allows us to achieve a 3x data bandwidth expansion just before the operands are consumed by the datapath, reducing the SRAM power consumption. The optimizations for weight sparsity, activation sparsity and data reuse are all interrelated and therefore the optimal combination is not obvious. Therefore, we perform an design space evaluation to find the pareto-optimal design characteristics. The resulting design achieves 16.8 TOPS/W in 16nm with modest 50% model sparsity and scales with model sparsity up to 55.7TOPS/W at 87.5%. As well as successfully demonstrating the variable DBB technique, this result significantly outperforms previously reported sparse CNN accelerators.

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

↑