TL;DR
X-VILA is an omni-modal foundation model that can understand, reason across, and generate any combination of text, images, videos, and audio ("X-to-X"). To solve the visual detail loss caused by routing all modalities purely through language embeddings, X-VILA introduces a Visual Embedding Highway (VEH) that routes visual features directly to diffusion decoders, backed by a new 1.6M-sample cross-modal instruction dataset.
What Problem Does This Paper Address?
While modern multimodal LLMs (like LLaVA or Flamingo) excel at processing visual inputs to generate text, building true "any-to-any" multimodal models that both perceive and generate across diverse modalities remains difficult.
Existing approaches (such as Next-GPT) rely solely on textual alignment: they map multi-modal inputs into the LLM’s text embedding space, generate modality-specific control tokens, and project them to condition pretrained diffusion models. However, language acts as an informational bottleneck. Forcing high-dimensional visual content through low-dimensional text tokens strips away critical visual specifics—like fine textures, composition, lighting, and action details—leading to poor visual consistency in vision-to-vision tasks (e.g., video-to-image or image-to-video). Furthermore, open datasets for any-to-any instruction tuning are extremely scarce.
Methods
X-VILA uses ImageBind encoders to process images, video, and audio into a shared input representation, a Vicuna-7B-1.5 LLM backbone, and pretrained diffusion decoders (Stable Diffusion 1.5, VideoCrafter2, AudioLDM) for output generation.
Inputs (Img/Vid/Aud) ──> ImageBind ──> Proj ──> [ LLM (Vicuna) ] ──> Modality Tokens ──> Text Controllers
│ │
└───> Visual Highway (VEH) ────────────────────────────> U-Net Decoders
The model introduces two primary methodological innovations:
- Visual Embedding Highway (VEH): To bypass the textual bottleneck, feature maps from intermediate layers of the visual encoder are summed into a highway representation $E^{\text{vis}}$. A lightweight controller module (residual conv blocks with zero-convolution output layers) injects these spatial features directly into the diffusion U-Net across reverse diffusion steps governed by a conditioning rate $\alpha$.
- Three-Phase Resource-Efficient Training:
- Phase 1 (Encoder-LLM-Decoder Alignment): Freezes the LLM and diffusion backbones, training only linear input/output projectors on X-to-text and text-to-X tasks.
- Phase 2 (Interleaved Multi-Modal Pre-training): Pre-trains the projectors and LLM (via LoRA) on interleaved image/video/audio/text sequences extracted from MMC4 and ActivityNet Captions to support multi-turn context.
- Phase 3 (X-to-X Cross-Modality Instruction Tuning): Conducted in two steps: first fine-tuning textual alignment across all modalities, then fine-tuning the visual decoders and VEH controller for vision-to-vision alignment while keeping the LLM frozen.
Datasets
- Curated X-to-X Dataset (1.6M conversations): Created to provide dense any-to-any supervision across six task types: Image-to-Video (~510k), Video-to-Image (~510k), Video-to-Video (~510k), Video-to-Audio (~33k), Audio-to-Video (~33k), and Image+Audio-to-Video (~33k).
- Blended Instruction Sets: Combines the X-to-X dataset with existing SFT data from LLaVA, VideoChat, NextGPT-instructions, and Alpaca.
- Evaluation Benchmarks:
- Custom X-to-X Benchmark: 200 video-to-image, 200 image-to-video, 200 video-to-video, and 62-sample subsets for audio/image combinations from ActivityNet and WebVid.
- Standard VQA/Understanding Benchmarks: Zero-shot evaluation on VQAv2, VisWiz, MMMU-val, AudioCaps, and MSRVTT.
Key Insights and Ideas
- The text embedding bottleneck is real: Routing generation purely through LLM text tokens causes diffusion models to hallucinate common semantic concepts rather than preserving specific reference features (e.g., matching the exact snowsuit color and mountain slopes in video continuation).
- Direct visual routing fixes consistency without retraining the LLM: Providing visual skip connections directly from the visual encoder to the diffusion U-Net drastically improves pixel/temporal fidelity without disturbing the LLM's language-reasoning ability.
- Emergence without direct pairing: Even without explicit pairs for certain tasks, the model exhibits emergent zero-shot capabilities—such as generating audio from images or images from audio—by exploiting the unified cross-modal representations built during training.
Key Results
- X-to-X Alignment ($X^2A$ Score): Evaluated via ImageBind cosine similarity against ground truth:
- On the Bain et al. validation split, X-VILA reaches 67.94% on Video-to-Image (vs. Next-GPT’s 15.31%) and 57.01% on Image-to-Video (vs. Next-GPT’s 38.23%).
- Ablations confirm the impact of VEH: Video-to-Image jumps from 53.82% (textual alignment only) to 67.40% with VEH on the image decoder.
- Visual & Audio Understanding:
- Remains competitive with specialized VLMs on VQAv2 (72.9%) and VisWiz (50.9%).
- Outperforms Next-GPT on audio captioning on AudioCaps (CIDEr: 16.61 vs. 14.53) and video captioning on MSRVTT (METEOR: 22.49 vs. 19.60).
Limitations and Future Work
- Conditioning Balance: Fine-tuning diffusion decoders with visual highway features requires carefully tuning the conditioning rate $\alpha$ to prevent over-constraining generation diversity versus retaining prompt consistency.
- Separate Decoders: Using decoupled, modality-specific diffusion models (Stable Diffusion, VideoCrafter2, AudioLDM) introduces architectural complexity compared to unified native-multimodal autoregressive decoders.
- Resource Constraints: The authors plan to release code and datasets open-source, but training across disparate diffusion decoders and visual encoders remains computationally demanding.
Summary updated