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

SpikeSim:一个用于脉冲神经网络性能测试的端到端内存计算硬件评估工具

SpikeSim: An end-to-end Compute-in-Memory Hardware Evaluation Tool for Benchmarking Spiking Neural Networks

Yale University(耶鲁大学);Arizona State University(亚利桑那州立大学)

Abhishek Moitra, Abhiroop Bhattacharjee, Runcong Kuang, Gokul Krishnan, Yu Cao, Priyadarshini Panda

摘要:

SNN是一个积极的研究领域,致力于节能机器智能。与传统的ANN相比,SNN使用时间尖峰数据和生物合理的神经元激活函数,如泄漏积分激发/积分激发(LIF/IF)进行数据处理。然而,SNN招致显著的点积运算,从而在标准冯-诺依曼计算平台中引起高存储器和计算开销。如今,存内计算(IMC)体系结构已经被提出来缓解冯-诺依曼体系结构中普遍存在的“存储器墙瓶颈”。尽管最近的工作已经提出了基于IMC的SNN硬件加速器,但以下问题被忽视了- 1)由于在多个时间步长上重复模拟点积运算而导致的交叉开关非理想性对SNN性能的不利影响,2)基本SNN特定组件(诸如LIF/IF和数据通信模块)的硬件开销。为此,我们提出了SpikeSim,一个工具,可以执行现实的性能,能源,延迟和面积评估的IMC映射SNN。SpikeSim由一个称为SpikeFlow的实用单片IMC架构组成,用于映射SNN。此外,非理想计算引擎(NICE)和能量延迟区域(ELA)引擎执行SpikeFlow映射SNN的硬件现实评估。基于65 nm CMOS实现和CIFAR 10、CIFAR 100和TinyImagenet数据集上的实验,我们发现LIF/IF神经元模块具有显著的面积贡献(>11%的总硬件面积)。我们提出SNN拓扑修改导致1.24倍和10倍减少神经元模块的面积和整体能量延迟产品的价值,分别。此外,在这项工作中,我们对IMC实现的ANN和SNN进行了整体比较,并得出结论,与4位ANN相比,更少的时间步长是SNN实现更高吞吐量和能效的关键。

英文摘要:

SNNs are an active research domain towards energy efficient machine intelligence. Compared to conventional ANNs, SNNs use temporal spike data and bio-plausible neuronal activation functions such as Leaky-Integrate Fire/Integrate Fire (LIF/IF) for data processing. However, SNNs incur significant dot-product operations causing high memory and computation overhead in standard von-Neumann computing platforms. Today, In-Memory Computing (IMC) architectures have been proposed to alleviate the "memory-wall bottleneck" prevalent in von-Neumann architectures. Although recent works have proposed IMC-based SNN hardware accelerators, the following have been overlooked- 1) the adverse effects of crossbar non-ideality on SNN performance due to repeated analog dot-product operations over multiple time-steps, 2) hardware overheads of essential SNN-specific components such as the LIF/IF and data communication modules. To this end, we propose SpikeSim, a tool that can perform realistic performance, energy, latency and area evaluation of IMC-mapped SNNs. SpikeSim consists of a practical monolithic IMC architecture called SpikeFlow for mapping SNNs. Additionally, the non-ideality computation engine (NICE) and energy-latency-area (ELA) engine performs hardware-realistic evaluation of SpikeFlow-mapped SNNs. Based on 65nm CMOS implementation and experiments on CIFAR10, CIFAR100 and TinyImagenet datasets, we find that the LIF/IF neuronal module has significant area contribution (>11% of the total hardware area). We propose SNN topological modifications leading to 1.24x and 10x reduction in the neuronal module's area and the overall energy-delay-product value, respectively. Furthermore, in this work, we perform a holistic comparison between IMC implemented ANN and SNNs and conclude that lower number of time-steps are the key to achieve higher throughput and energy-efficiency for SNNs compared to 4-bit ANNs.

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

↑