Scheduling Inputs in Early Exit Neural Networks

被引:1
|
作者
Casale, Giuliano [1 ]
Roveri, Manuel [2 ]
机构
[1] Imperial Coll London, Dept Comp, London SW7 2AZ, England
[2] Politecn Milan, Dipartimento Elettron Informaz & Bioingengeria, I-27100 Milan, Italy
关键词
Neural network; early exit; configuration; threshold; scheduling; dependability; POLICIES; M/G/1/K; SERVICE; QUEUE;
D O I
10.1109/TC.2023.3333189
中图分类号
TP3 [计算技术、计算机技术];
学科分类号
0812 ;
摘要
Early exit neural networks (EENs) reduce the processing times of deep convolutional neural networks by means of internal classifiers (ICs) that allow jobs, being the input of the EEN, to exit early from the processing pipeline. However, the current designs used in pervasive systems ignore variability in data arrival rates, exposing EEN-based services to potential loss of the incoming jobs, due to finite input buffer capacity. Motivated by this issue, we introduce and study the early exit scheduling problem, which aims at dynamically configuring IC thresholds at runtime to achieve effective trade-offs between job classification accuracy, processing time, and job loss ratio. We argue that deciding the EEN exit layer for a job at the start of its processing makes the problem mathematically tractable, allowing us to develop policies to control buffer backlog, classification accuracy, and processing time across the EEN layers. The main contribution of the paper is the introduction of single-exit IC threshold configurations as a mechanism to allow the scheduling policy to reliably predict the best EEN exit layer of each input job. Three scheduling policies that leverage this idea are proposed to dynamically schedule job arrivals to an EEN-based service. The proposed solution, here tailored to EENs based on convolutional neural networks (CNNs), is fairly general and can be applied to different use cases. The two application scenarios considered in this paper focus on image classification and intrusion detection. Experiments on some popular CNNs for the two aforementioned application scenarios indicate that the proposed policies can achieve significant savings in processing times and improve job loss ratio compared to both ordinary EENs and CNNs while still providing high mean classification accuracy.
引用
收藏
页码:451 / 465
页数:15
相关论文
共 50 条
  • [31] On learning feedforward neural networks with noise injection into inputs
    Seghouane, AK
    Moudden, Y
    Fleury, G
    NEURAL NETWORKS FOR SIGNAL PROCESSING XII, PROCEEDINGS, 2002, : 149 - 158
  • [32] Method for the selection of inputs and structure of feedforward neural networks
    Saxen, H.
    Pettersson, F.
    COMPUTERS & CHEMICAL ENGINEERING, 2006, 30 (6-7) : 1038 - 1045
  • [33] Recurrent Neural Networks Are Universal Approximators With Stochastic Inputs
    Chen, Xiuqiong
    Tao, Yangtianze
    Xu, Wenjie
    Yau, Stephen Shing-Toung
    IEEE TRANSACTIONS ON NEURAL NETWORKS AND LEARNING SYSTEMS, 2023, 34 (10) : 7992 - 8006
  • [34] On Detection of Out of Distribution Inputs in Deep Neural Networks
    Jha, Susmit
    Roy, Anirban
    2021 IEEE THIRD INTERNATIONAL CONFERENCE ON COGNITIVE MACHINE INTELLIGENCE (COGMI 2021), 2021, : 282 - 288
  • [35] An overview of neural networks for drug discovery and the inputs used
    Xu, Yinqiu
    Yao, Hequan
    Lin, Kejiang
    EXPERT OPINION ON DRUG DISCOVERY, 2018, 13 (12) : 1091 - 1102
  • [36] Inputs and outputs of neural networks in identification of wear debris
    Nippon Kikai Gakkai Ronbunshu C Hen, 612 (2839-2844):
  • [37] Evaluation of Early-exit Strategies in Low-cost FPGA-based Binarized Neural Networks
    Kong, Minxuan
    Nikov, Kris
    Nunez-Yanez, Jose Luis
    2022 25TH EUROMICRO CONFERENCE ON DIGITAL SYSTEM DESIGN (DSD), 2022, : 197 - 204
  • [38] Synthesizing the preferred inputs for neurons in neural networks via deep generator networks
    Anh Nguyen
    Dosovitskiy, Alexey
    Yosinski, Jason
    Brox, Thomas
    Clune, Jeff
    ADVANCES IN NEURAL INFORMATION PROCESSING SYSTEMS 29 (NIPS 2016), 2016, 29
  • [39] Broadcast scheduling in packet radio networks by Hopfield neural networks
    Natl Taiwan Inst of Technology, Taipei, Taiwan
    Inf Process Lett, 5 (271-276):
  • [40] Broadcast scheduling in packet radio networks by Hopfield neural networks
    Wei, LC
    Chang, RS
    INFORMATION PROCESSING LETTERS, 1997, 63 (05) : 271 - 276