Provably Efficient Online Batch Scheduling for Deep Learning Inference

Graphics processing units (GPUs) are widely used to enhance deep learning inference throughput through batch processing, where multiple inference requests are processed simultaneously. When inference requests arrive randomly, waiting for more requests to form a batch can improve throughput but increases latency. Therefore, designing efficient batch scheduling strategies is crucial to strike a good balance. Current batch scheduling strategies are primarily heuristic and non-preemptive, meaning the next batch is scheduled only after the current one completes. In this paper, we first demonstrate that no non-preemptive online batch scheduling algorithm can achieve a constant competitive ratio that does not depend on system configuration parameters. We further propose a preemption restart based online batch scheduling algorithm, and theoretically prove that it achieves a constant competitive ratio. Finally, we demonstrate the effectiveness of our proposed algorithm through extensive simulations.

Authors

Institutions

Publication Details

Published
2024-12-13
DOI
https://doi.org/10.1109/hpcc64274.2024.00115
Primary Topic
Stochastic Gradient Optimization Techniques
Type
article
Field-Weighted Citation Impact
0.00

Funders

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

Provably Efficient Online Batch Scheduling for Deep Learning Inference

Yu Xie, Bin Tang, Siyuan Zhou, Baoliu Ye et al.
Stochastic Gradient Optimization Techniques
article

Provably Efficient Online Batch Scheduling for Deep Learning Inference

Yu Xie, Bin Tang, Siyuan Zhou, Baoliu Ye, Shi Chen
article en

Abstract

Graphics processing units (GPUs) are widely used to enhance deep learning inference throughput through batch processing, where multiple inference requests are processed simultaneously. When inference requests arrive randomly, waiting for more requests to form a batch can improve throughput but increases latency. Therefore, designing efficient batch scheduling strategies is crucial to strike a good balance. Current batch scheduling strategies are primarily heuristic and non-preemptive, meaning the next batch is scheduled only after the current one completes. In this paper, we first demonstrate that no non-preemptive online batch scheduling algorithm can achieve a constant competitive ratio that does not depend on system configuration parameters. We further propose a preemption restart based online batch scheduling algorithm, and theoretically prove that it achieves a constant competitive ratio. Finally, we demonstrate the effectiveness of our proposed algorithm through extensive simulations.

Hohai University (CN), Ministry of Water Resources of the People's Republic of China (CN), Nanjing University (CN)
National Natural Science Foundation of China
Openalex Percentile: Top 72%
Stochastic Gradient Optimization Techniques
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.