arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2203.07516cs.ARcs.CVcs.LGcs.NE
收藏

Skydiver:一种利用时空工作负载均衡的脉冲神经网络加速器

Skydiver: A Spiking Neural Network Accelerator Exploiting Spatio-Temporal Workload Balance

University of Shanghai for Science and Technology(上海理工大学);Institute of Photonic Chips(光子芯片研究院);University of Zürich(苏黎世大学);ETH Zürich(苏黎世联邦理工学院);Institute of Neuroinformatics(神经信息学研究所)

Qinyu Chen, Chang Gao, Xinyuan Fang, Haitao Luan

AI总结:

针对SNN硬件推理中时空稀疏性造成的工作负载不均衡问题,提出FPGA加速器Skydiver,通过APRC按通道预测负载并以CBWS调度,使均衡率超过90%,在分割与分类任务中提升吞吐并实现低能耗高精度。

摘要:

脉冲神经网络(SNN)因其更贴近现实的脑启发计算模型,被发展为人工神经网络(ANN)的一种有前景的替代方案。SNN随时间推移具有稀疏的神经元发放,即时空稀疏性;因此,它们有助于实现高能效的硬件推理。然而,在硬件中利用SNN的时空稀疏性会导致不可预测且不均衡的工作负载,从而降低能效。本文提出一种基于FPGA的卷积SNN加速器Skydiver,它利用时空工作负载均衡。我们提出近似比例关系构建(APRC)方法,可按通道预测相对工作负载;并提出通道均衡工作负载调度(CBWS)方法,将硬件工作负载均衡率提高到90%以上。Skydiver在Xilinx XC7Z045 FPGA上实现,并在图像分割和MNIST分类任务上进行验证。结果表明,两项任务的吞吐量分别提升1.4倍和1.2倍。在分类任务上,Skydiver实现22.6 KFPS吞吐量、每幅图像42.4 μJ的预测能耗,以及98.5%的准确率。

英文摘要:

Spiking Neural Networks (SNNs) are developed as a promising alternative to Artificial Neural networks (ANNs) due to their more realistic brain-inspired computing models. SNNs have sparse neuron firing over time, i.e., spatio-temporal sparsity; thus, they are useful to enable energy-efficient hardware inference. However, exploiting spatio-temporal sparsity of SNNs in hardware leads to unpredictable and unbalanced workloads, degrading the energy efficiency. In this work, we propose an FPGA-based convolutional SNN accelerator called Skydiver that exploits spatio-temporal workload balance. We propose the Approximate Proportional Relation Construction (APRC) method that can predict the relative workload channel-wisely and a Channel-Balanced Workload Schedule (CBWS) method to increase the hardware workload balance ratio to over 90%. Skydiver was implemented on a Xilinx XC7Z045 FPGA and verified on image segmentation and MNIST classification tasks. Results show improved throughput by 1.4X and 1.2X for the two tasks. Skydiver achieved 22.6 KFPS throughput, and 42.4 uJ/Image prediction energy on the classification task with 98.5% accuracy.

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

↑