Binary Bayesian Neural Networks for Efficient Uncertainty Estimation Leveraging Inherent Stochasticity of Spintronic Devices

Soyed Tuhin Ahmed, Kamal Danouchi, Christopher Münch, G. Prenat, Anghel Lorena, Mehdi B. Tahoori
{"title":"Binary Bayesian Neural Networks for Efficient Uncertainty Estimation Leveraging Inherent Stochasticity of Spintronic Devices","authors":"Soyed Tuhin Ahmed, Kamal Danouchi, Christopher Münch, G. Prenat, Anghel Lorena, Mehdi B. Tahoori","doi":"10.1145/3565478.3572536","DOIUrl":null,"url":null,"abstract":"In the age of automation, machine learning systems for real-time critical decisions in various domains such as autonomous driving are at an all-time high. Predictive uncertainty allows a machine learning system to make more insightful decisions by avoiding blind predictions. Algorithmically, Bayesian neural networks (BayNNs) based on dropout are principled methods for estimating predictive uncertainty in a machine learning application. However, the computational cost and power consumption make the use of BayNNs on embedded hardware unattractive. Hardware accelerators with emerging non-volatile resistive memories (NVMs) such as Magnetic Tunnel Junction (MTJ) in conjunction with quantized models are an interesting option for efficient implementations of such a system. Binary BayNNs are a desirable alternative that can provide predictive uncertainty efficiently by combining the benefits of quantization and hardware acceleration. In this paper, propose for the first time the binary bayesian neural network (BayBNN) using dropout-based approximation, and we leverage the inherent randomness of spin-tronic devices for in-memory Bayesian inference. Our proposed method can detect up-to 100% of the out-of-distribution data, improve inference accuracy by 15% for corrupted data, and ~ 2% for in-distribution data.","PeriodicalId":125590,"journal":{"name":"Proceedings of the 17th ACM International Symposium on Nanoscale Architectures","volume":"73 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-12-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"4","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 17th ACM International Symposium on Nanoscale Architectures","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3565478.3572536","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 4

Abstract

In the age of automation, machine learning systems for real-time critical decisions in various domains such as autonomous driving are at an all-time high. Predictive uncertainty allows a machine learning system to make more insightful decisions by avoiding blind predictions. Algorithmically, Bayesian neural networks (BayNNs) based on dropout are principled methods for estimating predictive uncertainty in a machine learning application. However, the computational cost and power consumption make the use of BayNNs on embedded hardware unattractive. Hardware accelerators with emerging non-volatile resistive memories (NVMs) such as Magnetic Tunnel Junction (MTJ) in conjunction with quantized models are an interesting option for efficient implementations of such a system. Binary BayNNs are a desirable alternative that can provide predictive uncertainty efficiently by combining the benefits of quantization and hardware acceleration. In this paper, propose for the first time the binary bayesian neural network (BayBNN) using dropout-based approximation, and we leverage the inherent randomness of spin-tronic devices for in-memory Bayesian inference. Our proposed method can detect up-to 100% of the out-of-distribution data, improve inference accuracy by 15% for corrupted data, and ~ 2% for in-distribution data.
利用自旋电子器件固有随机性进行有效不确定性估计的二值贝叶斯神经网络
在自动化时代,用于自动驾驶等各个领域的实时关键决策的机器学习系统处于历史最高水平。预测性不确定性允许机器学习系统通过避免盲目预测来做出更有洞察力的决策。在算法上,基于dropout的贝叶斯神经网络(BayNNs)是估计机器学习应用中预测不确定性的基本方法。然而,计算成本和功耗使得在嵌入式硬件上使用baynn缺乏吸引力。硬件加速器与新兴的非易失性电阻存储器(nvm)(如磁隧道结(MTJ))结合量化模型是有效实现此类系统的有趣选择。二进制贝叶斯网络是一种理想的替代方案,通过结合量化和硬件加速的优点,可以有效地提供预测不确定性。本文首次提出了基于dropout近似的二进制贝叶斯神经网络(BayBNN),并利用自旋电子器件固有的随机性进行内存贝叶斯推理。我们提出的方法可以检测到100%的分布外数据,对损坏数据的推理精度提高15%,对分布内数据的推理精度提高2%。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信