Enabling High-Quality Uncertainty Quantification in a PIM Designed for Bayesian Neural Network

被引:2
|
作者
Li, Xingchen [1 ,6 ]
Wu, Bingzhe [1 ,6 ]
Sun, Guangyu [1 ]
Zhang, Zhe [1 ]
Yuan, Zhihang [1 ]
Wang, Runsheng [1 ]
Huang, Ru [1 ]
Niu, Dimin [2 ]
Zheng, Hongzhong [2 ]
Lu, Zhichao [3 ]
Zhao, Liang [3 ]
Chang, Meng-Fan Marvin [4 ]
Guan, Tianchan [3 ]
Si, Xin [4 ,5 ]
机构
[1] Peking Univ, Beijing, Peoples R China
[2] Alibaba Grp Inc, Hangzhou, Peoples R China
[3] Hefei Reliance Memory Ltd, Hefei, Peoples R China
[4] Natl Tsing Hua Univ, Hsinchu, Taiwan
[5] Southeast Univ, Nanjing, Peoples R China
[6] Adv Inst Informat Technol, Beijing, Peoples R China
基金
国家重点研发计划; 中国国家自然科学基金;
关键词
ReRAM; Bayesian Neural Network; Analog Computing; Noise;
D O I
10.1109/HPCA53966.2022.00080
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Uncertainty quantification measures the prediction uncertainty of a neural network facing out-of-training-distribution samples. Bayesian Neural Networks (BNNs) can provide high-quality uncertainty quantification by introducing specific noise to the weights during inference. To accelerate BNN inference, ReRAM processing-in-memory (PIM) architecture is a competitive solution to provide both high-efficient computing and in-situ noise generation at the same time. However, there normally exists a huge gap between the generated noise in PIM hardware and that required by a BNN model. We demonstrate that the quality of uncertainty quantification is substantially degraded due to this gap. To solve this problem, we propose a holistic framework called W2W-PIM. We first introduce an efficient method to generate noise in ReRAM PIM design according to the demand of a BNN model. In addition, the PIM architecture is carefully modified to enable the noise generation and evaluate uncertainty quality. Moreover, a calibration unit is further introduced to reduce the noise gap caused by imperfection of the noise model. Comprehensive evaluation results demonstrate that W2W-PIM framework can achieve high-quality uncertainty quantification and high energy-efficiency at the same time.
引用
收藏
页码:1043 / 1055
页数:13
相关论文
共 50 条
  • [1] Bayesian chemical reaction neural network for autonomous kinetic uncertainty quantification
    Li, Qiaofeng
    Chen, Huaibo
    Koenig, Benjamin C.
    Deng, Sili
    [J]. PHYSICAL CHEMISTRY CHEMICAL PHYSICS, 2023, 25 (05) : 3707 - 3717
  • [2] Scalable Bayesian Uncertainty Quantification for Neural Network Potentials: Promise and Pitfalls
    Thaler, Stephan
    Doehner, Gregor
    Zavadlav, Julija
    [J]. JOURNAL OF CHEMICAL THEORY AND COMPUTATION, 2023, 19 (14) : 4520 - 4532
  • [3] BAYESIAN NETWORK LEARNING FOR UNCERTAINTY QUANTIFICATION
    Hu, Zhen
    Mahadevan, Sankaran
    [J]. PROCEEDINGS OF THE ASME INTERNATIONAL DESIGN ENGINEERING TECHNICAL CONFERENCES AND COMPUTERS AND INFORMATION IN ENGINEERING CONFERENCE, 2017, VOL 2A, 2017,
  • [4] High-Quality Bayesian Pansharpening
    Wang, Tingting
    Fang, Faming
    Li, Fang
    Zhang, Guixu
    [J]. IEEE TRANSACTIONS ON IMAGE PROCESSING, 2019, 28 (01) : 227 - 239
  • [6] Geochemical anomaly identification and uncertainty quantification using a Bayesian convolutional neural network model
    Huang, Dazheng
    Zuo, Renguang
    Wang, Jian
    [J]. APPLIED GEOCHEMISTRY, 2022, 146
  • [7] An Enhanced Fault Diagnosis Method with Uncertainty Quantification Using Bayesian Convolutional Neural Network
    Fang, Qihang
    Xiong, Gang
    Shang, Xiuqin
    Liu, Sheng
    Hu, Bin
    Shen, Zhen
    [J]. 2020 IEEE 16TH INTERNATIONAL CONFERENCE ON AUTOMATION SCIENCE AND ENGINEERING (CASE), 2020, : 588 - 593
  • [8] Bayesian Neural Networks Uncertainty Quantification with Cubature Rules
    Wang, Peng
    He, Renke
    Zhang, Qibin
    Wang, Jikai
    Mihaylova, Lyudmila
    Bouaynaya, Nidhal C.
    [J]. 2020 INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS (IJCNN), 2020,
  • [9] Uncertainty quantification in machining deformation based on Bayesian network
    Li, Xiaoyue
    Yang, Yinfei
    Li, Liang
    Zhao, Guolong
    He, Ning
    [J]. RELIABILITY ENGINEERING & SYSTEM SAFETY, 2020, 203
  • [10] Permeability prediction and uncertainty quantification base on Bayesian neural network and data distribution domain transformation
    Li MingXuan
    Han HongWei
    Liu HaoJie
    Sang WenJing
    Yuan SanYi
    [J]. CHINESE JOURNAL OF GEOPHYSICS-CHINESE EDITION, 2023, 66 (04): : 1664 - 1680