arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2008.03658cs.NEcs.LGstat.ML
收藏

DIET-SNN:深度脉冲神经网络中带泄漏和阈值优化的直接输入编码

DIET-SNN: Direct Input Encoding With Leakage and Threshold Optimization in Deep Spiking Neural Networks

Purdue University(普渡大学)

Nitin Rathi, Kaushik Roy

摘要:

生物启发的脉冲神经网络(SNN),与异步二进制信号(或尖峰)随时间分布,可以潜在地导致更高的计算效率上的事件驱动的硬件。最先进的SNN遭受高推理延迟,这是由低效的输入编码和神经元参数的次优设置(激发阈值和膜泄漏)引起的。我们提出了DIET-SNN,这是一种低延迟的深度尖峰网络,使用梯度下降进行训练,以优化膜泄漏和触发阈值以及其他网络参数(权重)。SNN的每一层的膜泄漏和阈值通过端到端反向传播进行优化,以在减少延迟的情况下实现有竞争力的准确性。图像的模拟像素值直接应用于DIET-SNN的输入层,而无需转换为尖峰序列。第一卷积层被训练为将输入转换为尖峰,其中泄漏积分和激发(LIF)神经元对加权输入进行积分,并且当膜电位越过训练的激发阈值时生成输出尖峰。经过训练的膜泄漏控制输入信息的流动,并衰减不相关的输入,以增加网络的卷积层和密集层中的激活稀疏度。减少的延迟与高激活稀疏性相结合,大大提高了计算效率。我们在VGG和ResNet架构上对CIFAR和ImageNet数据集的图像分类任务进行了DIET-SNN评估。我们在ImageNet数据集上以5个时间步(推理延迟)实现了69%的前1准确率,计算能量比等效的标准ANN少12倍。此外,与其他最先进的SNN模型相比,DIET-SNN的推理速度快20- 500倍。

英文摘要:

Bio-inspired spiking neural networks (SNNs), operating with asynchronous binary signals (or spikes) distributed over time, can potentially lead to greater computational efficiency on event-driven hardware. The state-of-the-art SNNs suffer from high inference latency, resulting from inefficient input encoding, and sub-optimal settings of the neuron parameters (firing threshold, and membrane leak). We propose DIET-SNN, a low-latency deep spiking network that is trained with gradient descent to optimize the membrane leak and the firing threshold along with other network parameters (weights). The membrane leak and threshold for each layer of the SNN are optimized with end-to-end backpropagation to achieve competitive accuracy at reduced latency. The analog pixel values of an image are directly applied to the input layer of DIET-SNN without the need to convert to spike-train. The first convolutional layer is trained to convert inputs into spikes where leaky-integrate-and-fire (LIF) neurons integrate the weighted inputs and generate an output spike when the membrane potential crosses the trained firing threshold. The trained membrane leak controls the flow of input information and attenuates irrelevant inputs to increase the activation sparsity in the convolutional and dense layers of the network. The reduced latency combined with high activation sparsity provides large improvements in computational efficiency. We evaluate DIET-SNN on image classification tasks from CIFAR and ImageNet datasets on VGG and ResNet architectures. We achieve top-1 accuracy of 69% with 5 timesteps (inference latency) on the ImageNet dataset with 12x less compute energy than an equivalent standard ANN. Additionally, DIET-SNN performs 20-500x faster inference compared to other state-of-the-art SNN models.

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

↑