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 条
  • [31] Compression of Fully-Connected Layer in Neural Network by Kronecker Product
    Wu, Jia-Nan
    2016 EIGHTH INTERNATIONAL CONFERENCE ON ADVANCED COMPUTATIONAL INTELLIGENCE (ICACI), 2016, : 173 - 179
  • [32] 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
  • [33] Bifurcations in time-delay fully-connected networks with symmetry
    Ferruzzo Correa, Diego Paolo
    Castilho Piqueira, Jose Roberto
    CSNDD 2014 - INTERNATIONAL CONFERENCE ON STRUCTURAL NONLINEAR DYNAMICS AND DIAGNOSIS, 2014, 16
  • [34] Active Fully-Connected RIS Based on Index Modulation for High Rate and Energy-Efficient Systems
    Jin, Junlan
    Jin, Xiaoping
    Wen, Miaowen
    Song, Meiyan
    Huang, Chongwen
    Yao, Yudong
    IEEE TRANSACTIONS ON COMMUNICATIONS, 2024, 72 (12) : 7639 - 7649
  • [35] A Solution for Input Limit in CNN Due to Fully-Connected Layer
    Qu, Yili
    Ke, Yaobin
    Yu, Wei
    PROCEEDINGS OF 2018 IEEE 9TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING AND SERVICE SCIENCE (ICSESS), 2018, : 611 - 616
  • [36] A Scalable Annealing Processing Architecture for Fully-Connected Ising Models
    Jiang, Dong
    Wang, Xiangrui
    Huang, Zhanhong
    Huang, Yukang
    Yao, Enyi
    2023 IEEE INTERNATIONAL SYMPOSIUM ON CIRCUITS AND SYSTEMS, ISCAS, 2023,
  • [37] Fully-connected LSTM-CRF on medical concept extraction
    Ji, Jie
    Chen, Bairui
    Jiang, Hongcheng
    INTERNATIONAL JOURNAL OF MACHINE LEARNING AND CYBERNETICS, 2020, 11 (09) : 1971 - 1979
  • [38] Fully-Connected CRFs with Non-Parametric Pairwise Potentials
    Campbell, Neill D. F.
    Subr, Kartic
    Kautz, Jan
    2013 IEEE CONFERENCE ON COMPUTER VISION AND PATTERN RECOGNITION (CVPR), 2013, : 1658 - 1665
  • [39] Distributed Trace Ratio Optimization in Fully-Connected Sensor Networks
    Musluoglu, Cem Ates
    Bertrand, Alexander
    28TH EUROPEAN SIGNAL PROCESSING CONFERENCE (EUSIPCO 2020), 2021, : 1991 - 1995
  • [40] Generalization in fully-connected neural networks for time series forecasting
    Borovykh, Anastasia
    Oosterlee, Cornelis W.
    Bohte, Sander M.
    JOURNAL OF COMPUTATIONAL SCIENCE, 2019, 36