arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2311.15816cs.LGcs.AIcs.ET
收藏

Scale-Dropout:利用随机尺度估计深度神经网络中的不确定性

Scale-Dropout: Estimating Uncertainty in Deep Neural Networks Using Stochastic Scale

Karlsruhe Institute of Technology(卡尔斯鲁厄理工学院);Univ. Grenoble Alpes(格勒诺布尔阿尔卑斯大学);CEA(法国原子能和替代能源委员会);CNRS(法国国家科学研究中心);Grenoble INP(格勒诺布尔国立理工学院);IRIG-Spintec(格勒诺布尔微电子与纳米技术研究所-自旋电子学与纳米技术实验室);RevoAI GmbH(RevoAI有限公司)

Soyed Tuhin Ahmed, Kamal Danouchi, Michael Hefenbrock, Guillaume Prenat, Lorena Anghel, Mehdi B. Tahoori

AI总结:

本文提出 Scale Dropout 正则化技术及 MC-Scale Dropout 贝叶斯二值神经网络,仅用一个随机单元实现高效不确定性估计,并设计自旋电子存内计算架构,在保证预测性能的同时大幅降低能耗。

摘要:

神经网络(NNs)中的不确定性估计对于提高预测的可靠性和置信度至关重要,尤其是在安全关键型应用中。以 Dropout 作为近似手段的贝叶斯神经网络(BayNNs)提供了一种系统化的不确定性量化方法,但它们在功耗、内存和计算方面固有地承受着高昂的硬件开销。因此,将 BayNNs 应用于资源有限的边缘设备或高性能应用具有挑战性。通过在基于自旋电子存储器的存内计算(CIM)架构上对 BayNNs 进行硬件加速并对其参数进行二值化,可以降低 BayNNs 的部分固有成本。然而,实现传统的基于 Dropout 的 BayNN 需要大量随机单元。在本文中,我们提出了 Scale Dropout,一种用于二值神经网络(BNNs)的新型正则化技术,以及基于蒙特卡洛-Scale Dropout(MC-Scale Dropout)的 BayNNs,以实现高效的不确定性估计。我们的方法无论模型规模大小,整个模型仅需一个随机单元,从而得到高度可扩展的贝叶斯神经网络。此外,我们为所提出的 BayNN 引入了一种新颖的基于自旋电子存储器的 CIM 架构,与最先进技术相比,实现了超过 $100\ imes$ 的能耗节省。我们验证了我们的方法,结果显示与相关工作相比,预测性能提升高达 $1\%$,并且具有更优的不确定性估计。

英文摘要:

Uncertainty estimation in Neural Networks (NNs) is vital in improving reliability and confidence in predictions, particularly in safety-critical applications. Bayesian Neural Networks (BayNNs) with Dropout as an approximation offer a systematic approach to quantifying uncertainty, but they inherently suffer from high hardware overhead in terms of power, memory, and computation. Thus, the applicability of BayNNs to edge devices with limited resources or to high-performance applications is challenging. Some of the inherent costs of BayNNs can be reduced by accelerating them in hardware on a Computation-In-Memory (CIM) architecture with spintronic memories and binarizing their parameters. However, numerous stochastic units are required to implement conventional dropout-based BayNN. In this paper, we propose the Scale Dropout, a novel regularization technique for Binary Neural Networks (BNNs), and Monte Carlo-Scale Dropout (MC-Scale Dropout)-based BayNNs for efficient uncertainty estimation. Our approach requires only one stochastic unit for the entire model, irrespective of the model size, leading to a highly scalable Bayesian NN. Furthermore, we introduce a novel Spintronic memory-based CIM architecture for the proposed BayNN that achieves more than $100\times$ energy savings compared to the state-of-the-art. We validated our method to show up to a $1\%$ improvement in predictive performance and superior uncertainty estimates compared to related works.

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

↑