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

加速器感知的卷积神经网络剪枝

Accelerator-Aware Pruning for Convolutional Neural Networks

Korea University of Technology and Education(韩国技术教育大学)

Hyeong-Ju Kang

摘要:

卷积神经网络在计算机视觉任务中表现出了巨大的性能能力,但其过多的权重存储和算术运算使其无法在嵌入式环境中被采用。其中一个解决方案涉及修剪,其中某些不重要的权重被强制为零。已经提出了许多修剪方案,但这些方案主要集中在修剪权重的数量上。以前的修剪方案很少考虑ASIC或FPGA加速器架构。当这些修剪过的网络在加速器上运行时,缺乏对架构的考虑会导致一些效率低下的问题,包括内部缓冲区不对齐和负载不平衡。本文提出了一种新的修剪方案,反映加速器架构。在所提出的方案中,执行修剪,使得相同数量的权重保持对应于同时获取的激活的每个权重组。通过这种方式,修剪方案解决了效率低下的问题,使加速器性能加倍。即使有这种约束,所提出的修剪方案也达到了与以前的无约束修剪方案相似的修剪率,不仅在AlexNet和VGG16上,而且在最先进的非常深的网络(如ResNet)上。此外,所提出的方案在紧凑网络(如MobileNet)和已经以信道方式修剪的精简网络上表现出相当的修剪率。除了提高以前的稀疏加速器的效率之外,还将表明所提出的修剪方案可以用于降低稀疏加速器的逻辑复杂度。修剪的模型可以在https://github.com/HyeongjuKang/accelerator-aware-pruning上公开获得。

英文摘要:

Convolutional neural networks have shown tremendous performance capabilities in computer vision tasks, but their excessive amounts of weight storage and arithmetic operations prevent them from being adopted in embedded environments. One of the solutions involves pruning, where certain unimportant weights are forced to have a value of zero. Many pruning schemes have been proposed, but these have mainly focused on the number of pruned weights. Previous pruning schemes scarcely considered ASIC or FPGA accelerator architectures. When these pruned networks are run on accelerators, the lack of consideration of the architecture causes some inefficiency problems, including internal buffer misalignments and load imbalances. This paper proposes a new pruning scheme that reflects accelerator architectures. In the proposed scheme, pruning is performed so that the same number of weights remain for each weight group corresponding to activations fetched simultaneously. In this way, the pruning scheme resolves the inefficiency problems, doubling the accelerator performance. Even with this constraint, the proposed pruning scheme reached a pruning ratio similar to that of previous unconstrained pruning schemes, not only on AlexNet and VGG16 but also on state-of-the-art very deep networks such as ResNet. Furthermore, the proposed scheme demonstrated a comparable pruning ratio on compact networks such as MobileNet and on slimmed networks that were already pruned in a channel-wise manner. In addition to improving the efficiency of previous sparse accelerators, it will be also shown that the proposed pruning scheme can be used to reduce the logic complexity of sparse accelerators.The pruned models are publicly available at https://github.com/HyeongjuKang/accelerator-aware-pruning.

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

↑