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

Huiyi Gu, Xiaotao Jia, Yuhao Liu, Jianlei Yang, Xueyan Wang, Youguang Zhang, Sorin Dan Cotofana, Weisheng Zhao

Research output: Contribution to journalArticleScientificpeer-review

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.

Original languageEnglish
Pages (from-to)1-11
Number of pages11
JournalIEEE Transactions on Emerging Topics in Computing
DOIs
Publication statusE-pub ahead of print - 2023

Keywords

  • Bayes methods
  • Bayesian neural network
  • Computer architecture
  • computing-in-memory
  • energy efficiency
  • Hardware
  • Neural networks
  • Probability distribution
  • stochastic computing
  • Stochastic processes
  • STT-MRAM
  • Uncertainty

Fingerprint

Dive into the research topics of 'CiM-BNN:Computing-in-MRAM Architecture for Stochastic Computing Based Bayesian Neural Network'. Together they form a unique fingerprint.

Cite this