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 条
  • [41] A simple method for selection of inputs and structure of feedforward neural networks
    Saxén, H
    Pettersson, F
    ADAPTIVE AND NATURAL COMPUTING ALGORITHMS, 2005, : 9 - 12
  • [42] Multi-task neural networks by learned contextual inputs
    Sandnes, Anders T.
    Grimstad, Bjarne
    Kolbjornsen, Odd
    NEURAL NETWORKS, 2024, 179
  • [43] MULTIPLE JOB SCHEDULING WITH ARTIFICIAL NEURAL NETWORKS
    LO, ZP
    BAVARIAN, B
    COMPUTERS & ELECTRICAL ENGINEERING, 1993, 19 (02) : 87 - 101
  • [44] FMS Scheduling using Neural Networks: A Review
    Rathore, Kanika
    Chauhan, Nathi Ram
    2015 INTERNATIONAL CONFERENCE ON SOFT COMPUTING TECHNIQUES AND IMPLEMENTATIONS (ICSCTI), 2015,
  • [45] The implementation of neural networks for the optimization of the production scheduling
    Witkowski, T
    Antczak, P
    Strojny, G
    2004 IEEE INTERNATIONAL JOINT CONFERENCE ON NEURAL NETWORKS, VOLS 1-4, PROCEEDINGS, 2004, : 2233 - 2238
  • [46] A hybrid quantum-inspired neural networks with sequence inputs
    Li, Panchi
    Xiao, Hong
    Shang, Fuhua
    Tong, Xifeng
    Li, Xin
    Cao, Maojun
    NEUROCOMPUTING, 2013, 117 : 81 - 90
  • [47] Shunting inhibitory cellular neural networks with chaotic external inputs
    Akhmet, M. U.
    Fen, M. O.
    CHAOS, 2013, 23 (02)
  • [48] Graph Neural Networks for Scheduling of SMT Solvers
    Hula, Jan
    Mojzisek, David
    Janota, Mikolas
    2021 IEEE 33RD INTERNATIONAL CONFERENCE ON TOOLS WITH ARTIFICIAL INTELLIGENCE (ICTAI 2021), 2021, : 447 - 451
  • [49] Neural networks approach to select scheduling heuristics
    Gupta, JND
    Sexton, RS
    Tunc, EA
    DECISION SCIENCES INSTITUTE, 1997 ANNUAL MEETING, PROCEEDINGS, VOLS 1-3, 1997, : 349 - 351
  • [50] Multi-task neural networks for dealing with missing inputs
    Garcia-Laencina, Pedro J.
    Serrano, Jesus
    Figueiras-Vidal, Anibal R.
    Sancho-Gomez, Jose-Luis
    BIO-INSPIRED MODELING OF COGNITIVE TASKS, PT 1, PROCEEDINGS, 2007, 4527 : 282 - +