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

H2Learn:高精度脉冲神经网络的高效学习加速器

H2Learn: High-Efficiency Learning Accelerator for High-Accuracy Spiking Neural Networks

Ling Liang, Zheng Qu, Zhaodong Chen, Fengbin Tu, Yujie Wu, Lei Deng, Guoqi Li, Peng Li, Yuan Xie

摘要:

虽然脉冲神经网络(SNN)利用了生物似然神经建模的优点,但在常用的局部突触可塑性学习规则下,其精度较低,限制了其在许多实际任务中的应用。近年来,受人工神经网络(ANN)中时间反向传播(BPTT)的启发,一种新兴的SNN监督学习算法成功地提高了SNN的精度,并有助于提高SNN的实用性。然而,当前的通用处理器在执行SNN的BPTT时由于ANN定制的优化而效率低下。另一方面,目前的神经形态芯片不能支持BPTT,因为它们主要采用局部突触可塑性规则以简化实现。在这项工作中,我们提出了H2 Learn,一种新的架构,可以实现高效率的基于BPTT的SNN学习,确保SNN的高准确性。首先,我们描述了基于BPTT的SNN学习的行为。得益于前向传递中基于二进制尖峰的计算和权重更新,我们首先在前向引擎和权重更新引擎中设计了基于查找表(LUT)的处理元件,以使累加隐式化并融合多个输入点的计算。其次,利用反向过程中丰富的稀疏性,我们设计了一个双稀疏感知的反向引擎,它利用了输入和输出的稀疏性。最后,我们应用不同引擎之间的管道优化来构建基于BPTT的SNN学习的端到端解决方案。与现代NVIDIA V100 GPU相比,H2 Learn在多个基准数据集上实现了7.38倍的面积节省、5.74- 10.20倍的加速和5.25- 7.12倍的节能。

英文摘要:

Although spiking neural networks (SNNs) take benefits from the bio-plausible neural modeling, the low accuracy under the common local synaptic plasticity learning rules limits their application in many practical tasks. Recently, an emerging SNN supervised learning algorithm inspired by backpropagation through time (BPTT) from the domain of artificial neural networks (ANNs) has successfully boosted the accuracy of SNNs and helped improve the practicability of SNNs. However, current general-purpose processors suffer from low efficiency when performing BPTT for SNNs due to the ANN-tailored optimization. On the other hand, current neuromorphic chips cannot support BPTT because they mainly adopt local synaptic plasticity rules for simplified implementation. In this work, we propose H2Learn, a novel architecture that can achieve high efficiency for BPTT-based SNN learning which ensures high accuracy of SNNs. At the beginning, we characterized the behaviors of BPTT-based SNN learning. Benefited from the binary spike-based computation in the forward pass and the weight update, we first design lookup table (LUT) based processing elements in Forward Engine and Weight Update Engine to make accumulations implicit and to fuse the computations of multiple input points. Second, benefited from the rich sparsity in the backward pass, we design a dual-sparsity-aware Backward Engine which exploits both input and output sparsity. Finally, we apply a pipeline optimization between different engines to build an end-to-end solution for the BPTT-based SNN learning. Compared with the modern NVIDIA V100 GPU, H2Learn achieves 7.38x area saving, 5.74-10.20x speedup, and 5.25-7.12x energy saving on several benchmark datasets.

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

↑