SpinBayes: Algorithm-Hardware Co-Design for Uncertainty Estimation Using Bayesian In-Memory Approximation on Spintronic-Based Architectures

计算机科学 随机计算 概率逻辑 人工神经网络 背景(考古学) 机器学习 推论 人工智能 算法 计算机工程 生物 古生物学
作者
Soyed Tuhin Ahmed,Kamal Danouchi,Michael Hefenbrock,Guillaume Prenat,Lorena Anghel,Mehdi B. Tahoori
出处
期刊:ACM Transactions in Embedded Computing Systems [Association for Computing Machinery]
卷期号:22 (5s): 1-25 被引量:3
标识
DOI:10.1145/3609116
摘要

Recent development in neural networks (NNs) has led to their widespread use in critical and automated decision-making systems, where uncertainty estimation is essential for trustworthiness. Although conventional NNs can solve many problems accurately, they do not capture the uncertainty of the data or the model during optimization. In contrast, Bayesian neural networks (BNNs), which learn probabilistic distributions for their parameters, offer a sound theoretical framework for estimating uncertainty. However, traditional hardware implementations of BNNs are expensive in terms of computational and memory resources, as they (i) are realized with inefficient von Neumann architectures, (ii) use a significantly large number of random number generators (RNGs) to implement the distributions of BNNs, and (iii) have a substantially greater number of parameters than conventional NNs. Computing-in-memory (CiM) architectures with emerging resistive non-volatile memories (NVMs) are promising candidates for accelerating classical NNs. In particular, spintronic technology, which is distinguished by its low latency and high endurance, aligns very well with these requirements. In the specific context of Bayesian neural networks (BNNs), spintronics technologies are very valuable, thanks to their inherent potential to act as stochastic or as deterministic devices. Consequently, BNNs mapped on spintronic-based CiM architectures could be a highly efficient implementation strategy. However, the direct implementation on CiM hardware of the learned probabilistic distributions of BNN may not be feasible and can incur high overhead. In this work, we propose a new Bayesian neural network topology, named SpinBayes , that is able to perform efficient sampling during the Bayesian inference process. Moreover, a Bayesian approximation method, called in-memory approximation , is proposed that approximates the original probabilistic distributions of BNN with a distribution that can be efficiently mapped to spintronic-based CiM architectures. Compared to state-of-the-art methods, the memory overhead is reduced by 8× and the energy consumption by 80×. Our method has been evaluated on several classification and semantic segmentation tasks and can detect up to 100% of various types of out-of-distribution data, highlighting the robustness of our approach, without any performance sacrifice.
最长约 10秒,即可获得该文献文件

科研通智能强力驱动
Strongly Powered by AbleSci AI
科研通是完全免费的文献互助平台,具备全网最快的应助速度,最高的求助完成率。 对每一个文献求助,科研通都将尽心尽力,给求助人一个满意的交代。
实时播报
MHN发布了新的文献求助10
1秒前
Nole应助xalone采纳,获得10
1秒前
情怀应助caihua采纳,获得10
2秒前
包容语蝶完成签到,获得积分20
2秒前
SSS完成签到,获得积分20
2秒前
3秒前
衣吾余发布了新的文献求助10
3秒前
无花果应助往事随风采纳,获得10
4秒前
zk发布了新的文献求助10
4秒前
4秒前
852应助hrpppp采纳,获得30
5秒前
6秒前
华仔应助mai采纳,获得10
7秒前
李健应助大方的香魔采纳,获得10
7秒前
8秒前
niniyiya发布了新的文献求助10
9秒前
10秒前
12秒前
星辰大海应助李欣桦采纳,获得10
12秒前
12秒前
12秒前
香蕉觅云应助li采纳,获得10
14秒前
科研通AI2S应助蔡6705采纳,获得10
14秒前
QY完成签到,获得积分10
14秒前
充电宝应助John采纳,获得10
14秒前
jessicaa发布了新的文献求助10
16秒前
16秒前
16秒前
sjr123发布了新的文献求助10
17秒前
17秒前
18秒前
大模型应助人才采纳,获得10
19秒前
今后应助吉他平方采纳,获得10
19秒前
踏实的土豆完成签到,获得积分10
19秒前
科研通AI6.3应助酷酷尔蓉采纳,获得10
20秒前
20秒前
20秒前
李健的小迷弟应助niniyiya采纳,获得10
21秒前
21秒前
MHN完成签到,获得积分10
21秒前
高分求助中
(应助此贴封号)【重要!!请各用户(尤其是新用户)详细阅读】【科研通的精品贴汇总】 10000
《上海印钞厂志》 2000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场现状调查及投资机会研判报告 1000
2026年中国辛酸癸酸聚乙二醇甘油酯行业市场规模及竞争格局分析报告 1000
模型平均及其应用 900
Fundamentals of Pharmaceutical and Biologics Regulations: A Global Perspective, Second Edition 700
作者名:Kristopher P. Plain,悉尼大学的,目前只能查到其四篇论文,想找到其博士论文 550
热门求助领域 (近24小时)
化学 材料科学 医学 生物 纳米技术 工程类 有机化学 化学工程 生物化学 计算机科学 内科学 物理 复合材料 催化作用 细胞生物学 无机化学 光电子学 物理化学 电极 基因
热门帖子
关注 科研通微信公众号,转发送积分 7337662
求助须知:如何正确求助?哪些是违规求助? 8951175
关于积分的说明 18996856
捐赠科研通 6990588
什么是DOI,文献DOI怎么找? 3218203
关于科研通互助平台的介绍 2383941
邀请新用户注册赠送积分活动 2198157