用于高效复值不确定性估计的算法与硬件协同设计
Algorithm and Hardware Co-Design for Efficient Complex-Valued Uncertainty Estimation
AI总结:
本文提出基于dropout的贝叶斯复值神经网络,实现复值应用的不确定性量化,并通过自动化搜索方法优化配置,生成定制FPGA加速器,实现更高的性能与更低的硬件成本。
摘要:
复值神经网络(CVNNs)在处理涉及复数的任务中具有显著优势。然而,现有CVNNs无法量化预测不确定性。我们首次提出基于dropout的贝叶斯复值神经网络(BayesCVNNs),使其能够对复值应用进行不确定性量化。由于复值的双部分性质显著扩展了设计空间,并允许基于层混合和部分混合的新型配置,我们引入自动化搜索方法以有效识别实部和虚部的最佳配置。为促进部署,我们提出一个框架,生成定制的FPGA加速器,利用一组优化的构建块。实验表明,最佳配置可通过自动化搜索有效找到,相较于手动设计模型,其在性能和硬件成本方面均更优。优化的加速器在不同模型上实现了约4.5倍和13倍的速度提升,且功耗低于GPU实现的10%。我们的代码已公开在:https://github.com/zehuanzhang/BayesCVNN.git。
英文摘要:
Complex-Valued Neural Networks (CVNNs) have significant advantages in handling tasks that involve complex numbers. However, existing CVNNs are unable to quantify predictive uncertainty. We propose, for the first time, dropout-based Bayesian Complex-Valued Neural Networks (BayesCVNNs) to enable uncertainty quantification for complex-valued applications, exhibiting broad applicability and efficiency for hardware implementation due to modularity. Furthermore, as the dual-part nature of complex values significantly broadens the design space and enables novel configurations based on layer-mixing and part-mixing, we introduce an automated search approach to effectively identify optimal configurations for both real and imaginary components. To facilitate deployment, we present a framework that generates customized FPGA-based accelerators for BayesCVNNs, leveraging a set of optimized building blocks. Experiments demonstrate the best configuration can be effectively found via the automated search, attaining higher performance with lower hardware costs compared with manually crafted models. The optimized accelerators achieve approximately 4.5x and 13x speedups on different models with less than 10% power consumption compared to GPU implementations, and outperform existing work in both algorithm and hardware aspects. Our code is publicly available at: https://github.com/zehuanzhang/BayesCVNN.git.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。