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

探索新型混合SNN事件驱动架构上的稀疏性-量化相互作用

Exploring the Sparsity-Quantization Interplay on a Novel Hybrid SNN Event-Driven Architecture

Ilkin Aliyev, Jesus Lopez, Tosiron Adegbija

AI总结:

本文提出首个面向直接编码SNNs的混合推理架构,结合密集核心与稀疏核心,并首次量化了量化对稀疏性的影响,在FPGA上实现显著能效与吞吐量提升。

摘要:

脉冲神经网络(SNNs)在能效方面具有潜在优势,但目前在多用途性上仍落后于人工神经网络(ANNs),这在很大程度上是由于高效输入编码方面的挑战。近期研究表明,直接编码(direct coding)相比传统的速率编码(rate coding)能够以更少的时间步实现更高的准确率。然而,目前缺乏专用硬件来充分挖掘直接编码SNNs的潜力,尤其是其密集层与稀疏层混合的特点。本文提出了首个面向直接编码SNNs的混合推理架构。所提出的硬件架构包含一个密集核心(dense core),用于高效处理输入层,以及多个稀疏核心(sparse cores),针对事件驱动的脉冲卷积进行优化。此外,我们首次研究并量化了量化对稀疏性的影响。我们在VGG9网络的两种变体上进行了实验,并在Xilinx Virtex UltraScale+ FPGA(现场可编程门阵列)上实现,揭示了两项新发现。首先,量化将网络稀疏性提高了最多15.2%,同时准确率损失极小。结合固有的低功耗优势,与全精度版本相比,能效提升了3.4倍。其次,直接编码优于速率编码,准确率提高了10%,每张图像的能耗降低了26.4倍。总体而言,与先前工作相比,我们的加速器实现了51倍的吞吐量提升,功耗仅为一半。我们的加速器代码可在以下地址获取:https://github.com/githubofaliyev/SNN-DSE/tree/DATE25

英文摘要:

Spiking Neural Networks (SNNs) offer potential advantages in energy efficiency but currently trail Artificial Neural Networks (ANNs) in versatility, largely due to challenges in efficient input encoding. Recent work shows that direct coding achieves superior accuracy with fewer timesteps than traditional rate coding. However, there is a lack of specialized hardware to fully exploit the potential of direct-coded SNNs, especially their mix of dense and sparse layers. This work proposes the first hybrid inference architecture for direct-coded SNNs. The proposed hardware architecture comprises a dense core to efficiently process the input layer and sparse cores optimized for event-driven spiking convolutions. Furthermore, for the first time, we investigate and quantify the quantization effect on sparsity. Our experiments on two variations of the VGG9 network and implemented on a Xilinx Virtex UltraScale+ FPGA (Field-Programmable Gate Array) reveal two novel findings. Firstly, quantization increases the network sparsity by up to 15.2% with minimal loss of accuracy. Combined with the inherent low power benefits, this leads to a 3.4x improvement in energy compared to the full-precision version. Secondly, direct coding outperforms rate coding, achieving a 10% improvement in accuracy and consuming 26.4x less energy per image. Overall, our accelerator achieves 51x higher throughput and consumes half the power compared to previous work. Our accelerator code is available at: https://github.com/githubofaliyev/SNN-DSE/tree/DATE25

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

↑