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

使用整数线性规划将脉冲神经网络映射到异构交叉阵列架构

Mapping Spiking Neural Networks to Heterogeneous Crossbar Architectures using Integer Linear Programming

Devin Pohl, Aaron Young, Kazi Asifuzzaman, Narasinga Miniskar, Jeffrey Vetter

AI总结:

本文提出基于整数线性规划的映射方法,支持异构忆阻器交叉阵列架构,通过建模神经元轴突相互作用优化SNN映射,在显著降低面积消耗和路由数量的同时大幅减少求解时间。

摘要:

新型硬件设备和架构的进步允许使用超低功耗、混合信号、忆阻器交叉阵列进行脉冲神经网络(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.

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

↑