TL;DR
EAServe is a new serving framework designed specifically for Multimodal Large Language Models (MLLMs) that repositions the "Encode" stage as the central control point of the inference pipeline. By combining automated offline configuration search with dynamic runtime mechanisms like SM partitioning and load-adaptive batching, EAServe achieves up to 4.3× higher goodput than NVIDIA Dynamo and 1.7× higher than vLLM.
What Problem Does This Paper Address?
Serving text-only LLMs has become efficient thanks to "disaggregated serving," which separates the compute-heavy Prefill stage from the memory-bound Decode stage. However, MLLMs (which process images, video, or audio) introduce a third stage: Encode. This creates an Encode-Prefill-Decode (EPD) pipeline.
The authors identify a "structural resource imbalance" in current EPD systems. The Encode stage is the gatekeeper—every request must pass through it—but a single encoding task is too small to saturate a modern GPU. This leads to a paradox: the Encode GPU stays largely idle (wasting capacity), yet downstream Prefill and Decode workers are often starved for work because the Encode stage isn't pushing data through fast enough or is batching inefficiently.
Methods
EAServe addresses these imbalances through a two-layered architecture:
- Hybrid Auto Selection (HAS): An offline configuration layer that searches for the optimal "joint space" of GPU allocation, encode batch sizes, and offload ratios. It uses a mix of analytical profiling (to prune obviously bad setups) and Bayesian optimization (Tree-structured Parzen Estimator) to find the best configuration for a specific model and hardware setup.
- Encode-Aware Runtime:
- Load-Adaptive Micro-batching: Instead of a fixed timeout, it uses a "Poisson-gap" rule. It calculates a dispatch threshold based on the current arrival rate, tightening the window under high load and relaxing it when traffic is light.
- Rate-Controlled Partial Offload: A "Deficit-Counter Router" ensures that requests are split between local and remote prefill workers with minimal noise, keeping downstream queues smooth.
- Dynamic SM Partitioning: Using
libsmctrl, EAServe co-locates Encode and Prefill on the same GPU. It dynamically adjusts how many Streaming Multiprocessors (SMs) each task gets based on the current batch size, ensuring Encode meets its latency targets while letting Prefill soak up the remaining GPU cycles.
Datasets
The authors evaluated EAServe across three representative MLLM architectures and modalities:
- Image: LLaVA-v1.6-34B (using CLIP ViT-L encoder).
- Video: Qwen2.5-VL-32B (using dynamic ViT encoder).
- Audio: Ultravox-v0.6-27B (using Whisper encoder).
Workloads were generated using the vLLM benchmarking suite for image/video and real speech samples from LibriSpeech for audio, paired with random text prompts to simulate realistic serving conditions.
Key Insights and Ideas
- Encode as the Control Point: The most significant shift is moving Encode from a passive "pass-through" service to the active regulator of the entire pipeline. Because it's the entry point, controlling Encode's batching and offloading naturally balances the rest of the system.
- The Latency "Sweet Spot": The authors discovered that Encode latency follows a saturation curve. Adding more SMs helps significantly at first, but the benefit quickly flattens. EAServe exploits this by giving Encode just enough SMs to hit its target and giving everything else to a co-resident Prefill worker.
- Poisson-Gap Dispatch: By deriving batching thresholds from the arrival process itself rather than arbitrary timeouts, the system adapts to fluctuating demand without manual retuning.
Key Results
- Goodput Gains: EAServe delivers up to 4.3× higher goodput (requests meeting Service Level Objectives) compared to NVIDIA Dynamo and 1.7× compared to vLLM.
- Latency Reduction: On the LLaVA (image) model, the 99th-percentile Time-to-First-Token (TTFT) dropped from 233.8 seconds (Dynamo) to just 10.8 seconds at a rate of 2 requests per second.
- Utilization: While baseline systems often kept Encode GPUs below 10% utilization, EAServe raised sustained utilization to roughly 80% by filling idle gaps with co-located local prefill work.
- Efficiency: The HAS search method reached near-optimal configurations in under 2 hours, whereas random search often failed to reach the same performance level within a 30-trial budget.
Limitations and Future Work
- Multi-node Scaling: The current evaluation focused on an 8-GPU single-node server. The authors note that scaling to multi-node datacenters will introduce new challenges regarding cross-node embedding transfers.
- KV Cache Transfer: Efficiently moving the Key-Value cache between disaggregated stages remains a complex area for future optimization.
- Online Estimation: While the dispatch rule is adaptive, it currently assumes a known target arrival rate; extending this to fully online, real-time arrival rate estimation is a planned next step.
Summary updated