arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2610.17463cs.AIcs.LG
收藏

用于时空模式学习与分类的基于FPGA的脉冲神经网络

An FPGA-Based Spiking Neural Network for Spatiotemporal Pattern Learning and Classification

Syracuse University(雪城大学)

Jingang Jin, Yue Ma, Zhenhang Zhang, Qinru Qiu

AI总结:

本研究提出一种用于时空模式分类的多层SNN的FPGA实现方案,采用仅时间前向训练算法,在MNIST等数据集上达到与BPTT训练的SNN、LSTM相当的准确率,且吞吐量更高、能耗更低。

摘要:

脉冲神经网络(SNN)在边缘设备上实现高能效的时空模式识别方面具有广阔前景,但高效部署与设备端自适应需要专用硬件。本研究提出一种用于时空模式分类的多层SNN的FPGA实现方案,其推理与训练均在同一硬件上完成。该设计采用仅时间前向的训练算法,避免了传统通过时间的反向传播(BPTT)带来的内存与延迟开销;混合精度方案平衡了训练稳定性与资源效率,架构优化则最大化了硬件与内存利用率。研究进一步识别并解决了推理与学习共享内存时出现的冲突,包括前向与反向访问模式间的端口冲突,以及浮点电位累积中的写后读依赖问题。在MNIST及5个多变量时间序列分类数据集上的实验评估表明,采用全片上训练的SNN模型,其准确率可与通过BPTT训练的SNN或长短期记忆网络(LSTM)相当;与基于CPU和GPU的实现相比,该FPGA设计的吞吐量提升了2.5至6倍,且每个样本的能耗降低了一个数量级。

英文摘要:

Spiking Neural Networks (SNNs) are promising for energy-efficient spatiotemporal pattern recognition at the edge, but efficient deployment and on-device adaptation require specialized hardware. In this work, we present an FPGA implementation of multilayer SNNs for spatiotemporal pattern classification, in which both inference and training take place on the same hardware. Our design adopts a temporal-forward-only training algorithm that avoids the memory and latency overhead associated with traditional Backpropagation Through Time (BPTT). A mixed-precision scheme balances training stability with resource efficiency, and architectural optimization maximizes hardware and memory utilization. We further identify and resolve hazards that arise when inference and learning share the same memory, including port conflicts between the forward and backward access patterns and read-after-write dependencies in floating-point potential accumulation. Experimental evaluations on MNIST and five multivariate time-series classification datasets demonstrate that, with fully on-chip training, our SNN model achieves accuracy comparable to SNN or LSTM trained with BPTT. Compared to CPU and GPU based implementations, our FPGA design delivers 2.5 to 6 times higher throughput while consuming an order of magnitude less energy per sample.

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

↑