ElasticMM: Efficient Multimodal LLMs Serving with Elastic Multimodal Parallelism
Zedong Liu, Shenggan Cheng, Guangming Tan, Yang You, Dingwen Tao
TL;DR
This work tackles inefficiencies in serving multimodal large language models (MLLMs) under heterogeneous and bursty workloads by proposing Elastic Multimodal Parallelism (EMP) and ElasticMM. EMP provides a two-tier scheduling framework that decouples modality groups (text-only vs multimodal) and inference stages (encoding, prefill, decode) to enable elastic resource reallocation and stage-specific parallelism. ElasticMM implements modality-aware load balancing, elastic partition scheduling, and multimodal inference optimizations (unified multimodal prefix caching and non-blocking encoding) to reduce time-to-first-token ($TTFT$) and boost throughput while maintaining accuracy. Empirical results on Llama3.2-Vision-11B and Qwen2.5-VL-7B across VisualWebInstruct and ShareGPT-4o show TTFT reductions up to $4.2\times$ and throughput gains of $3.2$–$4.5\times$ under SLOs, outperforming state-of-the-art baselines. The approach provides a practical and scalable paradigm for efficient, real-time multimodal AI service deployment.
Abstract
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).
