MITA: Multi-Input Adaptive Activation Function for Accurate Binary Neural Network Hardware

被引:0
|
作者
Zhang, Peiqi [1 ]
Takamaeda-yamazaki, Shinya [1 ]
机构
[1] Univ Tokyo, Sch Informat Sci & Technol, Tokyo 1138654, Japan
关键词
binary neural network; adaptive thresholding; algorithm/ hardware co-design; neural network accelerator;
D O I
10.1587/transinf.2023PAP0007
中图分类号
TP [自动化技术、计算机技术];
学科分类号
0812 ;
摘要
Binary Neural Networks (BNN) have binarized neuron and connection values so that their accelerators can be realized by extremely efficient hardware. However, there is a significant accuracy gap between BNNs and networks with wider bit-width. Conventional BNNs binarize feature maps by static globally-unified thresholds, which makes the produced bipolar image lose local details. This paper proposes a multi -input activation function to enable adaptive thresholding for binarizing feature maps: (a) At the algorithm level, instead of operating each input pixel independently, adaptive thresholding dynamically changes the thresh-old according to surrounding pixels of the target pixel. When optimizing weights, adaptive thresholding is equivalent to an accompanied depth-wise convolution between normal convolution and binarization. Accompanied weights in the depth-wise filters are ternarized and optimized end-to-end. (b) At the hardware level, adaptive thresholding is realized through a multi -input activation function, which is compatible with common accelerator ar-chitectures. Compact activation hardware with only one extra accumulator is devised. By equipping the proposed method on FPGA, 4.1% accuracy improvement is achieved on the original BNN with only 1.1% extra LUT resource. Compared with State-of-the-art methods, the proposed idea further increases network accuracy by 0.8% on the Cifar-10 dataset and 0.4% on the ImageNet dataset.
引用
收藏
页码:2006 / 2014
页数:9
相关论文
共 50 条
  • [1] Multi-Input Adaptive Activation Function for Binary Neural Networks
    Zhang, Peiqi
    Takamaeda-Yamazaki, Shinya
    [J]. 2022 TENTH INTERNATIONAL SYMPOSIUM ON COMPUTING AND NETWORKING WORKSHOPS, CANDARW, 2022, : 90 - 96
  • [2] Research for multi-input wavelet neural network
    Han, Fengqing
    Wang, Dacheng
    Li, Jianping
    [J]. WAVELET ACTIVE MEDIA TECHNOLOGY AND INFORMATION PROCESSING, VOL 1 AND 2, 2006, : 664 - +
  • [3] A multi-input multi-output functional artificial neural network
    Newcomb, RW
    deFigueiredo, RJP
    [J]. JOURNAL OF INTELLIGENT & FUZZY SYSTEMS, 1996, 4 (03) : 207 - 213
  • [4] DESIGN FOR A MULTI-INPUT BINARY ADDER
    LEWIN, DW
    [J]. RADIO AND ELECTRONIC ENGINEER, 1970, 39 (02): : 77 - &
  • [5] Fabric defect detection based on multi-input neural network
    Lin, Jingxin
    Wang, Nianfeng
    Zhu, Hao
    Zhang, Xianmin
    Zheng, Xuewei
    [J]. 2021 27TH INTERNATIONAL CONFERENCE ON MECHATRONICS AND MACHINE VISION IN PRACTICE (M2VIP), 2021,
  • [6] Stable multi-input multi-output adaptive fuzzy neural control
    Ordóñez, R
    Passino, KM
    [J]. IEEE TRANSACTIONS ON FUZZY SYSTEMS, 1999, 7 (03) : 345 - 353
  • [7] Synergistic drug combination prediction in multi-input neural network
    Chen X.
    Qin Y.
    Chen M.
    Zhang C.
    [J]. Shengwu Yixue Gongchengxue Zazhi/Journal of Biomedical Engineering, 2020, 37 (04): : 676 - 682
  • [8] Multi-input adaptive neural network for automatic detection of cervical vertebral landmarks on X-rays
    Wang, Yuzhao
    Huang, Lan
    Wu, Minfei
    Liu, Shenyao
    Jiao, Jianhang
    Bai, Tian
    [J]. COMPUTERS IN BIOLOGY AND MEDICINE, 2022, 146
  • [9] Neural Network Learning Control of Multi-input System with Unknown Dynamics
    Lv, Yongfeng
    Ren, Xuemei
    Li, Siqi
    Li, Huichao
    Lv, Hengxing
    [J]. PROCEEDINGS OF 2019 6TH IEEE INTERNATIONAL CONFERENCE ON CLOUD COMPUTING AND INTELLIGENCE SYSTEMS (CCIS), 2019, : 169 - 173
  • [10] Multi-input Fourier neural network and its sparrow search optimization
    Li L.
    Zhang Z.
    Zhang Y.
    [J]. Beijing Hangkong Hangtian Daxue Xuebao/Journal of Beijing University of Aeronautics and Astronautics, 2024, 50 (02): : 623 - 633