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

SATA:脉冲神经网络的稀疏感知训练加速器

SATA: Sparsity-Aware Training Accelerator for Spiking Neural Networks

Ruokai Yin, Abhishek Moitra, Abhiroop Bhattacharjee, Youngeun Kim, Priyadarshini Panda

摘要:

脉冲神经网络(SNN)由于其固有的高稀疏性激活而作为传统人工神经网络(ANN)的潜在能量有效替代方案获得了巨大的关注。最近,SNN与反向传播通过时间(BPTT)已经取得了更高的准确性结果的图像识别任务比其他SNN训练算法。尽管从算法的角度来看是成功的,但由于缺乏用于该SNN训练算法的硬件评估平台,先前的工作忽略了BPTT的硬件能量开销的评估。此外,尽管SNN长期以来一直被视为ANN的节能对应物,但SNN和ANN的训练成本之间的定量比较却缺失。为了解决上述问题,在这项工作中,我们介绍了SATA(稀疏感知训练加速器),一个基于BPTT的SNN训练加速器。所提出的SATA提供了一种简单且可重新配置的基于收缩的加速器架构,这使得基于BPTT的SNN训练算法的训练能量分析变得容易。通过利用稀疏性,SATA与不使用稀疏性的SATA相比,其计算能量效率增加了$5.58 \times$。基于SATA,我们给出了SNN训练的能量效率的定量分析,并比较了SNN和ANN的训练成本。结果表明,在Eyeriss类收缩的基础上,SNN消耗$1.27\times$更多的总能量与稀疏相比,人工神经网络。我们发现,如此高的训练能量成本来自时间重复的卷积运算和反向传播过程中的数据移动。此外,为了推动未来的SNN训练算法设计,我们提供了几个观察不同的SNN特定的训练参数的能量效率,并提出了一个SNN训练的能量估计框架。我们框架的代码是公开的。

英文摘要:

Spiking Neural Networks (SNNs) have gained huge attention as a potential energy-efficient alternative to conventional Artificial Neural Networks (ANNs) due to their inherent high-sparsity activation. Recently, SNNs with backpropagation through time (BPTT) have achieved a higher accuracy result on image recognition tasks than other SNN training algorithms. Despite the success from the algorithm perspective, prior works neglect the evaluation of the hardware energy overheads of BPTT due to the lack of a hardware evaluation platform for this SNN training algorithm. Moreover, although SNNs have long been seen as an energy-efficient counterpart of ANNs, a quantitative comparison between the training cost of SNNs and ANNs is missing. To address the aforementioned issues, in this work, we introduce SATA (Sparsity-Aware Training Accelerator), a BPTT-based training accelerator for SNNs. The proposed SATA provides a simple and re-configurable systolic-based accelerator architecture, which makes it easy to analyze the training energy for BPTT-based SNN training algorithms. By utilizing the sparsity, SATA increases its computation energy efficiency by $5.58 \times$ compared to the one without using sparsity. Based on SATA, we show quantitative analyses of the energy efficiency of SNN training and compare the training cost of SNNs and ANNs. The results show that, on Eyeriss-like systolic-based architecture, SNNs consume $1.27\times$ more total energy with sparsities when compared to ANNs. We find that such high training energy cost is from time-repetitive convolution operations and data movements during backpropagation. Moreover, to propel the future SNN training algorithm design, we provide several observations on energy efficiency for different SNN-specific training parameters and propose an energy estimation framework for SNN training. Code for our framework is made publicly available.

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

↑