JOURNAL ARTICLE

CiM-BNN:Computing-in-MRAM Architecture for Stochastic Computing Based Bayesian Neural Network

Huiyi GuXiaotao JiaYuhao LiuJianlei YangXueyan WangYouguang ZhangSorin CotöfanăWeisheng Zhao

Year: 2023 Journal:   IEEE Transactions on Emerging Topics in Computing Vol: 12 (4)Pages: 980-990   Publisher: Institute of Electrical and Electronics Engineers

Abstract

Bayesian neural network (BNN) has gradually attracted researchers' attention with its uncertainty representation and high robustness. However, high computational complexity, large number of sampling operations, and the von-Neumann architecture make a great limitation for the further deployment of BNN on edge devices. In this paper, a new computing-in-MRAM BNN architecture (CiM-BNN) is proposed for stochastic computing (SC)-based BNN to alleviate these problems. In SC domain, neural network parameters are represented in bitstream format. In order to leverage the characteristics of bitstreams, CiM-BNN redesigns the computing-in-memory architecture without complex peripheral circuit requirements and MRAM state flipping. Additionally, real-time Gaussian random number generators are designed using MRAM's stochastic property to further improve energy efficiency. Cadence Virtuoso is used to evaluate the proposed architecture. Simulation results show that energy consumption is reduced more than 93.6% with slight accuracy decrease compared to FPGA implementation with von-Neumann architecture in SC domain.

Keywords:
Computer science Stochastic computing Robustness (evolution) Leverage (statistics) Hardware acceleration Artificial neural network Distributed computing Field-programmable gate array Embedded system Artificial intelligence

Metrics

10
Cited By
4.40
FWCI (Field Weighted Citation Impact)
42
Refs
0.88
Citation Normalized Percentile
Is in top 1%
Is in top 10%

Citation History

Topics

Error Correcting Code Techniques
Physical Sciences →  Computer Science →  Computer Networks and Communications
Neural Networks and Applications
Physical Sciences →  Computer Science →  Artificial Intelligence
Stochastic Gradient Optimization Techniques
Physical Sciences →  Computer Science →  Artificial Intelligence
© 2026 ScienceGate Book Chapters — All rights reserved.