arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2510.27182cs.LGcs.DC
收藏

SERFLOW:面向SLO感知的动态ML推理的跨服务成本优化框架

SERFLOW: A Cross-Service Cost Optimization Framework for SLO-Aware Dynamic ML Inference

Zongshun Zhang, Ibrahim Matta

AI总结:

SERFLOW是一个面向SLO感知动态ML推理的跨服务成本优化框架,通过结合阶段特定的无服务器函数资源调配与自适应负载均衡,解决了模型分区动态卸载中的现实因素限制,在适应动态工作负载的同时将云成本降低超23%。

摘要:

跨不同资源编排服务(如Function-as-a-Service (FaaS)和Infrastructure-as-a-Service (IaaS))动态卸载机器学习(ML)模型分区,可以平衡处理和传输延迟,同时最小化自适应推理应用的成本。然而,先前的工作常常忽略现实因素,如虚拟机(VM)冷启动、长尾服务时间分布下的请求等。为了解决这些局限性,我们将每个ML查询(请求)建模为遍历一个无环的阶段序列,其中每个阶段构成一个连续的稀疏模型参数块,并以内部或最终分类器结束,请求可以在这些分类器处退出。由于依赖于输入的退出率各不相同,没有单一的资源配置适合所有查询分布。当许多请求提前退出时,基于IaaS的VM会变得未被充分利用,而快速扩展以处理到达深层的请求突发是不切实际的。SERFLOW通过利用基于FaaS的无服务器函数(容器)并使用阶段特定的资源调配来解决这一挑战,该调配考虑了在每个阶段退出的请求比例。通过将此调配与基于请求摄取的VM和无服务器函数之间的自适应负载均衡相集成,SERFLOW将云成本降低了超过23%,同时高效地适应动态工作负载。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑