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
来源
COMPUTER VISION - ECCV 2018, PT II | 2018年 / 11206卷
基金
中国国家自然科学基金;
关键词
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 条
  • [41] Photonic Binary Convolutional Neural Network Based on Microring Resonator Array
    Wang, Ruiting
    Wang, Pengfei
    Lyu, Chen
    Luo, Guangzhen
    Ma, Jianbin
    Zhou, Xuliang
    Zhang, Yejin
    Pan, Jiaoqing
    IEEE PHOTONICS TECHNOLOGY LETTERS, 2023, 35 (12) : 664 - 667
  • [42] Binary Single-dimensional Convolutional Neural Network for Seizure Prediction
    Zhao, Shiqi
    Yang, Jie
    Xu, Yankun
    Sawan, Mohamad
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [43] Adder-Only Convolutional Neural Network with Binary Input Image
    Palaria, Mayank
    Sanjeet, Sai
    Sahoo, Bibhu Datta
    Fujita, Masahiro
    2019 IEEE 62ND INTERNATIONAL MIDWEST SYMPOSIUM ON CIRCUITS AND SYSTEMS (MWSCAS), 2019, : 319 - 322
  • [44] HBUCNNA: Hybrid Binary-Unary Convolutional Neural Network Accelerator
    Faraji, S. Rasoul
    Abillama, Pierre
    Singh, Gaurav
    Bazargan, Kia
    2020 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS (ISCAS), 2020,
  • [45] Binary and Multiclass Text Classification by Means of Separable Convolutional Neural Network
    Solovyeva, Elena
    Abdullah, Ali
    INVENTIONS, 2021, 6 (04)
  • [46] Memristor Based Binary Convolutional Neural Network Architecture With Configurable Neurons
    Huang, Lixing
    Diao, Jietao
    Nie, Hongshan
    Wang, Wei
    Li, Zhiwei
    Li, Qingjiang
    Liu, Haijun
    FRONTIERS IN NEUROSCIENCE, 2021, 15
  • [47] ON THE CAPACITY OF NEURAL NETWORKS WITH BINARY WEIGHTS
    KOCHER, I
    MONASSON, R
    JOURNAL OF PHYSICS A-MATHEMATICAL AND GENERAL, 1992, 25 (02): : 367 - 380
  • [48] A Convolutional Spiking Neural Network Accelerator with the Sparsity-aware Memory and Compressed Weights
    Liu, Hanqing
    Cui, Xiaole
    Zhang, Sunrui
    Yin, Mingqi
    Jiang, Yuanyuan
    Cui, Xiaoxin
    2024 IEEE 35TH INTERNATIONAL CONFERENCE ON APPLICATION-SPECIFIC SYSTEMS, ARCHITECTURES AND PROCESSORS, ASAP 2024, 2024, : 163 - 171
  • [49] Recovering the Weights of Convolutional Neural Network via Chosen Pixel Horizontal Power Analysis
    He, Sihan
    Wu, Weibin
    Li, Yanbin
    Zhou, Lu
    Fang, Liming
    Liu, Zhe
    WIRELESS ALGORITHMS, SYSTEMS, AND APPLICATIONS (WASA 2022), PT II, 2022, 13472 : 93 - 104
  • [50] Energy-Efficient Architecture for FPGA-based Deep Convolutional Neural Networks with Binary Weights
    Duan, Yunzhi
    Li, Shuai
    Zhang, Ruipeng
    Wang, Qi
    Chen, Jienan
    Sobelman, Gerald E.
    2018 IEEE 23RD INTERNATIONAL CONFERENCE ON DIGITAL SIGNAL PROCESSING (DSP), 2018,