Elastically Scheduling Multiple DNN Inference Jobs on an Edge for High Efficiency and Accuracy

An increasing number of applications running on an edge device use Deep Neural Networks (DNNs) to process sensor data and return inference results to make certain decisions. Thus, one research problem is: for a group of DNN inference jobs to run on an edge device, how to determine the job configuration (i.e., the DNN structure, the number of cores, the amount of resource in each core) for each job, so that each job's deadline and accuracy requirements are satisfied and the overall average job latency and accuracy performances are maximized? However, there has been no previous research for this problem. Prior approaches only focus on selecting or generating a model structure for a single DNN inference job on an edge device, or on deciding the structure and computation resource allocation of each job in running jobs (instead of fine-grained decisions on the number of cores and the amount of resources in each core). It is a challenge to coordinate the high-level fine-grained resource scheduling and low-level structure selection among the jobs to achieve the goal. To handle this challenge, in this paper, we first conduct analysis experiments on CPU, GPU, and TPU devices, which show the importance of coordinately selecting structures for different jobs to avoid resource contention, enabling jobs to share resources to increase resource utilization, and selecting the best job configuration to minimize inference time. Based on these, we propose a system that Elastically Schedules Multiple DNN Inference jobs on an edge device for high efficiency and accuracy (ESIM). ESIM uses both heuristic and RL algorithms to find the problem solution. Both container-based emulation and real experiments on CPU, GPU and TPU devices show that ESIM achieves improvement of up to 35% in average inference time, up to 14% in average accuracy, up to 33% in timeliness guarantee ratio, and up to 27% in accuracy guarantee ratio compared to the state-of-the-art approaches.

Authors

Institutions

Publication Details

Published
2024-09-23
DOI
https://doi.org/10.1109/mass62177.2024.00034
Primary Topic
Scheduling and Optimization Algorithms
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

Elastically Scheduling Multiple DNN Inference Jobs on an Edge for High Efficiency and Accuracy

Haiying Shen, Tanmoy Sen
Scheduling and Optimization Algorithms
article

Elastically Scheduling Multiple DNN Inference Jobs on an Edge for High Efficiency and Accuracy

Haiying Shen, Tanmoy Sen
article en

Abstract

An increasing number of applications running on an edge device use Deep Neural Networks (DNNs) to process sensor data and return inference results to make certain decisions. Thus, one research problem is: for a group of DNN inference jobs to run on an edge device, how to determine the job configuration (i.e., the DNN structure, the number of cores, the amount of resource in each core) for each job, so that each job's deadline and accuracy requirements are satisfied and the overall average job latency and accuracy performances are maximized? However, there has been no previous research for this problem. Prior approaches only focus on selecting or generating a model structure for a single DNN inference job on an edge device, or on deciding the structure and computation resource allocation of each job in running jobs (instead of fine-grained decisions on the number of cores and the amount of resources in each core). It is a challenge to coordinate the high-level fine-grained resource scheduling and low-level structure selection among the jobs to achieve the goal. To handle this challenge, in this paper, we first conduct analysis experiments on CPU, GPU, and TPU devices, which show the importance of coordinately selecting structures for different jobs to avoid resource contention, enabling jobs to share resources to increase resource utilization, and selecting the best job configuration to minimize inference time. Based on these, we propose a system that Elastically Schedules Multiple DNN Inference jobs on an edge device for high efficiency and accuracy (ESIM). ESIM uses both heuristic and RL algorithms to find the problem solution. Both container-based emulation and real experiments on CPU, GPU and TPU devices show that ESIM achieves improvement of up to 35% in average inference time, up to 14% in average accuracy, up to 33% in timeliness guarantee ratio, and up to 27% in accuracy guarantee ratio compared to the state-of-the-art approaches.

University of Virginia (US)
Federal Highway Administration
Openalex Percentile: Top 73%
Scheduling and Optimization Algorithms
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Elastically Scheduling Multiple DNN Inference Jobs on an Edge for High Efficiency and Accuracy — Haiying Shen, Tanmoy Sen · (2024) | TGRS Research Map | TGRS