Hierarchical Training of Deep Neural Networks Using Early Exiting

被引:2
作者
Sepehri, Yamin [1 ,2 ]
Pad, Pedram [1 ]
Yuzuguler, Ahmet Caner [2 ]
Frossard, Pascal [2 ]
Dunbar, L. Andrea [1 ]
机构
[1] Ctr Suisse Elect & Microtech CSEM, CH-2002 Neuchatel, Switzerland
[2] Ecole Polytech Fed Lausanne EPFL, Signal Proc Lab LTS4, CH-1015 Lausanne, Switzerland
关键词
Training; Costs; Runtime; Cloud computing; Task analysis; Artificial neural networks; Privacy; Deep learning; early exiting; edge-cloud systems; hierarchical training; neural network;
D O I
10.1109/TNNLS.2024.3396628
中图分类号
TP18 [人工智能理论];
学科分类号
081104 ; 0812 ; 0835 ; 1405 ;
摘要
Deep neural networks (DNNs) provide state-of-the-art accuracy for vision tasks, but they require significant resources for training. Thus, they are trained on cloud servers far from the edge devices that acquire the data. This issue increases communication cost, runtime, and privacy concerns. In this study, a novel hierarchical training method for DNNs is proposed that uses early exits in a divided architecture between edge and cloud workers to reduce the communication cost, training runtime, and privacy concerns. The method proposes a brand-new use case for early exits to separate the backward pass of neural networks between the edge and the cloud during the training phase. We address the issues of most available methods that, due to the sequential nature of the training phase, cannot train the levels of hierarchy simultaneously or they do it with the cost of compromising privacy. In contrast, our method can use both edge and cloud workers simultaneously, does not share the raw input data with the cloud, and does not require communication during the backward pass. Several simulations and on-device experiments for different neural network architectures demonstrate the effectiveness of this method. It is shown that the proposed method reduces the training runtime for VGG-16 and ResNet-18 architectures by 29% and 61% in CIFAR-10 classification and by 25% and 81% in Tiny ImageNet classification, respectively, when the communication with the cloud is done over a low bit rate channel. This gain in the runtime is achieved, while the accuracy drop is negligible. This method is advantageous for online learning of high-accuracy DNNs on sensor-holding low-resource devices such as mobile phones or robots as a part of an edge-cloud system, making them more flexible in facing new tasks and classes of data.
引用
收藏
页码:6271 / 6285
页数:15
相关论文
共 31 条
[11]  
Girshick R, 2014, PROC CVPR IEEE, P580, DOI DOI 10.1109/CVPR.2014.81
[12]  
He K., 2016, PROC CVPR IEEE, DOI [DOI 10.1109/CVPR.2016.90, 10.1109/CVPR.2016.90]
[13]  
Hobbhahn M, 2021, What's the Backward-Forward FLOP Ratio for Neural Networks?
[14]  
Köster U, 2017, ADV NEUR IN, V30
[15]  
Krizhevsky A., 2009, Tech. Rep., P32
[16]  
Le Y., 2015, Lecture Note CS 231N
[17]  
Li HS, 2018, INT C PAR DISTRIB SY, P671, DOI [10.1109/PADSW.2018.8645013, 10.1109/ICPADS.2018.00092]
[18]   HierTrain: Fast Hierarchical Edge AI Learning With Hybrid Parallelism in Mobile-Edge-Cloud Computing [J].
Liu, Deyin ;
Chen, Xu ;
Zhou, Zhi ;
Ling, Qing .
IEEE OPEN JOURNAL OF THE COMMUNICATIONS SOCIETY, 2020, 1 :634-645
[19]  
Loshchilov I., 2017, INT C LEARN REPR ICL
[20]  
Mireshghallah F., 2020, ARXIV