MoE-LLaVA: Mixture of Experts for Large Vision-Language Models

By Bin Lin, Zhenyu Tang, Yang Ye, Jiaxi Cui, Bin Zhu, Peng Jin, Jinfa Huang, Junwu Zhang, Munan Ning, Li Yuan. IEEE transactions on multimedia, 2024

360 citations recorded by the source corpus.

Recently, remarkable progress has been made in scaling up Large Language Models (LLMs) through the use of the sparse Mixture-of-Expert (MoE) layers without significantly increasing computational cost. However, the transition from a pre-trained LLM to a sparse Large Vision-Language Model (LVLM) with MoE remains an open challenge. Directly fine-tuning an LLM to a sparse LVLM often leads to training collapse, characterized by (1) a large modality feature distribution gap and (2) expert load imbalance. This paper proposes a three-stage decoupled weight training process. In the first two stages, the model learns to adapt the LLM to an LVLM. In the third stage, the FFN weights from the second stage are used as lossless initialization for expert weights, effectively constructing a sparse model with a vast number of parameters while maintaining constant computational cost. Through extensive ablation experiments, we derive three empirical guidelines and propose a sparse LVLM termed MoE-LLaVA. MoE-LLaVA is a MoE-based sparse LVLM architecture, which uniquely activates only the top-$k$ experts through routers during deployment, keeping the remaining experts inactive. Extensive experiments demonstrate that MoE-LLaVA outperforms LLaVA-1.5-7B by 4.6 on average across nine visual understanding benchmarks. Notably, MoE-LLaVA has only 2.2B active parameters, achieving an average performance of 66.7, surpassing LLaVA-1.5-7B’s 65.5. Our work establishes a baseline for sparse LVLMs and provides empirical guidelines for exploring the sparse LVLMs.

Subfields: Artificial Intelligence, Computer Vision and Pattern Recognition

View Paper: https://www.semanticscholar.org/paper/cd1d7f5c4ce2d31ce9ee72db165a8272624da7d3

How researchers see this paper

The researchers whose trusted networks rank it highest, strongest advocate first. Every researcher gets a different order.

In Artificial Intelligence

  1. Peng Jin
  2. Léo Tronchon
  3. Li Yuan
  4. Caiwan Zhang
  5. Hugo Laurençon
  6. Xiaochun Cao
  7. Matthieu Cord
  8. Ryuichi Takanobu

In Computer Vision and Pattern Recognition

  1. Victor Sanh
  2. Peng Jin
  3. Léo Tronchon
  4. Li Yuan
  5. Caiwan Zhang
  6. Hugo Laurençon
  7. Xiaochun Cao
  8. Matthieu Cord

Citations in the corpus