arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2607.04181cs.DC
收藏

CoCoScale:利用逐层缩放释放在线大语言模型服务的潜力

CoCoScale: Leveraging Layer-wise Scaling to Unlock the Potential of Online LLM Serving

Shenzhen Institutes of Advanced Technology, Chinese Academy of Sciences(中国科学院深圳先进技术研究院);Alibaba Group Inc(阿里巴巴集团);State Key Lab of IOTSC, University of Macau(澳门大学物联网与智慧城市国家重点实验室)

Jingfeng Wu, Yiyuan He, Minxian Xu, Xitong Gao, Chong Ma, Le Chen, Min Shen, Lin Qu, Kejiang Ye, CHengzhong Xu

AI总结:

研究在线大语言模型服务中动态工作负载问题,提出CoCoScale逐层动态缩放机制,通过利用闲置资源扩展热层并行度,减少冷启动延迟,提升动态适应性和资源效率。

摘要:

在线大语言模型服务是现代人工智能应用的支柱,但面临工作负载高度动态等问题。现有实例级缩放机制受限。本文提出CoCoScale,一种逐层动态缩放机制,能在不改变模型架构和增加硬件开销的情况下实现弹性数据并行。评估表明其显著降低冷启动延迟,提升动态适应性和资源效率。

英文摘要:

Online large language model (LLM) serving has become the backbone of modern AI applications, powering diverse downstream services through shared hardware clusters. However, modern serving systems frequently encounter highly dynamic workloads characterized by severe workload skewness, where a small fraction of model instances receives the vast majority of traffic. Existing instance-level scaling mechanisms are limited by coarse-grained resource adjustment: scaling up requires the cold-start of full-model replicas, incurring substantial latency, while scaling down leaves the system vulnerable to performance degradation during sudden traffic surges. The key insight of this work is that LLM serving offers a unique opportunity for fine-grained scaling. In this paper, we propose CoCoScale, a layer-wise dynamic scaling mechanism that selectively expands the parallelism of hot layers onto idle resources reclaimed from underutilized devices, enabling elastic data parallelism without altering model architectures or adding hardware overhead. Evaluations demonstrate that CoCoScale significantly reduces cold start latency by 97.9%-99.3% compared to traditional scale up. Under production traces, CoCoScale reduces average latency by 20.7\%--28.1\% and achieves full Service Level Objective (SLO) attainment, demonstrating superior dynamic adaptability and resource efficiency.

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

↑