Scheduling LLM Inference with Uncertainty-Aware Output Length Predictions
School of Computer Science, Wuhan University, Wuhan, China(武汉大学计算机学院);School of Computer Science, Central China Normal University, Wuhan, China(中央财经大学计算机学院);Dameng Database Co., Ltd., Wuhan, China(达梦数据库有限公司);School of Artificial Intelligence, Shanghai Jiao Tong University, Shanghai, China(上海交通大学人工智能学院);Institute for Math and AI, Wuhan University, Wuhan, China(武汉大学数学与人工智能研究院)
To schedule LLM inference, the \textit{shortest job first} (SJF) principle is favorable by prioritizing requests with short output lengths to avoid head-of-line (HOL) blocking. Existing methods usually predict a single output length for each request to facilitate scheduling. We argue that such a \textit{point estimate} does not match the \textit{stochastic} decoding process of LLM inference, where output length is \textit{uncertain} by nature and determined by when the end-of-sequence (EOS) token is sampled. Hence, the output length of each request should be fitted with a distribution rather than a single value. With an in-depth analysis of empirical data and the stochastic decoding process, we observe that output length follows a heavy-tailed distribution and can be fitted with the log-t distribution. On this basis, we propose a simple metric called Tail Inflated Expectation (TIE) to replace the output length in SJF scheduling, which adjusts the expectation of a log-t distribution with its tail probabilities to account for the risk that a request generates long outputs. To evaluate our TIE scheduler, we compare it with three strong baselines, and the results show that TIE reduces the per-token latency by $2.31\times$ for online inference and improves throughput by $1.42\times$ for offline data generation.
Improving Pattern Recognition of Scheduling Anomalies through Structure-Aware and Semantically-Enhanced Graphs
Carnegie Mellon University(卡内基梅隆大学);Illinois Institute of Technology(伊利诺伊理工学院);University of Illinois at Urbana-Champaign(伊利诺伊大学厄巴纳-香槟分校);Duke University(杜克大学);Northeastern University(东北大学)
Green Federated Learning via Carbon-Aware Client and Time Slot Scheduling
Inria Centre at Université Côte d’Azur(法国国家信息与自动化技术研究院(Inria)亚维农分校);Accenture(埃森哲);Department of Electrical Engineering (ISY), Linköping University(利厄普大学电气工程系)
Age Aware Scheduling for Differentially-Private Federated Learning
Institute of Communications Engineering, National Yang Ming Chiao Tung University(国立阳明交通大学通信工程研究所);Simula UiB(西挪威应用科技大学西蒙研究所);Department of Communication Engineering, National Taipei University(国立台北大学通信工程学系)
Beyond Prediction: Tail-Aware Scheduling for LLM Inference
Cornell University, Computer Science Department(康奈尔大学计算机科学系);Cornell University, Electrical and Computer Engineering Department(康奈尔大学电气与计算机工程系);Cornell University, Operations Research and Information Engineering Department(康奈尔大学运筹学与信息工程系);Microsoft Azure System Research(微软Azure系统研究);NVIDIA Corporation(英伟达公司)