X-VILA: Cross-Modality Alignment for Large Language Model

Hanrong Ye, De-An Huang, Yao Lu, Zhiding Yu, Wei Ping, Andrew Tao, Jan Kautz, Song Han, Dan Xu, Pavlo Molchanov, Hongxu Yin · DOI

Introduction

Modern Large Language Models (LLMs) have demonstrated exceptional reasoning capabilities, yet integrating them into a truly omni-modality framework remains a challenge. Most current systems are restricted to unidirectional tasks, such as image-to-text (captioning) or text-to-image (generation). X-VILA addresses this limitation by introducing an "any-to-any" foundation model capable of seamless conversion between text, image, video, and audio. By bypassing traditional semantic bottlenecks, X-VILA achieves superior visual consistency and emergent cross-modal reasoning.

Methodology

X-VILA utilizes a modular architecture that combines the ImageBind unified encoder with a Vicuna-7B LLM backbone. To generate diverse outputs, it integrates state-of-the-art diffusion decoders, including Stable Diffusion, VideoCrafter2, and AudioLDM.

Visual Embedding Highway (VEH)

A core innovation is the Visual Embedding Highway (VEH). Traditional models often lose fine-grained visual details when projecting information into the LLM's textual embedding space. VEH mitigates this by extracting layer-wise feature maps from the visual encoder and routing them directly to diffusion decoders via a lightweight Visual Controller. This "express lane" ensures that high-fidelity textures and spatial layouts are preserved, while the LLM provides high-level semantic guidance.

Training Strategy

The model is trained in three phases:

  1. Alignment: Mapping encoder outputs to LLM inputs and LLM outputs to decoder controls.
  2. Interleaved Pre-training: Training on multi-modal sequences (e.g., video with synced audio) to foster in-context learning and prevent catastrophic forgetting.
  3. X-to-X Instruction Tuning: Fine-tuning on a curated dataset of 1.5 million multi-modality conversations synthesized from sources like WebVid and ActivityNet.
X-VILA demonstrates high-fidelity video generation, such as this scene of a girl reading in a field.

Results and Discussion

X-VILA significantly outperforms existing models like Next-GPT. On the WebVid benchmark, it achieved a VID2IMG alignment score of 67.94, a substantial improvement over the baseline's 15.31.

Visual Consistency and Emergent Abilities

The model excels at maintaining object identity across different modalities. Furthermore, X-VILA exhibits emergent behaviors; for instance, it can generate appropriate audio for an image even without explicit image-to-audio training pairs, leveraging its holistic understanding of cross-modal relationships.

X-VILA's output showing consistent visual generation of a dog running on a beach.

Conclusion

X-VILA represents a significant step toward omni-modality AI. By decoupling semantic reasoning from textural detail through the Visual Embedding Highway, it achieves unprecedented consistency in any-to-any generation. Future work will focus on scaling the model parameters and integrating additional modalities such as 3D and tactile data.

Summary updated

BibTeX
@misc{ye2024x,
  author = {Hanrong Ye and De-An Huang and Yao Lu and Zhiding Yu and Wei Ping and Andrew Tao and Jan Kautz and Song Han and Dan Xu and Pavlo Molchanov and Hongxu Yin},
  title = {{X-VILA: Cross-Modality Alignment for Large Language Model}},
  year = {2024},
  eprint = {2405.19335},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2405.19335},
}
Figure