arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2506.18530cs.ARcs.AI
收藏

脑类神经网络的内嵌FPGA加速:从在线学习到可扩展推理

Embedded FPGA Acceleration of Brain-Like Neural Networks: Online Learning to Scalable Inference

Department of Computer Science KTH Royal Institute of Technology(计算机科学系 瑞典皇家理工学院);Department of Mathematics Stockholm University(数学系 斯德哥尔摩大学)

Muhammad Ihsan Al Hafiz, Naresh Ravichandran, Anders Lansner, Pawel Herman, Artur Podobas

AI总结:

本研究首次在嵌入式FPGA上实现BCPNN脑类神经网络加速器,支持在线学习与推理,相比ARM基线实现17.5倍延迟降低和94%能耗节省,推动边缘神经形态计算实用化。

摘要:

边缘AI应用日益需要能够在设备端以最小能耗预算进行学习和适应的模型。传统深度学习模型虽然强大,但往往参数过多、能耗高,且依赖云连接。脑类神经网络(BLNNs),如贝叶斯置信传播神经网络(BCPNN),通过模拟皮层结构和生物约束学习,提出了一种神经形态替代方案。它们提供具有局部学习规则和无人监督/半监督学习的稀疏架构,非常适合低功耗边缘智能。然而,现有的BCPNN实现依赖GPU或数据中心FPGA,限制了其在嵌入式系统中的应用。本研究首次在Zynq UltraScale+ SoC上使用高级综合(HLS)为BCPNN设计了嵌入式FPGA加速器。我们实现了在线学习和仅推理两种内核,并支持可变和混合精度。在MNIST、肺炎和乳腺癌数据集上的评估显示,与ARM基线相比,我们的加速器在保持准确率的同时,实现了高达17.5倍的延迟降低和94%的能耗节省。这项工作使得在边缘设备上进行实用的神经形态计算成为可能,弥合了脑类学习与实际部署之间的差距。

英文摘要:

Edge AI applications increasingly require models that can learn and adapt on-device with minimal energy budget. Traditional deep learning models, while powerful, are often overparameterized, energy-hungry, and dependent on cloud connectivity. Brain-Like Neural Networks (BLNNs), such as the Bayesian Confidence Propagation Neural Network (BCPNN), propose a neuromorphic alternative by mimicking cortical architecture and biologically-constrained learning. They offer sparse architectures with local learning rules and unsupervised/semi-supervised learning, making them well-suited for low-power edge intelligence. However, existing BCPNN implementations rely on GPUs or datacenter FPGAs, limiting their applicability to embedded systems. This work presents the first embedded FPGA accelerator for BCPNN on a Zynq UltraScale+ SoC using High-Level Synthesis. We implement both online learning and inference-only kernels with support for variable and mixed precision. Evaluated on MNIST, Pneumonia, and Breast Cancer datasets, our accelerator achieves up to 17.5x latency and 94% energy savings over ARM baselines, without sacrificing accuracy. This work enables practical neuromorphic computing on edge devices, bridging the gap between brain-like learning and real-world deployment.

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

↑