新型硬件设备和架构的进步允许使用超低功耗、混合信号、忆阻器交叉阵列进行脉冲神经网络(Spiking Neural Network, SNN)评估。随着单个网络规模迅速扩大并超出单个交叉阵列的维度能力,网络必须被映射到多个交叉阵列上。现代忆阻器交叉阵列架构(Memristor Crossbar Architectures, MCAs)内的交叉阵列尺寸主要不是由器件技术决定,而是由网络拓扑决定;此外,得益于大型脑启发SNNs中存在的高度结构稀疏性,更多更小的交叉阵列消耗更少的面积。受训练方法改进导致SNN稀疏性持续增加的启发,我们提出利用异构交叉阵列尺寸来进一步减少面积消耗。这种方法以前是无法实现的,因为先前的编译器研究仅探索针对同构MCAs的解决方案。我们的工作通过提供支持任意异构架构的整数线性规划(Integer Linear Programming, ILP)公式,改进了现有技术。通过建模神经元之间的轴突相互作用,我们的方法产生了更好的映射,同时消除了对限制性先验知识的要求。我们首先展示了方形交叉阵列同构架构在面积消耗上减少了16.7-27.6%。然后,我们展示了在使用合理的异构交叉阵列维度配置时,面积消耗进一步减少了66.9-72.7%。接下来,我们提出了一种能够最小化交叉阵列间路由数量的新优化公式。当应用于在面积上已接近最优的解决方案时,观察到路由减少了11.9-26.4%,且不影响面积消耗。最后,我们提出了一种能够最小化交叉阵列间运行时脉冲数量的性能分析引导优化。与先优化面积再优化路由的最佳解决方案相比,我们观察到交叉阵列间脉冲进一步减少了0.5-14.8%,同时求解时间减少了1-3个数量级。
英文摘要:
Advances in novel hardware devices and architectures allow Spiking Neural Network evaluation using ultra-low power, mixed-signal, memristor crossbar arrays. As individual network sizes quickly scale beyond the dimensional capabilities of single crossbars, networks must be mapped onto multiple crossbars. Crossbar sizes within modern Memristor Crossbar Architectures are determined predominately not by device technology but by network topology; more, smaller crossbars consume less area thanks to the high structural sparsity found in larger, brain-inspired SNNs. Motivated by continuing increases in SNN sparsity due to improvements in training methods, we propose utilizing heterogeneous crossbar sizes to further reduce area consumption. This approach was previously unachievable as prior compiler studies only explored solutions targeting homogeneous MCAs. Our work improves on the state-of-the-art by providing Integer Linear Programming formulations supporting arbitrarily heterogeneous architectures. By modeling axonal interactions between neurons our methods produce better mappings while removing inhibitive a priori knowledge requirements. We first show a 16.7-27.6% reduction in area consumption for square-crossbar homogeneous architectures. Then, we demonstrate 66.9-72.7% further reduction when using a reasonable configuration of heterogeneous crossbar dimensions. Next, we present a new optimization formulation capable of minimizing the number of inter-crossbar routes. When applied to solutions already near-optimal in area an 11.9-26.4% routing reduction is observed without impacting area consumption. Finally, we present a profile-guided optimization capable of minimizing the number of runtime spikes between crossbars. Compared to the best-area-then-route optimized solutions we observe a further 0.5-14.8% inter-crossbar spike reduction while requiring 1-3 orders of magnitude less solver time.
Thermal-Aware Compilation of Spiking Neural Networks to Neuromorphic Hardware
类脑计算的硬件实现可以显著提高用脉冲神经网络(SNN)实现的机器学习任务的性能和能量效率,使得这些硬件平台特别适合于嵌入式系统和其他能量受限的环境。我们观察到,当通过其突触元件传播尖峰时,硬件的交叉开关中的长位线和字线产生显著的电流变化,突触元件通常设计有非易失性存储器(NVM)。这样的电流变化在硬件的每个交叉杆内创建热梯度,这取决于机器学习工作负载以及工作负载的神经元和突触到这些交叉杆的映射。\mr{This thermal gradient becomes significant at scaled technology nodes and it increases the leakage power in the hardware leading to an increase in the energy consumption.}我们提出了一种新的技术,将基于SNN的机器学习工作负载的神经元和突触映射到神经形态硬件。我们做了两个新的贡献。首先,我们制定了一个详细的热模型的神经形态硬件中的交叉杆纳入工作负载的依赖性,其中每个基于NVM的突触细胞的温度计算考虑其相邻细胞的热贡献。其次,我们将这个热模型的映射神经元和突触的SNN为基础的工作负载使用爬山启发式。其目的是减少交叉杆中的热梯度。我们使用最先进的神经形态硬件的10个机器学习工作负载来评估我们的神经元和突触映射技术。我们证明…
Design and Development of a Neuromorphic Silicon Suite: PVT Sensing, Stochastic LIF Inference, On-Chip STDP Learning, and Crossbar Programming
Intrinsic Lab, Centre for Sensors, Instrumentation and Cyber-Physical System Engineering (SeNSE), Indian Institute of Technology Delhi(印度德里理工学院传感器、仪器化和网络物理系统工程中心(SeNSE)内在实验室)