loading page

SpinDrop: Dropout-Based Bayesian Binary Neural Networks with spintronic Implementation
  • +3
  • Soyed Tuhin Ahmed ,
  • Kamal Danouchi ,
  • Christopher Münch ,
  • Guillaume Prenat ,
  • Lorena Anghel ,
  • Mehdi B. Tahoori
Soyed Tuhin Ahmed
Karlsruhe Institute of Technology (KIT)

Corresponding Author:[email protected]

Author Profile
Kamal Danouchi
Author Profile
Christopher Münch
Author Profile
Guillaume Prenat
Author Profile
Lorena Anghel
Author Profile
Mehdi B. Tahoori
Author Profile


Neural Networks (NNs) provide an effective solution in numerous application domains, including autonomous driving and medical applications. Nevertheless, NN predictions can be incorrect if the input sample is outside of the training distribution or contaminated by noise. Consequently, quantifying the uncertainty of the NN prediction allows the system to make more insightful decisions by avoiding blind predictions. Therefore, uncertainty quantification is crucial for a variety of applications, including safety-critical applications. Bayesian NN (BayNN) using Dropout-based approximation provides systematic approach for estimating uncertainty of predictions. Despite such merit, BayNNs are not suitable for implementation in a embedded device or able to meet high-performance demands for certain applications. Computation in-memory (CiM) architecture with emerging non-volatile memories (NVMs) are a great candidate for high performance and low power acceleration BayNNs in hardware. Among NVMs, Magnetic Tunnel Junction (MTJ) offer many benefits, but they also suffer from various non-idealities and limited bit-level resolution. As a result, binarizing BayNNs is an attractive option that can directly implement BayNN into a CiM architecture and able to achieve benefits of both CiM architecture and BayNNs at the same time. Conventional in- memory hardware implementations emphasize conventional NNs, which can only make predictions, does not account for both device and input uncertainty, thus, reducing both reliability and performance. In this paper, we propose for the first time Binary Bayesian NNs (BinBayNN) with an end to end approach (from algorithmic level to device level) for their implementation. Our approach takes the inherent stochastic properties of MTJs as a feature to implement Dropout-based Bayesian Neural Networks. We provide an extensive evaluation of our approach from the device level up to the algorithmic level on various benchmark datasets.
Mar 2023Published in IEEE Journal on Emerging and Selected Topics in Circuits and Systems volume 13 issue 1 on pages 150-164. 10.1109/JETCAS.2023.3242146