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 条
  • [21] Sparse Ternary Connect: Convolutional Neural Networks Using Ternarized Weights with Enhanced Sparsity
    Jin, Canran
    Sun, Heming
    Kimura, Shinji
    2018 23RD ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC), 2018, : 190 - 195
  • [22] Aggregation of Convolutional Neural Network Estimations of Homographies by Color Transformations of the Inputs
    Molina-Cabello, Miguel A.
    Elizondo, David A.
    Marcos Luque-Baena, Rafael
    Lopez-Rubio, Ezequiel
    IEEE ACCESS, 2020, 8 (08): : 79552 - 79560
  • [23] Reshaping inputs for convolutional neural network: Some common and uncommon methods
    Ghosh, Swarnendu
    Das, Nibaran
    Nasipuri, Mita
    PATTERN RECOGNITION, 2019, 93 : 79 - 94
  • [24] Annealing-inspired training of an optical neural network with ternary weights
    Anas Skalli
    Mirko Goldmann
    Nasibeh Haghighi
    Stephan Reitzenstein
    James A. Lott
    Daniel Brunner
    Communications Physics, 8 (1)
  • [25] Image classification using convolutional neural network with wavelet domain inputs
    Wang, Luyuan
    Sun, Yankui
    IET IMAGE PROCESSING, 2022, 16 (08) : 2037 - 2048
  • [26] Optimize Deep Convolutional Neural Network with Ternarized Weights and High Accuracy
    He, Zhezhi
    Gong, Boqing
    Fan, Deliang
    2019 IEEE WINTER CONFERENCE ON APPLICATIONS OF COMPUTER VISION (WACV), 2019, : 913 - 921
  • [27] Overfitting measurement of convolutional neural networks using trained network weights
    Satoru Watanabe
    Hayato Yamana
    International Journal of Data Science and Analytics, 2022, 14 : 261 - 278
  • [28] Overfitting measurement of convolutional neural networks using trained network weights
    Watanabe, Satoru
    Yamana, Hayato
    INTERNATIONAL JOURNAL OF DATA SCIENCE AND ANALYTICS, 2022, 14 (03) : 261 - 278
  • [29] Efficient FPGA Implementation of Local Binary Convolutional Neural Network
    Zhakatayev, Aidyn
    Lee, Jongeun
    24TH ASIA AND SOUTH PACIFIC DESIGN AUTOMATION CONFERENCE (ASP-DAC 2019), 2019, : 699 - 704
  • [30] NID: Processing Binary Convolutional Neural Network in Commodity DRAM
    Sim, Jaehyeong
    Seol, Hoseok
    Kim, Lee-Sup
    2018 IEEE/ACM INTERNATIONAL CONFERENCE ON COMPUTER-AIDED DESIGN (ICCAD) DIGEST OF TECHNICAL PAPERS, 2018,