arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2507.10069cs.DCcs.LG
收藏

ElasticMM:基于弹性多模态并行的高效多模态大语言模型服务

ElasticMM: Efficient Multimodal LLMs Serving with Elastic Multimodal Parallelism

Institute of Computing Technology, Chinese Academy of Sciences(中国科学院计算技术研究所);University of Electronic Science and Technology of China(电子科技大学);National University of Singapore(新加坡国立大学)

Zedong Liu, Shenggan Cheng, Guangming Tan, Yang You, Dingwen Tao

AI总结:

针对多模态大语言模型服务中推理开销大、资源利用率低的问题,提出弹性多模态并行范式EMP及系统ElasticMM,通过模态感知负载均衡、弹性分区调度等优化,实现TTFT降低4.2倍、吞吐量提升3.2-4.5倍且满足SLOs。

摘要:

多模态大语言模型(MLLMs)通过整合特征提取器和投影模块,将大语言模型(LLMs)扩展至处理图像、视频和音频。然而,这些额外组件结合复杂的推理流水线与异构工作负载,带来显著的推理开销,因此高效服务MLLMs仍是一大挑战。当前紧密耦合的服务架构难以区分混合请求类型,也无法针对不同推理阶段调整并行策略,导致首token时间(TTFT)延迟增加、资源利用率低下。为此,我们提出弹性多模态并行(EMP)这一新服务范式,能弹性适配不同请求类型和推理阶段的资源异构性。基于EMP,我们开发ElasticMM服务系统:(1)通过模态感知负载均衡器将请求分为独立模态组并动态分配资源;(2)解耦推理阶段,通过弹性分区调度实现并行策略调整与自适应扩展;(3)通过统一多模态前缀缓存和非阻塞编码提升推理效率。在多样真实数据集上的实验显示,ElasticMM优于现有SOTA服务系统,TTFT降低达4.2倍,吞吐量提升3.2-4.5倍,且满足服务级别目标(SLOs)。

英文摘要:

Multimodal large language models (MLLMs) extend LLMs to handle images, videos, and audio by incorporating feature extractors and projection modules. However, these additional components -- combined with complex inference pipelines and heterogeneous workloads -- introduce significant inference overhead. Therefore, efficiently serving MLLMs remains a major challenge. Current tightly coupled serving architectures struggle to distinguish between mixed request types or adapt parallelism strategies to different inference stages, leading to increased time-to-first-token (TTFT) latency and poor resource utilization. To address this, we introduce Elastic Multimodal Parallelism (EMP), a new serving paradigm that elastically adapts to resource heterogeneity across request types and inference stages. Building upon EMP, we develop ElasticMM, an MLLM serving system that (1) separates requests into independent modality groups with dynamic resource allocation via a modality-aware load balancer; (2) decouples inference stages and enables parallelism adjustment and adaptive scaling via elastic partition scheduling; and (3) improves inference efficiency through unified multimodal prefix caching and non-blocking encoding. Experiments on diverse real-world datasets show that ElasticMM outperforms state-of-the-art (SOTA) serving systems, reducing TTFT by up to 4.2x and achieving 3.2-4.5x higher throughput while meeting service-level objectives (SLOs).

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

↑