TBN: Convolutional Neural Network with Ternary Inputs and Binary Weights

被引:42
|
作者
Wan, Diwen [1 ,2 ,3 ]
Shen, Fumin [1 ,2 ]
Liu, Li [3 ]
Zhu, Fan [3 ]
Qin, Jie [4 ]
Shao, Ling [3 ]
Shen, Heng Tao [1 ,2 ]
机构
[1] Univ Elect Sci & Technol China, Ctr Future Media, Chengdu, Peoples R China
[2] Univ Elect Sci & Technol China, Sch Comp Sci & Engn, Chengdu, Peoples R China
[3] Incept Inst Artificial Intelligence, Abu Dhabi, U Arab Emirates
[4] Swiss Fed Inst Technol, Comp Vis Lab, Zurich, Switzerland
来源
基金
中国国家自然科学基金;
关键词
CNN; TBN; Acceleration; Compression; Binary operation;
D O I
10.1007/978-3-030-01216-8_20
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Despite the remarkable success of Convolutional Neural Networks (CNNs) on generalized visual tasks, high computational and memory costs restrict their comprehensive applications on consumer electronics (e.g., portable or smart wearable devices). Recent advancements in binarized networks have demonstrated progress on reducing computational and memory costs, however, they suffer from significant performance degradation comparing to their full-precision counterparts. Thus, a highly-economical yet effective CNN that is authentically applicable to consumer electronics is at urgent need. In this work, we propose a Ternary-Binary Network (TBN), which provides an efficient approximation to standard CNNs. Based on an accelerated ternary-binary matrix multiplication, TBN replaces the arithmetical operations in standard CNNs with efficient XOR, AND and bitcount operations, and thus provides an optimal tradeoff between memory, efficiency and performance. TBN demonstrates its consistent effectiveness when applied to various CNN architectures (e.g., AlexNet and ResNet) on multiple datasets of different scales, and provides similar to 32x memory savings and 40x faster convolutional operations. Meanwhile, TBN can outperform XNOR-Network by up to 5.5% (top-1 accuracy) on the ImageNet classification task, and up to 4.4% (mAP score) on the PASCAL VOC object detection task.
引用
收藏
页码:322 / 339
页数:18
相关论文
共 50 条
  • [1] A Convolutional Accelerator for Neural Networks With Binary Weights
    Ardakani, Arash
    Condo, Carlo
    Gross, Warren J.
    2018 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2018,
  • [2] A Ternary Weight Binary Input Convolutional Neural Network: Realization on the Embedded Processor
    Yonekawa, Haruyoshi
    Sato, Shimpei
    Nakahara, Hiroki
    2018 IEEE 48TH INTERNATIONAL SYMPOSIUM ON MULTIPLE-VALUED LOGIC (ISMVL 2018), 2018, : 174 - 179
  • [3] Analytical Calculation of Weights Convolutional Neural Network
    Geidarov, P. Sh.
    OPTICAL MEMORY AND NEURAL NETWORKS, 2024, 33 (02) : 157 - 177
  • [4] Binary convolutional neural network: Review
    Ding W.
    Liu C.
    Li Y.
    Zhang B.
    Hangkong Xuebao/Acta Aeronautica et Astronautica Sinica, 2021, 42 (06):
  • [5] Binary Convolutional Neural Network on RRAM
    Tang, Tianqi
    Xia, Lixue
    Li, Boxun
    Wang, Yu
    Yang, Huazhong
    2017 22ND ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2017, : 782 - 787
  • [6] Convolutional Neural Network Weights Regularization via Orthogonalization
    Gayer, Alexander, V
    Sheshkus, Alexander, V
    TWELFTH INTERNATIONAL CONFERENCE ON MACHINE VISION (ICMV 2019), 2020, 11433
  • [7] Towards Accurate Binary Convolutional Neural Network
    Lin, Xiaofan
    Zhao, Cong
    Pan, Wei
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 30 (NIPS 2017), 2017, 30
  • [8] Application of neural network to hybrid systems with binary inputs
    Holderbaum, William
    IEEE TRANSACTIONS ON NEURAL NETWORKS, 2007, 18 (04): : 1254 - 1261
  • [9] Modulated Binary Clique Convolutional Neural Network
    Xia, Jinpeng
    Wu, Jiasong
    Wu, Fuzhi
    Kong, Youyong
    Zhang, Pinzheng
    Senhadji, Lotfi
    Shu, Huazhong
    2019 SEVENTH INTERNATIONAL CONFERENCE ON ADVANCED CLOUD AND BIG DATA (CBD), 2019, : 252 - 257
  • [10] Neural network application to linear systems with binary inputs
    Holderbaum, W
    42ND IEEE CONFERENCE ON DECISION AND CONTROL, VOLS 1-6, PROCEEDINGS, 2003, : 5103 - 5108