SPRING:用于训练和推理的稀疏感知降精度单片3D CNN加速器架构
SPRING: A Sparsity-Aware Reduced-Precision Monolithic 3D CNN Accelerator Architecture for Training and Inference
摘要:
CNN在广泛的应用中优于传统的机器学习算法。然而,它们的计算复杂性使得有必要设计高效的硬件加速器。大多数CNN加速器都专注于探索利用计算并行性的Challowlow风格。然而,稀疏性带来的潜在性能加速尚未得到充分解决。如果在网络评估中利用稀疏性,CNN的计算和内存占用可以显着减少。为了利用稀疏性,一些加速器设计在CNN加速器上探索稀疏性编码和评估。然而,稀疏编码仅在激活或权重上执行,并且仅在推理中执行。已经表明,激活和权重在训练期间也具有高稀疏性水平。因此,稀疏感知计算也应该在训练中考虑。为了进一步提高性能和能效,一些加速器以有限的精度评估CNN。然而,这仅限于推理,因为如果在训练中使用,降低的精度会牺牲网络准确性。此外,CNN评估通常是内存密集型的,特别是在训练中。在本文中,我们提出了SPRING,一个SParsity-aware降低精度的单片3D CNN加速器,用于训练和推理。SPRING支持CNN训练和推理。它使用二进制掩码方案对激活和权重中的稀疏性进行编码。它使用随机舍入算法来训练CNN,降低精度而不损失精度。为了缓解CNN评估中的内存瓶颈,特别是在训练中,SPRING使用高效的单片3D NVM接口来增加内存带宽。与GTX 1080 Ti相比,SPRING在CNN训练方面的性能、功耗降低和能效分别提高了15.6倍、4.2倍和66.0倍,在推理方面分别提高了15.5倍、4.5倍和69.1倍。
英文摘要:
CNNs outperform traditional machine learning algorithms across a wide range of applications. However, their computational complexity makes it necessary to design efficient hardware accelerators. Most CNN accelerators focus on exploring dataflow styles that exploit computational parallelism. However, potential performance speedup from sparsity has not been adequately addressed. The computation and memory footprint of CNNs can be significantly reduced if sparsity is exploited in network evaluations. To take advantage of sparsity, some accelerator designs explore sparsity encoding and evaluation on CNN accelerators. However, sparsity encoding is just performed on activation or weight and only in inference. It has been shown that activation and weight also have high sparsity levels during training. Hence, sparsity-aware computation should also be considered in training. To further improve performance and energy efficiency, some accelerators evaluate CNNs with limited precision. However, this is limited to the inference since reduced precision sacrifices network accuracy if used in training. In addition, CNN evaluation is usually memory-intensive, especially in training. In this paper, we propose SPRING, a SParsity-aware Reduced-precision Monolithic 3D CNN accelerator for trainING and inference. SPRING supports both CNN training and inference. It uses a binary mask scheme to encode sparsities in activation and weight. It uses the stochastic rounding algorithm to train CNNs with reduced precision without accuracy loss. To alleviate the memory bottleneck in CNN evaluation, especially in training, SPRING uses an efficient monolithic 3D NVM interface to increase memory bandwidth. Compared to GTX 1080 Ti, SPRING achieves 15.6X, 4.2X and 66.0X improvements in performance, power reduction, and energy efficiency, respectively, for CNN training, and 15.5X, 4.5X and 69.1X improvements for inference.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。