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

基于场可编程门阵列的高效轻量残差脉冲神经网络处理器实现

Implementation of high-efficiency, lightweight residual spiking neural network processor based on field-programmable gate arrays

State Key Laboratory of Integrated Service Networks, Xidian University(西安电子科技大学综合业务网国家重点实验室);State Key Discipline Laboratory of Wide Bandgap Semiconductor Technology, Xidian University(西安电子科技大学宽禁带半导体技术国家重点学科实验室)

Hou Yue, Xiang Shuiying, Zou Tao, Huang Zhiquan, Shi Shangxuan, Guo Xingxing, Zhang Yahui, Zheng Ling, Hao Yue

AI总结:

本文提出一种基于FPGA的高效轻量残差SNN处理器,通过算法与硬件协同设计,实现高能效和快速推理。

摘要:

随着脉冲神经网络(SNNs)硬件优化部署的发展,基于场可编程门阵列(FPGAs)的SNN处理器因其高效性和灵活性已成为研究热点。然而,现有方法依赖于多时间步训练和可重构计算架构,这会增加计算和内存开销,从而降低部署效率。本文提出了一种高效且轻量的残差SNN加速器,通过算法与硬件协同设计来优化推理能效。在算法方面,我们采用单时间步训练,集成分组卷积,并融合批量归一化(BN)层,从而将网络压缩到仅0.69M参数。量化感知训练(QAT)进一步将所有参数限制在8位精度。在硬件方面,层内资源的重用最大化了FPGA的利用率,全流水线跨层架构提高了吞吐量,而片上块存储器(BRAM)存储网络参数和中间结果以提高内存效率。实验结果表明,所提出的处理器在CIFAR-10数据集上实现了87.11%的分类准确率,每张图像的推理时间为3.98 ms,能效为183.5 FPS/W。与主流图形处理单元(GPU)平台相比,其能效提高了超过一倍。此外,与其他SNN处理器相比,其推理速度提高了至少4倍,能效提高了5倍。

英文摘要:

With the development of hardware-optimized deployment of spiking neural networks (SNNs), SNN processors based on field-programmable gate arrays (FPGAs) have become a research hotspot due to their efficiency and flexibility. However, existing methods rely on multi-timestep training and reconfigurable computing architectures, which increases computational and memory overhead, thus reducing deployment efficiency. This work presents an efficient and lightweight residual SNN accelerator that combines algorithm and hardware co-design to optimize inference energy efficiency. In terms of the algorithm, we employ single-timesteps training, integrate grouped convolutions, and fuse batch normalization (BN) layers, thus compressing the network to only 0.69M parameters. Quantization-aware training (QAT) further constrains all parameters to 8-bit precision. In terms of hardware, the reuse of intra-layer resources maximizes FPGA utilization, a full pipeline cross-layer architecture improves throughput, and on-chip block RAM (BRAM) stores network parameters and intermediate results to improve memory efficiency. The experimental results show that the proposed processor achieves a classification accuracy of 87.11% on the CIFAR-10 dataset, with an inference time of 3.98 ms per image and an energy efficiency of 183.5 FPS/W. Compared with mainstream graphics processing unit (GPU) platforms, it achieves more than double the energy efficiency. Furthermore, compared with other SNN processors, it achieves at least a 4x faster inference speed and a 5x higher energy efficiency.

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

↑