HEIF: Highly Efficient Stochastic Computing-Based Inference Framework for Deep Neural Networks

被引:54
|
作者
Li, Zhe [1 ]
Li, Ji [2 ]
Ren, Ao [1 ]
Cai, Ruizhe [1 ]
Ding, Caiwen [1 ]
Qian, Xuehai [2 ]
Draper, Jeffrey [2 ]
Yuan, Bo [3 ]
Tang, Jian [1 ]
Qiu, Qinru [1 ]
Wang, Yanzhi [4 ]
机构
[1] Syracuse Univ, Dept Elect Engn & Comp Sci, Syracuse, NY 13244 USA
[2] Univ Southern Calif, Dept Elect Engn, Los Angeles, CA 90089 USA
[3] CUNY City Coll, Dept Elect Engn, New York, NY 10031 USA
[4] Northeastern Univ, Dept Elect & Comp Engn, Boston, MA 02115 USA
关键词
ASIC; convolutional neural network; deep learning; energy-efficient; optimization; stochastic computing (SC);
D O I
10.1109/TCAD.2018.2852752
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Deep convolutional neural networks (DCNNs) are one of the most promising deep learning techniques and have been recognized as the dominant approach for almost all recognition and detection tasks. The computation of DCNNs is memory intensive due to large feature maps and neuron connections, and the performance highly depends on the capability of hardware resources. With the recent trend of wearable devices and Internet of Things, it becomes desirable to integrate the DCNNs onto embedded and portable devices that require low power and energy consumptions and small hardware footprints. Recently stochastic computing (SC)-DCNN demonstrated that SC as a low-cost substitute to binary-based computing radically simplifies the hardware implementation of arithmetic units and has the potential to satisfy the stringent power requirements in embedded devices. In SC, many arithmetic operations that are resource-consuming in binary designs can be implemented with very simple hardware logic, alleviating the extensive computational complexity. It offers a colossal design space for integration and optimization due to its reduced area and soft error resiliency. In this paper, we present HEIF, a highly efficient SC-based inference framework of the large-scale DCNNs, with broad applications including (but not limited to) LeNet-5 and AlexNet, that achieves high energy efficiency and low area/ hardware cost. Compared to SC-DCNN, HEIF features: 1) the first (to the best of our knowledge) SC-based rectified linear unit activation function to catch up with the recent advances in software models and mitigate degradation in application-level accuracy; 2) the redesigned approximate parallel counter and optimized stochastic multiplication using transmission gates and inverse mirror adders; and 3) the new optimization of weight storage using clustering. Most importantly, to achieve maximum energy efficiency while maintaining acceptable accuracy, HEIF considers holistic optimizations on cascade connection of function blocks in DCNN, pipelining technique, and bit-stream length reduction. Experimental results show that in large-scale applications HEIF outperforms previous SC-DCNN by the throughput of 4.1x, by area efficiency of up to 6.5x, and achieves up to 5.6x energy improvement.
引用
收藏
页码:1543 / 1556
页数:14
相关论文
共 50 条
  • [1] Normalization and dropout for stochastic computing-based deep convolutional neural networks
    Li, Ji
    Yuan, Zihao
    Li, Zhe
    Ren, Ao
    Ding, Caiwen
    Draper, Jeffrey
    Nazarian, Shahin
    Qiu, Qinru
    Yuan, Bo
    Wang, Yanzhi
    INTEGRATION-THE VLSI JOURNAL, 2019, 65 : 395 - 403
  • [2] Fault-Tolerance of Binarized and Stochastic Computing-based Neural Networks
    Ardakani, Amir
    Ardakani, Arash
    Gross, Warren J.
    2021 IEEE WORKSHOP ON SIGNAL PROCESSING SYSTEMS (SIPS 2021), 2021, : 52 - 57
  • [3] Universal Approximation Property and Equivalence of Stochastic Computing-Based Neural Networks and Binary Neural Networks
    Wang, Yanzhi
    Zhan, Zheng
    Zhao, Liang
    Tang, Jian
    Wang, Siyue
    Li, Jiayu
    Yuan, Bo
    Wen, Wujie
    Lin, Xue
    THIRTY-THIRD AAAI CONFERENCE ON ARTIFICIAL INTELLIGENCE / THIRTY-FIRST INNOVATIVE APPLICATIONS OF ARTIFICIAL INTELLIGENCE CONFERENCE / NINTH AAAI SYMPOSIUM ON EDUCATIONAL ADVANCES IN ARTIFICIAL INTELLIGENCE, 2019, : 5369 - 5376
  • [4] RR-SC: Run-Time Reconfigurable Framework for Stochastic Computing-Based Neural Networks on Edge Devices
    Song Y.
    Edwin H.-M.S.
    Zhuge Q.
    Xu R.
    Wang H.
    Jisuanji Yanjiu yu Fazhan/Computer Research and Development, 2024, 61 (04): : 840 - 855
  • [5] Exploiting Correlation in Stochastic Computing based Deep Neural Networks
    Frasser, Christiam F.
    Linares-Serrano, Pablo
    Moran, Alejandro
    Font-Rossello, Joan
    Canals, V
    Roca, Miquel
    Serrano-Gotarredona, T.
    Rossello, Josep L.
    2021 XXXVI CONFERENCE ON DESIGN OF CIRCUITS AND INTEGRATED SYSTEMS (DCIS21), 2021, : 113 - 118
  • [6] Efficient Compression Methods for Wire-Spread-Based Stochastic Computing Deep Neural Networks
    Li, Wenjie
    Xu, Ningyi
    Wang, Runsheng
    He, Guanghui
    IEEE TRANSACTIONS ON CIRCUITS AND SYSTEMS II-EXPRESS BRIEFS, 2022, 69 (11) : 4538 - 4542
  • [7] Hardware-aware neural architecture search for stochastic computing-based neural networks on tiny devices
    Song, Yuhong
    Sha, Edwin Hsing-Mean
    Zhuge, Qingfeng
    Xu, Rui
    Xu, Xiaowei
    Li, Bingzhe
    Yang, Lei
    JOURNAL OF SYSTEMS ARCHITECTURE, 2023, 135
  • [8] Improving efficiency of a Stochastic Computing-based Morphological Neural Network
    Skibinsky-Gitlin, Erik S.
    Font-Rossello, Joan
    Frasser, Christiam F.
    Moran, Alejandro
    Canals, Vicens
    Roca, Miquel
    Rossello, Josep L.
    PROCEEDINGS OF THE 37TH CONFERENCE ON DESIGN OF CIRCUITS AND INTEGRATED SYSTEMS (DCIS 2022), 2022, : 114 - 119
  • [9] Hardware Implementation of Stochastic Computing-based Morphological Neural Systems
    Rossello, Josep L.
    Font-Rossello, Joan
    Frasser, Christiam F.
    Moran, Alejandro
    Skibinsky-Gitlin, E. S.
    Canals, V
    Roca, Miquel
    2022 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS 22), 2022, : 356 - 360
  • [10] Efficient Deep Neural Networks for Edge Computing
    Alnemari, Mohammed
    Bagherzadeh, Nader
    2019 IEEE INTERNATIONAL CONFERENCE ON EDGE COMPUTING (IEEE EDGE), 2019, : 1 - 7