Skip to main content
QUICK REVIEW

[Paper Review] Uni-MoE: Scaling Unified Multimodal LLMs with Mixture of Experts

Yunxin Li, Shenyuan Jiang|arXiv (Cornell University)|May 18, 2024
Natural Language Processing TechniquesComputer Science3 citations
TL;DR

Uni-MoE proposes a unified multimodal large language model (MLLM) that leverages a sparse Mixture of Experts (MoE) architecture to efficiently handle diverse modalities—text, image, audio, video—by activating only a subset of expert parameters per input. The model achieves superior generalization and reduced performance bias across mixed multimodal benchmarks through a three-stage progressive training strategy, outperforming dense and prior MoE-based MLLMs despite lower parameter activation during inference.

ABSTRACT

Recent advancements in Multimodal Large Language Models (MLLMs) underscore the significance of scalable models and data to boost performance, yet this often incurs substantial computational costs. Although the Mixture of Experts (MoE) architecture has been employed to efficiently scale large language and image-text models, these efforts typically involve fewer experts and limited modalities. To address this, our work presents the pioneering attempt to develop a unified MLLM with the MoE architecture, named Uni-MoE that can handle a wide array of modalities. Specifically, it features modality-specific encoders with connectors for a unified multimodal representation. We also implement a sparse MoE architecture within the LLMs to enable efficient training and inference through modality-level data parallelism and expert-level model parallelism. To enhance the multi-expert collaboration and generalization, we present a progressive training strategy: 1) Cross-modality alignment using various connectors with different cross-modality data, 2) Training modality-specific experts with cross-modality instruction data to activate experts' preferences, and 3) Tuning the Uni-MoE framework utilizing Low-Rank Adaptation (LoRA) on mixed multimodal instruction data. We evaluate the instruction-tuned Uni-MoE on a comprehensive set of multimodal datasets. The extensive experimental results demonstrate Uni-MoE's principal advantage of significantly reducing performance bias in handling mixed multimodal datasets, alongside improved multi-expert collaboration and generalization. Our findings highlight the substantial potential of MoE frameworks in advancing MLLMs and the code is available at https://github.com/HITsz-TMG/UMOE-Scaling-Unified-Multimodal-LLMs.

Motivation & Objective

  • To address the high computational cost of scaling unified multimodal LLMs beyond image-text to include audio, speech, and video.
  • To enable efficient training and inference in unified MLLMs by integrating a sparse Mixture of Experts (MoE) architecture with modality-specific experts.
  • To reduce performance bias in multimodal benchmarks by enhancing multi-expert collaboration and generalization across diverse input modalities.
  • To develop a progressive training strategy that improves expert specialization and cross-modality alignment in unified MLLMs.
  • To demonstrate the effectiveness of MoE in unified multimodal learning, surpassing dense and prior MoE-based models on mixed-modal benchmarks.

Proposed method

  • Employs modality-specific encoders with learnable connectors to project diverse modalities (image, audio, video, text) into a unified language representation space.
  • Introduces a sparse MoE layer within the LLM's transformer blocks, where a router dynamically selects a subset of experts per token, enabling parameter-efficient inference.
  • Applies modality-level data parallelism and expert-level model parallelism to scale training efficiently across multiple modalities and experts.
  • Implements a three-stage progressive training strategy: (1) cross-modality alignment using paired data, (2) modality-specific expert training with cross-modality instruction data, and (3) LoRA fine-tuning on mixed multimodal data.
  • Uses an auxiliary balancing loss to promote equal expert utilization and improve routing stability, especially with eight or more experts.
  • Employs Low-Rank Adaptation (LoRA) for efficient fine-tuning, reducing computational overhead while maintaining performance.

Experimental results

Research questions

  • RQ1Can a sparse Mixture of Experts (MoE) architecture effectively scale unified multimodal LLMs beyond image-text to include audio, speech, and video?
  • RQ2How does progressive training with modality-specific expert pre-training and LoRA fine-tuning improve multi-expert collaboration and generalization in unified MLLMs?
  • RQ3To what extent does the auxiliary balancing loss enhance expert utilization and routing performance in a large-scale MoE-based MLLM?
  • RQ4How does Uni-MoE compare to dense and prior MoE-based MLLMs in handling mixed multimodal benchmarks with performance bias?
  • RQ5Can a model trained on limited mixed multimodal data generalize to unseen modalities, such as long-form speech or video, without explicit pre-training on them?

Key findings

  • Uni-MoE significantly reduces performance bias across mixed multimodal datasets by enabling better multi-expert collaboration and generalization compared to dense and prior MoE-based models.
  • The model outperforms dense 13B MLLMs like LLaVA-v1.5 and LLaMA-VID on image-text benchmarks when trained with the same image-text instruction data, despite activating only 11B parameters.
  • Adding image-text data during training improves Uni-MoE’s performance on video understanding tasks, indicating cross-modal data synergy and generalization.
  • The auxiliary balancing loss enhances expert utilization and routing efficiency, especially with eight or more experts, leading to improved performance and stability.
  • Uni-MoE generalizes robustly to unseen modalities—such as long-form human speech and video content—without explicit pre-training on such data, demonstrating strong zero-shot generalization.
  • The three-stage progressive training strategy effectively stabilizes training and enhances model performance, as validated by ablation studies and benchmark results.

Read this paper

Open the full text in the Nubint reader and ask about any passage as you read.

Read this paper on Nubint

This review was generated by AI from the original paper. Please check the paper before citing it.