TL;DR
M is a universal serving system designed for the new era of complex, composite multimodal AI models (such as omni and world models). By abstracting models as dataflow graphs called "Walk Graphs," M decouples model architecture from physical hardware placement, enabling massive throughput and latency improvements over state-of-the-art token-centric serving stacks.
What Problem Does This Paper Address?
Traditional Large Language Model (LLM) serving frameworks, such as vLLM or SGLang, are highly optimized for a single, predictable task: the autoregressive (AR) token generation loop. However, modern AI is shifting toward composite multimodal models—architectures that stitch together structurally distinct components like vision encoders, language backbones, diffusion heads, audio codecs, and world-model predictors.
As shown in Figure 1, these models do not just loop through tokens; they feature complex execution patterns including non-autoregressive loops (e.g., diffusion steps), internal parallelism (e.g., classifier-free guidance), and task-dependent execution paths. Existing serving systems try to force these architectures into rigid, sequential "stages," which severely limits optimization opportunities, introduces significant per-model glue code, and prevents independent scaling of heterogeneous components.
Methods
The authors introduce M, a universal serving system that treats multimodal inference as a graph execution problem. The core innovation is the Walk Graph* abstraction:
- Computation Graph & Walks: A model is defined as a directed graph of components (nodes) and tensor flows (edges). A "Walk" represents a specific task's path through the graph (e.g., text-to-image generation vs. image-to-text understanding).
- Four Composable Primitives: To build these graphs natively, M* provides four control-flow primitives:
Sequential,Parallel,Loop, andDynamicLoop(for early-exit scenarios like end-of-sequence tokens or variable-horizon rollouts). - Streaming Edges: For real-time audio/video streaming, a
StreamingGraphEdgehandles data chunking between producers and consumers via customizable chunk policies.
As illustrated in Figure 2, this design cleanly decouples the model architecture from the physical runtime. The model author defines the logical graph and walks, while the deployer maps graph nodes to physical GPU ranks. The runtime then automatically handles scheduling, continuous batching, and tensor transport. Furthermore, M* generalizes paged attention by representing parallel execution branches (like Classifier-Free Guidance) as labels over a single paged KV pool, eliminating expensive KV-cache transfers.
Datasets
The framework was evaluated across several diverse, established benchmarks representing different modalities:
- VBench: Used for evaluating text-to-image (T2I) and image editing (I2I) workloads on the BAGEL model.
- Food101: Used for image-to-text (I2T) understanding tasks on the BAGEL model.
- Seed-TTS evaluation set: Used for text-to-speech (TTS) benchmarks on the Qwen3-Omni and Orpheus models.
- DROID dataset: Used for evaluating action-conditioned video rollouts for robotic planning on the V-JEPA 2 world model.
Key Insights and Ideas
- Inference as Graph Traversal: Shifting the serving abstraction from "token loops" to "graph walks" allows a single engine configuration to dynamically serve entirely different modalities and tasks without model-specific hacks.
- Unified KV Cache Management: Instead of allocating separate dense caches for parallel generation branches, M* tracks them using labels over a single paged KV pool. This brings the benefits of paged attention and continuous batching to diffusion and flow-matching steps.
- Co-location vs. Disaggregation: Decoupling the logical graph from physical placement allows developers to co-locate streaming components on the same GPU worker to eliminate inter-process communication (IPC) overhead, or disaggregate heavy components (like splitting Qwen3's Thinker and Talker transformers) to scale them independently based on workload demands.
Key Results
The authors instantiated M* across five representative composite models, demonstrating substantial performance gains over customized baselines:
- BAGEL: M* achieved an average of 20% lower p50 end-to-end latency than vLLM-Omni for text-to-image generation and up to 2.64× lower latency for image editing, while serving all tasks under a single unified configuration.
- Qwen3-Omni: For text-to-speech workloads, M* delivered up to a 2.9× lower real-time factor (RTF). At batch size 16, it achieved 2.7× and 4.0× higher throughput than vLLM-Omni and SGLang-Omni, respectively (see Figure 5).
- Orpheus-TTS: M* outperformed VoxServe, a speech-optimized serving system, delivering 13.6% lower p50 RTF and 39% higher throughput at batch size 16.
- V-JEPA 2: M* accelerated action-conditioned robotic planning rollouts by up to 12.5× compared to the native baseline by avoiding redundant prefills via its
DynamicLoopand paged-attention KV caching.
Limitations and Future Work
While M* demonstrates impressive versatility, the authors note a few limitations and areas for future exploration:
- Evaluation Scope: It is infeasible to exhaustively test all emerging multimodal architectures, meaning performance characteristics may vary on un-evaluated model families.
- Parallelism Strategies: M* currently supports tensor-parallel sharding at the individual node level, but it does not yet explore other advanced distributed strategies such as sequence, context, or pipeline parallelism across components.
- Engine & Optimization Expansion: Future work will focus on expanding the set of supported runtime engines and integrating more modality-specific optimizations, such as sparse attention techniques for long-video generation.
Summary updated