arrow
Return

An Energy-Efficient Bayesian Neural Network Implementation Using Stochastic Computing Method

delete2024-09-01
delete5
PRE
AI
X
Xiaotao Jia
H
Huiyi Gu
Y
Yuhao Liu
J
Jianlei Yang *
X
Xueyan Wang
W
Weitao Pan
Y
Youguang Zhang
S
Sorin Cotöfană
张慧 (Weisheng Zhao) *
DOI:10.1109/TNNLS.2023.3265533delete
deleteOriginal
deleteOriginal request for help
deleteShare
deleteSave
Abstract

Abstract

En 中文
The robustness of Bayesian neural networks (BNNs) to real-world uncertainties and incompleteness has led to their application in some safety-critical fields. However, evaluating uncertainty during BNN inference requires repeated sampling and feed-forward computing, making them challenging to deploy in low-power or embedded devices. This article proposes the use of stochastic computing (SC) to optimize the hardware performance of BNN inference in terms of energy consumption and hardware utilization. The proposed approach adopts bitstream to represent Gaussian random number and applies it in the inference phase. This allows for the omission of complex transformation computations in the central limit theorem-based Gaussian random number generating (CLT-based GRNG) method and the simplification of multipliers as and operations. Furthermore, an asynchronous parallel pipeline calculation technique is proposed in computing block to enhance operation speed. Compared with conventional binary radix-based BNN, SC-based BNN (StocBNN) realized by FPGA with 128-bit bitstream consumes much less energy consumption and hardware resources with less than 0.1% accuracy decrease when dealing with MNIST/Fashion-MNIST datasets.
Keywords:
Neural networks
Standards
Bayes methods
Hardware
Training
Uncertainty
Integrated circuit modeling
Bayesian neural network (BNN)
energy efficiency
Gaussian random number generator
stochastic computing (SC)

Journal

IEEE Transactions on Neural Networks and Learning Systems cover
IEEE Transactions on Neural Networks and Learning Systems
IF:
8.9
Papers:
7.5K
Citations:
7.2W

Organization

B
Beihang University
Scholars:
5.1W
Papers: 4.1W
Citations: 37
D
Delft University of Technology
Scholars:
2.6W
Papers: 2.5W
Citations: 3.8W
X
Xidian University
Scholars:
2.4W
Papers: 1.9W
Citations: 9.7K
researcher View more organizations