MoRoute: Dynamic Routing for In-Context
Multimodal Video Generation

Chong Gao1,2, Jie Ma2, Zhan Peng2,3, Chongxiao Wang2, Haoxue Wu2, Jun Liang2, Guanbin Li1,*, Jing Li2

1Sun Yat-sen University  2Orange Team, Moku Lab, HUJING Digital Media & Entertainment Group  3Huazhong University of Science and Technology

*Corresponding author

📜 arXiv 📄 PDF
MoRoute overview video. A short walkthrough of the framework, supported tasks, and qualitative comparisons.

Abstract

Multimodal video generation aims to generate and edit videos conditioned on arbitrary combinations of text, images, and videos within a single model, allowing diverse tasks to share complementary data and generative priors. Unifying these tasks requires multimodal understanding of diverse conditions, which is typically provided by a pretrained vision-language model (VLM). A key challenge is how to connect the VLM's hierarchical multimodal representations with a pretrained video diffusion transformer (DiT). Existing methods either inject features from only the final or a few manually selected VLM layers, or jointly train architecture-matched understanding and generation streams, making it difficult to reuse heterogeneous pretrained backbones.

We introduce MoRoute, a unified multimodal video generation framework that formulates a frozen VLM and a pretrained video DiT with different architectures as heterogeneous experts connected through dynamic layer routing. For each input, a lightweight block-wise router enables every DiT block to select the VLM layer most relevant to its generation stage, thereby learning an adaptive correspondence between multimodal understanding and video synthesis. MoRoute further incorporates reference images and source videos directly into the DiT token sequence through unified in-context conditioning, preserving fine-grained visual details across diverse generation and editing tasks. Experiments on IntelligentVBench, OpenVE-Bench, and RefVIE-Bench show that MoRoute consistently surpasses the best competing method on each benchmark, improving the average score by 0.15, 0.18, and 0.34 on a 1–5 scale, respectively.

Method

A heterogeneous Mixture-of-Transformers that links a frozen VLM and a pretrained video DiT — of different architectures — through learned per-block layer routing. Our instantiation freezes Qwen3.5-9B (32 layers, d=4096) as the condition encoder and equips Wan2.1-T2V-14B (40 blocks, d=5120) with the router.

Overview of MoRoute: a frozen VLM, a video DiT, and the block-wise dynamic layer router connecting them, with the router computation detailed in the bottom panel.
Overview of MoRoute. A frozen VLM encodes multimodal conditions, a video DiT generates the video, and a block-wise dynamic layer router connects them. For each DiT block i, the router computes dot-product logits between a learnable block query and per-layer VLM keys, and selects VLM layer ℓi using straight-through argmax. A dedicated per-block projection MLP maps the selected hidden state into the DiT cross-attention context. The bottom panel details the router computation, from pooled VLM representations and block queries to the routing heatmap, per-block routing logits, and one-hot selections. Snowflake and flame icons denote frozen and trainable modules, respectively.
01

Omni-task video generation

One framework covers text-, image-, and video-conditioned generation and editing. Joint multi-task training lets diverse tasks share complementary data and generative priors — a data-scarce task such as character replacement borrows real-world priors from reference-to-video generation without ever seeing a real paired sample.

02

Heterogeneous MoT with dynamic routing

The frozen VLM and the pretrained DiT are cast as heterogeneous experts in a Mixture-of-Transformers. Every VLM layer is summarized into a routing key, and a learnable per-block query selects the most relevant layer via straight-through argmax — reusing both pretrained backbones without architectural constraints.

03

Unified in-context conditioning

Reference images and source videos are concatenated directly into the DiT input sequence with slotted temporal RoPE, sparse attention, and dual timestep modulation — ensuring fine-grained visual fidelity while supporting diverse generation and editing tasks in a single model.

Qualitative Comparison

Reference-guided generation and source-conditioned editing. Hover a case to play all clips; click an input to enlarge.

1Subject talks while a woman stands still behind him.

Subject reference
Reference
VACE
Bernini
OmniWeaving
MoRoute (Ours)

2Woman speaks to the camera over a new background.

Subject
Subject
Background
Background
VACE
Bernini
OmniWeaving
MoRoute (Ours)

3Man walks from porch to courtyard, stopping to talk (first & last frame).

First frame
First frame
Last frame
Last frame
VACE
Bernini
OmniWeaving
MoRoute (Ours)

1Replace the background with a dynamic ancient Roman forum.

Source
VACE
Bernini
Kiwi-Edit
Omni-Video 2
OmniWeaving
MoRoute (Ours)

2Turn the entire bread loaf into a miniature lush forest.

Source
VACE
Bernini
Kiwi-Edit
Omni-Video 2
OmniWeaving
MoRoute (Ours)

3Overlay a tracked dark-green backpack onto the walking person.

Source
VACE
Bernini
Kiwi-Edit
Omni-Video 2
OmniWeaving
MoRoute (Ours)

1Add the reference scarf around the person's neck.

Source
Reference
Reference
VACE
Bernini
Kiwi-Edit
Omni-Video 2
OmniWeaving
MoRoute (Ours)

2Replace the girl's orange cloth with a Chinese Mamianqun skirt.

Source
Reference
Reference
VACE
Bernini
Kiwi-Edit
Omni-Video 2
OmniWeaving
MoRoute (Ours)

3Replace the background with the scene in the reference image.

Source
Reference
Reference
VACE
Bernini
Kiwi-Edit
Omni-Video 2
OmniWeaving
MoRoute (Ours)

Quantitative Comparison

All scores are 1–5 ratings produced by Gemini-2.5-Pro under the official benchmark prompts; every baseline was re-run from its official codebase under the same protocol.

IntelligentVBench

3.98AVG · +0.15 over best baseline

OpenVE-Bench

3.83AVG · +0.18 over best baseline

RefVIE-Bench

4.11AVG · +0.34 over best baseline
Method IntelligentVBench OpenVE-Bench RefVIE-Bench
IF↑CP↑VQ↑AVG↑ IC↑CD↑VQ↑AVG↑ Subj.↑BG↑AVG↑
VACE 3.163.073.233.15 1.521.521.521.52 1.001.401.20
Bernini 3.793.753.463.67 3.933.493.543.65 3.943.603.77
Kiwi-Edit 3.893.783.673.78 3.282.822.993.03 3.002.532.77
Omni-Video 2 3.002.333.222.85 3.283.023.123.14 3.172.272.72
OmniWeaving 3.923.813.763.83 3.162.672.652.82 3.113.333.22
MoRoute (Ours) 4.084.023.843.98 4.073.663.763.83 4.433.784.11

Best results are highlighted; second best are underlined. Kiwi-Edit and Omni-Video 2 do not support I2V-style generation, so their IntelligentVBench columns cover the TIV2V subset only (shaded) and are excluded from the IntelligentVBench ranking. IF: Instruction Following · CP: Condition Preserving · IC: Instruction Compliance · CD: Consistency and Detail Fidelity · VQ: Visual Quality · Subj./BG: subject- and background-editing category averages.

Per-task-family gains over the best competing method

Task Family Benchmark Best Baseline AVG MoRoute AVG Gain
Compositional MI2VIntelligentVBench3.913.93+0.02
Implicit I2VIntelligentVBench3.813.85+0.04
Interpolative DI2VIntelligentVBench3.703.86+0.16
TIV2V generation/editingIntelligentVBench4.044.26+0.22
TV2V editingOpenVE-Bench3.653.83+0.18
Reference subject editingRefVIE-Bench3.944.43+0.49
Reference background editingRefVIE-Bench3.603.78+0.18

Per-subtask and per-editing-type breakdowns are reported in the appendix of the paper.

BibTeX

@article{gao2026moroute,
  title   = {MoRoute: Dynamic Routing for In-Context Multimodal Video Generation},
  author  = {Gao, Chong and Ma, Jie and Peng, Zhan and Wang, Chongxiao and Wu, Haoxue and Liang, Jun and Li, Guanbin and Li, Jing},
  journal = {arXiv preprint arXiv:2607.29545},
  year    = {2026}
}