在FPGA上通过多出口增强基于Dropout的贝叶斯神经网络
Enhancing Dropout-based Bayesian Neural Networks with Multi-Exit on FPGA
AI总结:
针对贝叶斯神经网络算法复杂度高、硬件性能不足难以落地的问题,本文提出算法硬件协同设计框架,设计多出口dropout贝叶斯神经网络并生成FPGA加速器,经实验验证能效优于CPU、GPU及现有最优硬件实现,且代码已开源。
摘要:
可靠的不确定性估计在医疗诊断、自动驾驶等各类安全关键应用中发挥着关键作用。近年来,贝叶斯神经网络(BayesNNs)因能做出具备可靠不确定性估计的准确预测,引发了学术界与工业界的大量研究兴趣。然而,BayesNNs的算法复杂度及由此带来的硬件性能问题,阻碍了其在实际场景中的应用。为填补这一空白,本文提出一种算法与硬件协同设计框架,可生成基于现场可编程门阵列(FPGA)的高效BayesNN加速器。在算法层面,本文提出新型的基于多出口dropout的BayesNN,在实现高精度与高质量不确定性估计的同时,降低了计算与内存开销。在硬件层面,本文引入一种转换框架,可为所提出的高效多出口BayesNN生成基于FPGA的加速器。文中还引入了时空映射混合等多项优化技术,以降低资源消耗并提升整体硬件性能。综合实验表明,与CPU、GPU及其他现有最优硬件实现相比,本文方法可实现更高的能效。为支持该研究的未来发展,我们已将代码开源在:https://github.com/os-hxfan/MCME_FPGA_Acc.git
英文摘要:
Reliable uncertainty estimation plays a crucial role in various safety-critical applications such as medical diagnosis and autonomous driving. In recent years, Bayesian neural networks (BayesNNs) have gained substantial research and industrial interests due to their capability to make accurate predictions with reliable uncertainty estimation. However, the algorithmic complexity and the resulting hardware performance of BayesNNs hinder their adoption in real-life applications. To bridge this gap, this paper proposes an algorithm and hardware co-design framework that can generate field-programmable gate array (FPGA)-based accelerators for efficient BayesNNs. At the algorithm level, we propose novel multi-exit dropout-based BayesNNs with reduced computational and memory overheads while achieving high accuracy and quality of uncertainty estimation. At the hardware level, this paper introduces a transformation framework that can generate FPGA-based accelerators for the proposed efficient multi-exit BayesNNs. Several optimization techniques such as the mix of spatial and temporal mappings are introduced to reduce resource consumption and improve the overall hardware performance. Comprehensive experiments demonstrate that our approach can achieve higher energy efficiency compared to CPU, GPU, and other state-of-the-art hardware implementations. To support the future development of this research, we have open-sourced our code at: https://github.com/os-hxfan/MCME_FPGA_Acc.git
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。