XnODR and XnIDR: Two Accurate and Fast Fully Connected Layers for Convolutional Neural Networks

被引:2
|
作者
Sun, Jian [1 ]
Fard, Ali Pourramezan [2 ]
Mahoor, Mohammad H. [2 ]
机构
[1] Univ Denver, Dept Comp Sci, 2155 E Wesley Ave, Denver, CO 80210 USA
[2] Univ Denver, Dept Comp Engn, 2155 E Wesley Ave, Denver, CO 80210 USA
关键词
CapsNet; XNOR-Net; Dynamic routing; Binarization; Xnorization; Machine learning; Neural network;
D O I
10.1007/s10846-023-01952-w
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Capsule Network is powerful at defining the positional relationship between features in deep neural networks for visual recognition tasks, but it is computationally expensive and not suitable for running on mobile devices. The bottleneck is in the computational complexity of the Dynamic Routing mechanism used between the capsules. On the other hand, XNOR-Net is fast and computationally efficient, though it suffers from low accuracy due to information loss in the binarization process. To address the computational burdens of the Dynamic Routing mechanism, this paper proposes new Fully Connected (FC) layers by xnorizing the linear projection outside or inside the Dynamic Routing within the CapsFC layer. Specifically, our proposed FC layers have two versions, XnODR (Xnorize the Linear Projection Outside Dynamic Routing) and XnIDR (Xnorize the Linear Projection Inside Dynamic Routing). To test the generalization of both XnODR and XnIDR, we insert them into two different networks, MobileNetV2 and ResNet-50. Our experiments on three datasets, MNIST, CIFAR-10, and MultiMNIST validate their effectiveness. The results demonstrate that both XnODR and XnIDR help networks to have high accuracy with lower FLOPs and fewer parameters (e.g., 96.14% correctness with 2.99M parameters and 311.74M FLOPs on CIFAR-10).
引用
收藏
页数:17
相关论文
共 50 条
  • [1] XnODR and XnIDR: Two Accurate and Fast Fully Connected Layers for Convolutional Neural Networks
    Jian Sun
    Ali Pourramezan Fard
    Mohammad H. Mahoor
    Journal of Intelligent & Robotic Systems, 2023, 109
  • [2] Transitioning Between Convolutional and Fully Connected Layers in Neural Networks
    Akbar, Shazia
    Peikari, Mohammad
    Salama, Sherine
    Nofech-Mozes, Sharon
    Martel, Anne
    DEEP LEARNING IN MEDICAL IMAGE ANALYSIS AND MULTIMODAL LEARNING FOR CLINICAL DECISION SUPPORT, 2017, 10553 : 143 - 150
  • [3] Impact of fully connected layers on performance of convolutional neural networks for image classification
    Basha, S. H. Shabbeer
    Dubey, Shiv Ram
    Pulabaigari, Viswanath
    Mukherjee, Snehasis
    NEUROCOMPUTING, 2020, 378 (378) : 112 - 119
  • [4] VQCNN: variational quantum convolutional neural networks based on quantum filters and fully connected layers
    Qi, Han
    Wang, Jingtong
    Cui, Yufan
    COMPUTER JOURNAL, 2024, 67 (10): : 2970 - 2983
  • [5] EQUIVALENCE OF APPROXIMATION BY CONVOLUTIONAL NEURAL NETWORKS AND FULLY-CONNECTED NETWORKS
    Petersen, Philipp
    Voigtlaender, Felix
    PROCEEDINGS OF THE AMERICAN MATHEMATICAL SOCIETY, 2020, 148 (04) : 1567 - 1581
  • [6] Factorized Dynamic Fully-Connected Layers for Neural Networks
    Babiloni, Francesca
    Tanay, Thomas
    Deng, Jiankang
    Maggioni, Matteo
    Zafeiriou, Stefanos
    2023 IEEE/CVF INTERNATIONAL CONFERENCE ON COMPUTER VISION WORKSHOPS, ICCVW, 2023, : 1366 - 1375
  • [7] Exploiting Fully Convolutional Neural Networks for Fast Road Detection
    Teodoro Mendes, Caio Cesar
    Fremont, Vincent
    Wolf, Denis Fernando
    2016 IEEE INTERNATIONAL CONFERENCE ON ROBOTICS AND AUTOMATION (ICRA), 2016, : 3174 - 3179
  • [8] A novel structured sparse fully connected layer in convolutional neural networks
    Matsumura, Naoki
    Ito, Yasuaki
    Nakano, Koji
    Kasagi, Akihiko
    Tabaru, Tsuguchika
    CONCURRENCY AND COMPUTATION-PRACTICE & EXPERIENCE, 2023, 35 (11):
  • [9] AirFC: Designing Fully Connected Layers for Neural Networks with Wireless Signals
    Reus-Muns, Guillem
    Alemdar, Kubra
    Sanchez, Sara Garcia
    Roy, Debashri
    Chowdhury, Kaushik R.
    PROCEEDINGS OF THE 2023 INTERNATIONAL SYMPOSIUM ON THEORY, ALGORITHMIC FOUNDATIONS, AND PROTOCOL DESIGN FOR MOBILE NETWORKS AND MOBILE COMPUTING, MOBIHOC 2023, 2023, : 71 - 80
  • [10] Structural Damage Identification of Composite Rotors Based on Fully Connected Neural Networks and Convolutional Neural Networks
    Scholz, Veronika
    Winkler, Peter
    Hornig, Andreas
    Gude, Maik
    Filippatos, Angelos
    SENSORS, 2021, 21 (06) : 1 - 15