On energy complexity of fully-connected layers

被引:0
|
作者
Sima, Jiri [1 ]
Cabessa, Jeremie [2 ]
Vidnerova, Petra [1 ]
机构
[1] Czech Acad Sci, Inst Comp Sci, Vodarenskou vezi 271-2, Prague 8, Czech Republic
[2] Univ Paris Saclay, Univ Versailles St Quentin UVSQ, DAVID Lab, 45 Ave Etats Unis, F-78035 Versailles, France
关键词
Deep neural networks; Convolutional neural networks; Fully-connected layer; Energy complexity; Energy consumption; Dataflow; NEURAL-NETWORKS;
D O I
10.1016/j.neunet.2024.106419
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
The massive increase in the size of deep neural networks (DNNs) is accompanied by a significant increase in energy consumption of their hardware implementations which is critical for their widespread deployment in low -power mobile devices. In our previous work, an abstract hardware -independent model of energy complexity for convolutional neural networks (CNNs) has been proposed and experimentally validated. Based on this model, we provide a theoretical analysis of energy complexity related to the computation of a fullyconnected layer when its inputs, outputs, and weights are transferred between two kinds of memories (DRAM and Buffer). First, we establish a general lower bound on this energy complexity. Then, we present two dataflows and calculate their energy costs to achieve the corresponding upper bounds. In the case of a partitioned Buffer, we prove by the weak duality theorem from linear programming that the lower and upper bounds coincide up to an additive constant, and therefore establish the optimal energy complexity. Finally, the asymptotically optimal quadratic energy complexity of fully -connected layers is experimentally validated by estimating their energy consumption on the Simba and Eyeriss hardware.
引用
收藏
页数:11
相关论文
共 50 条
  • [41] Transforming the fully-connected structures of hybrid precoders into dynamic partially-connected structures
    Ortega, Alvaro Javier
    2021 28TH INTERNATIONAL CONFERENCE ON TELECOMMUNICATIONS (ICT), 2021, : 13 - 18
  • [42] Time optimal quantum state transfer in a fully-connected quantum computer
    Jameson, Casey
    Basyildiz, Bora
    Moore, Daniel
    Clark, Kyle
    Gong, Zhexuan
    QUANTUM SCIENCE AND TECHNOLOGY, 2024, 9 (01)
  • [43] Dynamic Fully-Connected Layer for Large-Scale Speaker Verification
    Song, Zhida
    He, Liang
    Zhao, Baowei
    Xu, Minqiang
    Zheng, Yu
    INTERSPEECH 2023, 2023, : 2003 - 2007
  • [44] Closed Forms for the Fully-Connected Continuous Flock of Starlings Optimization Algorithm
    Laudani, Antonino
    Fulginei, Francesco Riganti
    Salvini, Alessandro
    UKSIM-AMSS 15TH INTERNATIONAL CONFERENCE ON COMPUTER MODELLING AND SIMULATION (UKSIM 2013), 2013, : 45 - 50
  • [45] FULLY-CONNECTED TENSOR NETWORK DECOMPOSITION FOR ROBUST TENSOR COMPLETION PROBLEM
    Liu, Yun-Yang
    Zhao, Xi-Le
    Song, Guang-Jing
    Zheng, Yu-Bang
    Ng, Michael K.
    Huang, Ting-Zhu
    INVERSE PROBLEMS AND IMAGING, 2023, : 208 - 238
  • [46] SVD-based algorithms for fully-connected tensor network decomposition
    Wang, Mengyu
    Li, Hanyu
    COMPUTATIONAL & APPLIED MATHEMATICS, 2024, 43 (05):
  • [47] Efficient Scene Parsing by Sampling Unary Potentials in a Fully-Connected CRF
    Horne, Lachlan
    Alvarez, Jose M.
    Salzmann, Mathieu
    Barnes, Nick
    2015 IEEE INTELLIGENT VEHICLES SYMPOSIUM (IV), 2015, : 820 - 825
  • [48] Throughput analysis for fully-connected ad hoe network with multiuser detection
    Qian, XC
    Zheng, BY
    Yu, GJ
    PARALLEL AND DISTRIBUTED PROCESSING AND APPLICATIONS, 2005, 3758 : 1101 - 1112
  • [49] AoA Estimation Scheme for Fully-Connected Hybrid Architecture Antenna Arrays
    Trigka, Maria
    Mavrokefalidis, Christos
    Berberidis, Kostas
    2019 13TH EUROPEAN CONFERENCE ON ANTENNAS AND PROPAGATION (EUCAP), 2019,
  • [50] Lightweight Fully-Connected Tensorial Mapping Network for Hyperspectral Image Classification
    Lin, Zhi-Xin
    Zheng, Yu-Bang
    Ma, Tian-Yu
    Wang, Rui
    Li, Heng-Chao
    Tien Tzu Hsueh Pao/Acta Electronica Sinica, 2024, 52 (10): : 3541 - 3551