Dynamic offloading of Machine Learning (ML) model partitions across different resource orchestration services, such as Function-as-a-Service (FaaS) and Infrastructure-as-a-Service (IaaS), can balance processing and transmission delays while minimizing costs of adaptive inference applications. However, prior work often overlooks real-world factors, such as Virtual Machine (VM) cold starts, requests under long-tail service time distributions, etc. To tackle these limitations, we model each ML query (request) as traversing an acyclic sequence of stages, wherein each stage constitutes a contiguous block of sparse model parameters ending in an internal or final classifier where requests may exit. Since input-dependent exit rates vary, no single resource configuration suits all query distributions. IaaS-based VMs become underutilized when many requests exit early, yet rapidly scaling to handle request bursts reaching deep layers is impractical. SERFLOW addresses this challenge by leveraging FaaS-based serverless functions (containers) and using stage-specific resource provisioning that accounts for the fraction of requests exiting at each stage. By integrating this provisioning with adaptive load balancing across VMs and serverless functions based on request ingestion, SERFLOW reduces cloud costs by over $23\%$ while efficiently adapting to dynamic workloads.
Improving After-sales Service: Deep Reinforcement Learning for Dynamic Time Slot Assignment with Commitments and Customer Preferences
School of Automation, Central South University(自动化学院);School of Industrial Engineering, Eindhoven University of Technology(工业工程学院);Shenzhen Branch of China United Network Communications Co., Ltd.(中国联合网络通信股份有限公司深圳分公司)
Reconciling High Accuracy, Cost-Efficiency, and Low Latency of Inference Serving Systems
Iran University of Science and Technology(伊朗科技大学);Queen Mary University of London(伦敦玛丽女王大学);Technical University of Darmstadt(达姆施塔特工业大学);University of South Carolina(南卡罗来纳大学)