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

DCT-SNN:使用DCT随时间分布空间信息以学习低延迟脉冲神经网络

DCT-SNN: Using DCT to Distribute Spatial Information over Time for Learning Low-Latency Spiking Neural Networks

Purdue University(普渡大学)

Isha Garg, Sayeed Shafayet Chowdhury, Kaushik Roy

摘要:

脉冲神经网络(SNN)为传统的深度学习框架提供了一种有前途的替代方案,因为它们由于事件驱动的信息处理而提供了更高的计算效率。SNN将像素强度的模拟值随时间分布成二进制尖峰。然而,最广泛使用的输入编码方案,例如基于泊松的速率编码,不能有效地利用SNN的附加时间学习能力。此外,这些SNN遭受高推理延迟,这是其部署的主要瓶颈。为了克服这一点,我们提出了一个可扩展的基于时间的编码方案,利用离散余弦变换(DCT),以减少推理所需的时间步长的数量。DCT将图像分解为正弦基图像的加权和。在每个时间步长,将按顺序取得的DCT系数和单个频率基础的Hadamard乘积提供给累加器,该累加器在越过阈值时生成尖峰。我们使用所提出的方案来学习DCT-SNN,这是一种具有泄漏积分和激发神经元的低延迟深度SNN,使用基于代理梯度下降的反向传播进行训练。我们使用VGG架构在CIFAR-10、CIFAR-100和TinyImageNet上分别实现了89.94%、68.3%和52.43%的top-1准确率。值得注意的是,与其他最先进的SNN相比,DCT-SNN执行推理的延迟减少了2- 14倍,同时实现了与标准深度学习相当的准确性。变换的维数允许我们控制推理所需的时间步长。此外,我们可以通过在推理期间丢弃最高频率分量来以原则性的方式权衡准确性和延迟。

英文摘要:

Spiking Neural Networks (SNNs) offer a promising alternative to traditional deep learning frameworks, since they provide higher computational efficiency due to event-driven information processing. SNNs distribute the analog values of pixel intensities into binary spikes over time. However, the most widely used input coding schemes, such as Poisson based rate-coding, do not leverage the additional temporal learning capability of SNNs effectively. Moreover, these SNNs suffer from high inference latency which is a major bottleneck to their deployment. To overcome this, we propose a scalable time-based encoding scheme that utilizes the Discrete Cosine Transform (DCT) to reduce the number of timesteps required for inference. DCT decomposes an image into a weighted sum of sinusoidal basis images. At each time step, the Hadamard product of the DCT coefficients and a single frequency base, taken in order, is given to an accumulator that generates spikes upon crossing a threshold. We use the proposed scheme to learn DCT-SNN, a low-latency deep SNN with leaky-integrate-and-fire neurons, trained using surrogate gradient descent based backpropagation. We achieve top-1 accuracy of 89.94%, 68.3% and 52.43% on CIFAR-10, CIFAR-100 and TinyImageNet, respectively using VGG architectures. Notably, DCT-SNN performs inference with 2-14X reduced latency compared to other state-of-the-art SNNs, while achieving comparable accuracy to their standard deep learning counterparts. The dimension of the transform allows us to control the number of timesteps required for inference. Additionally, we can trade-off accuracy with latency in a principled manner by dropping the highest frequency components during inference.

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

↑