arXivDaily arXiv每日学术速递 周一至周五更新
感恩节,周五至周末无更新,大家顺遂。周一再来吧
arXiv 2005.03857cs.LGstat.ML
收藏

贝叶斯神经网络中基于特征分解和简化的有效计算缩减

Efficient Computation Reduction in Bayesian Neural Networks Through Feature Decomposition and Memorization

Fert Beijing Research Institute(费尔特北京研究院);BDBC(BDBC(北京大数据研究院));Qingdao Research Institute, Beihang University(北京航空航天大学青岛研究院);Beihang University(北京航空航天大学);Delft University of Technology(代尔夫特理工大学)

Xiaotao Jia, Jianlei Yang, Runze Liu, Xueyan Wang, Sorin Dan Cotofana, Weisheng Zhao

摘要:

贝叶斯方法能够捕捉真实世界的不确定性/不完整性,并适当解决深度神经网络面临的过拟合问题。近年来,贝叶斯神经网络(BNN)引起了人工智能研究者的极大关注,并在许多应用中取得了成功。然而,所需的高计算复杂度使得BNN难以部署在具有有限功率预算的计算系统中。在本文中,提出了一种有效的BNN推理流程,以减少计算成本,然后评估通过软件和硬件实现。一个特征分解和记忆(\texttt{DM})的战略是用来改革BNN推理流程,以减少的方式。理论分析和软件验证表明,与传统方法相比,该方法可以减少一半的计算量。随后,为了解决硬件资源的限制,进一步部署了一个内存友好的计算框架,以减少\texttt{DM}策略引入的内存开销。最后,我们实现了我们的方法在Verilog和综合它与45 $nm$ FreePDK技术。在多层BNN上的硬件仿真结果表明,与传统的BNN推理方法相比,该方法的能耗降低了73%,速度提高了4个$\times$,而面积开销仅为14%.

英文摘要:

Bayesian method is capable of capturing real world uncertainties/incompleteness and properly addressing the over-fitting issue faced by deep neural networks. In recent years, Bayesian Neural Networks (BNNs) have drawn tremendous attentions of AI researchers and proved to be successful in many applications. However, the required high computation complexity makes BNNs difficult to be deployed in computing systems with limited power budget. In this paper, an efficient BNN inference flow is proposed to reduce the computation cost then is evaluated by means of both software and hardware implementations. A feature decomposition and memorization (\texttt{DM}) strategy is utilized to reform the BNN inference flow in a reduced manner. About half of the computations could be eliminated compared to the traditional approach that has been proved by theoretical analysis and software validations. Subsequently, in order to resolve the hardware resource limitations, a memory-friendly computing framework is further deployed to reduce the memory overhead introduced by \texttt{DM} strategy. Finally, we implement our approach in Verilog and synthesise it with 45 $nm$ FreePDK technology. Hardware simulation results on multi-layer BNNs demonstrate that, when compared with the traditional BNN inference method, it provides an energy consumption reduction of 73\% and a 4$\times$ speedup at the expense of 14\% area overhead.

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

↑