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

面向贝叶斯置信传播神经网络的可重构流式FPGA加速器

A Reconfigurable Stream-Based FPGA Accelerator for Bayesian Confidence Propagation Neural Networks

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

AI总结:

本文针对BCPNN在CPU/GPU上运行慢、能耗高的问题,基于Xilinx Vitis HLS设计可重构流式FPGA加速器,实现较A100更高速度与显著能效提升。

摘要:

受脑启发的算法是经典深度学习方法在各类机器学习应用中具有吸引力且正在兴起的替代方案。受脑启发的系统可具备局部学习规则、无监督/半监督学习以及不同类型的可塑性(结构/突触),从而有可能比传统机器学习替代方案更快、更节能。贝叶斯置信传播神经网络(BCPNN)是其中较为突出的受脑启发算法之一。BCPNN是机器学习和计算神经科学研究的重要工具,近期工作表明,与其他模型相比,BCPNN在学习和记忆回忆等任务中能够达到最先进性能。遗憾的是,BCPNN主要运行在速度较慢的通用处理器(CPU)或功耗很高的图形处理器(GPU)上,这降低了BCPNN在边缘系统等场景中的适用性。在本工作中,我们使用Xilinx Vitis高层次综合(HLS)流程,利用现场可编程门阵列(FPGA)为BCPNN设计了一种定制的流式加速器。此外,我们基于第一性原理对加速器性能进行建模,并通过实验表明,所提出的加速器比Nvidia A100 GPU快1.3倍至5.3倍,同时功耗降低2.62倍至3.19倍、能耗降低5.8倍至16.5倍,且性能没有任何下降。

英文摘要:

Brain-inspired algorithms are attractive and emerging alternatives to classical deep learning methods for use in various machine learning applications. Brain-inspired systems can feature local learning rules, both unsupervised/semi-supervised learning and different types of plasticity (structural/synaptic), allowing them to potentially be faster and more energy-efficient than traditional machine learning alternatives. Among the more salient brain-inspired algorithms are Bayesian Confidence Propagation Neural Networks (BCPNNs). BCPNN is an important tool for both machine learning and computational neuroscience research, and recent work shows that BCPNN can reach state-of-the-art performance in tasks such as learning and memory recall compared to other models. Unfortunately, BCPNN is primarily executed on slow general-purpose processors (CPUs) or power-hungry graphics processing units (GPUs), reducing the applicability of using BCPNN in (among others) Edge systems. In this work, we design a custom stream-based accelerator for BCPNN using Field-Programmable Gate Arrays (FPGA) using Xilinx Vitis High-Level Synthesis (HLS) flow. Furthermore, we model our accelerator's performance using first principles, and we empirically show that our proposed accelerator is between 1.3x - 5.3x faster than an Nvidia A100 GPU while at the same time consuming between 2.62x - 3.19x less power and 5.8x - 16.5x less energy without any degradation in performance.

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

↑