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

稀疏感知的专用脉冲神经网络加速器的设计空间探索

Design Space Exploration of Sparsity-Aware Application-Specific Spiking Neural Network Accelerators

Ilkin Aliyev. Kama Svoboda, Tosiron Adegbija

AI总结:

本文提出一种利用脉冲神经网络稀疏性的灵活硬件设计及周期精确仿真框架,通过设计空间探索优化逐层逻辑与硬件比率,实现硬件资源减少76%、速度提升31.25倍,并有效平衡精度与延迟。

摘要:

脉冲神经网络(SNNs)为深度学习应用提供了一种有前景的替代人工神经网络(ANNs)的方案,特别是在资源受限的系统中。这很大程度上归因于其固有的稀疏性,这种稀疏性受输入数据集、脉冲序列长度和网络拓扑等因素的影响。尽管先前的一些工作已经展示了将稀疏性纳入硬件设计的优势,特别是在降低能耗方面,但对硬件资源的影响尚未得到探索。这正是设计空间探索(DSE)变得至关重要的地方,它通过调整硬件和模型参数以适应特定应用需求,从而实现硬件性能的优化。然而,鉴于潜在的设计空间庞大以及硬件架构设计选择与专用模型参数之间的相互作用,DSE可能极具挑战性。在本文中,我们提出了一种利用SNN稀疏性的灵活硬件设计,以识别高效的专用加速器设计。我们为此硬件开发了一个高级的、周期精确的仿真框架,并展示了该框架在实现SNN设计选择(如逐层逻辑与硬件比率,LHR)的详细且细粒度探索方面的优势。我们的实验结果表明,我们的设计能够(i)实现高达76%的硬件资源减少,以及(ii)提供高达31.25倍的速度提升,同时与忽略稀疏性的设计相比,所需的硬件资源减少27%。我们进一步展示了框架的鲁棒性,通过在不同神经元种群大小下改变脉冲序列长度,以寻找精度和硬件延迟之间的最佳权衡点。

英文摘要:

Spiking Neural Networks (SNNs) offer a promising alternative to Artificial Neural Networks (ANNs) for deep learning applications, particularly in resource-constrained systems. This is largely due to their inherent sparsity, influenced by factors such as the input dataset, the length of the spike train, and the network topology. While a few prior works have demonstrated the advantages of incorporating sparsity into the hardware design, especially in terms of reducing energy consumption, the impact on hardware resources has not yet been explored. This is where design space exploration (DSE) becomes crucial, as it allows for the optimization of hardware performance by tailoring both the hardware and model parameters to suit specific application needs. However, DSE can be extremely challenging given the potentially large design space and the interplay of hardware architecture design choices and application-specific model parameters. In this paper, we propose a flexible hardware design that leverages the sparsity of SNNs to identify highly efficient, application-specific accelerator designs. We develop a high-level, cycle-accurate simulation framework for this hardware and demonstrate the framework's benefits in enabling detailed and fine-grained exploration of SNN design choices, such as the layer-wise logical-to-hardware ratio (LHR). Our experimental results show that our design can (i) achieve up to $76\%$ reduction in hardware resources and (ii) deliver a speed increase of up to $31.25\times$, while requiring $27\%$ fewer hardware resources compared to sparsity-oblivious designs. We further showcase the robustness of our framework by varying spike train lengths with different neuron population sizes to find the optimal trade-off points between accuracy and hardware latency.

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

↑