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

采用单脉冲混合输入编码训练能量有效的深度脉冲神经网络

Training Energy-Efficient Deep Spiking Neural Networks with Single-Spike Hybrid Input Encoding

Gourav Datta, Souvik Kundu, Peter A. Beerel

摘要:

脉冲神经网络(SNN)已成为传统深度学习框架的一个有吸引力的替代方案,因为它们在事件驱动的神经形态硬件中提供了更高的计算效率。然而,最先进的(SOTA)SNN遭受高推理延迟,这是由低效的输入编码和训练技术造成的。最广泛使用的输入编码方案,例如基于泊松的速率编码,不利用SNN的时间学习能力。本文提出了一种低延迟节能SNN的训练框架,该框架在输入层使用混合编码方案,其中图像的模拟像素值在第一时间步期间直接应用,并且在后续时间步期间使用尖峰时间编码的新变体。特别是,每个隐藏层中的神经元被限制为每个图像最多激发一次,这增加了激活稀疏性。为了训练这些混合编码的SNN,我们提出了一种基于梯度下降的尖峰定时相关反向传播(STDB)机制的变体,该机制使用基于输出神经元的尖峰时间和膜电位的新型交叉熵损失函数。由此产生的SNN具有降低的延迟和高激活稀疏性,从而显著提高了计算效率。特别是,我们评估了我们提出的训练计划的图像分类任务,从CIFAR-10和CIFAR-100数据集上的几个VGG架构。在CIFAR-100数据集上,我们以$5$时间步长实现了$66.46$ \%的前1精度,其中${\sim}125\times$的计算能量比等效的标准ANN少。此外,与其他最先进的速率或时间编码的SNN模型相比,我们提出的SNN执行$5$ - $300\times$更快的推理。

英文摘要:

Spiking Neural Networks (SNNs) have emerged as an attractive alternative to traditional deep learning frameworks, since they provide higher computational efficiency in event driven neuromorphic hardware. However, the state-of-the-art (SOTA) SNNs suffer from high inference latency, resulting from inefficient input encoding and training techniques. The most widely used input coding schemes, such as Poisson based rate-coding, do not leverage the temporal learning capabilities of SNNs. This paper presents a training framework for low-latency energy-efficient SNNs that uses a hybrid encoding scheme at the input layer in which the analog pixel values of an image are directly applied during the first timestep and a novel variant of spike temporal coding is used during subsequent timesteps. In particular, neurons in every hidden layer are restricted to fire at most once per image which increases activation sparsity. To train these hybrid-encoded SNNs, we propose a variant of the gradient descent based spike timing dependent back propagation (STDB) mechanism using a novel cross entropy loss function based on both the output neurons' spike time and membrane potential. The resulting SNNs have reduced latency and high activation sparsity, yielding significant improvements in computational efficiency. In particular, we evaluate our proposed training scheme on image classification tasks from CIFAR-10 and CIFAR-100 datasets on several VGG architectures. We achieve top-1 accuracy of $66.46$\% with $5$ timesteps on the CIFAR-100 dataset with ${\sim}125\times$ less compute energy than an equivalent standard ANN. Additionally, our proposed SNN performs $5$-$300\times$ faster inference compared to other state-of-the-art rate or temporally coded SNN models.

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

↑