arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2504.06134cs.AR
收藏

SpikeStream:利用稀疏计算扩展加速RISC-V集群上的脉冲神经网络推理

SpikeStream: Accelerating Spiking Neural Network Inference on RISC-V Clusters with Sparse Computation Extensions

Simone Manoni, Paul Scheffler, Luca Zanatta, Andrea Acquaviva, Luca Benini, Andrea Bartolini

AI总结:

本文提出SpikeStream优化技术,通过RISC-V稀疏计算扩展将SNN权重访问映射为寄存器映射内存流,在通用多核集群上实现4.39倍加速和显著能效提升。

摘要:

脉冲神经网络(SNN)推理由于计算由事件触发,具有显著的高能效潜力。然而,事件固有的稀疏性给传统计算系统带来了挑战,推动了专用神经形态处理器的发展,但这些处理器硅面积成本高,且缺乏运行其他计算内核所需的灵活性,限制了其广泛应用。本文探讨了在通用多核集群上,借助低开销的RISC-V ISA扩展进行流式稀疏计算,实现SNN的低层软件设计、并行化与加速。我们提出了SpikeStream,一种将权重访问映射到仿射和间接寄存器映射内存流的优化技术,以提升性能、利用率和效率。在端到端Spiking-VGG11模型上的结果表明,与非流式并行基线相比,实现了4.39倍的显著加速,利用率从9.28%提高到52.3%。此外,与LSMCore相比,能效提升了3.46倍;与Loihi相比,性能提升了2.38倍。

英文摘要:

Spiking Neural Network (SNN) inference has a clear potential for high energy efficiency as computation is triggered by events. However, the inherent sparsity of events poses challenges for conventional computing systems, driving the development of specialized neuromorphic processors, which come with high silicon area costs and lack the flexibility needed for running other computational kernels, limiting widespread adoption. In this paper, we explore the low-level software design, parallelization, and acceleration of SNNs on general-purpose multicore clusters with a low-overhead RISC-V ISA extension for streaming sparse computations. We propose SpikeStream, an optimization technique that maps weights accesses to affine and indirect register-mapped memory streams to enhance performance, utilization, and efficiency. Our results on the end-to-end Spiking-VGG11 model demonstrate a significant 4.39x speedup and an increase in utilization from 9.28% to 52.3% compared to a non-streaming parallel baseline. Additionally, we achieve an energy efficiency gain of 3.46x over LSMCore and a performance gain of 2.38x over Loihi.

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

↑