Skip to main content
QUICK REVIEW

[Paper Review] Uni-Perceiver-MoE: Learning Sparse Generalist Models with Conditional MoEs

Jinguo Zhu, Xizhou Zhu|arXiv (Cornell University)|Jun 9, 2022
Multimodal Machine Learning ApplicationsComputer Science28 citations
TL;DR

Introduces Conditional Mixture-of-Experts (Conditional MoEs) to mitigate task interference in generalist models, integrates them into Uni-Perceiver, and shows state-of-the-art results with 1% downstream data via prompt tuning while maintaining zero-shot generalization.

ABSTRACT

To build an artificial neural network like the biological intelligence system, recent works have unified numerous tasks into a generalist model, which can process various tasks with shared parameters and do not have any task-specific modules. While generalist models achieve promising results on various benchmarks, they have performance degradation on some tasks compared with task-specialized models. In this work, we find that interference among different tasks and modalities is the main factor to this phenomenon. To mitigate such interference, we introduce the Conditional Mixture-of-Experts (Conditional MoEs) to generalist models. Routing strategies under different levels of conditions are proposed to take both the training/inference cost and generalization ability into account. By incorporating the proposed Conditional MoEs, the recently proposed generalist model Uni-Perceiver can effectively mitigate the interference across tasks and modalities, and achieves state-of-the-art results on a series of downstream tasks via prompt tuning on 1% of downstream data. Moreover, the introduction of Conditional MoEs still holds the generalization ability of generalist models to conduct zero-shot inference on new tasks, e.g., video-text retrieval and video caption. Code and pre-trained generalist models shall be released.

Motivation & Objective

  • Explain the task-interference issue in generalist multi-task models and its impact on performance.
  • Propose Conditional MoEs with different routing strategies to mitigate interference while preserving generalization.
  • Demonstrate that Uni-Perceiver equipped with Conditional MoEs achieves strong performance with limited downstream data and supports zero-shot generalization to novel tasks.

Proposed method

  • Analyze task interference via gradient-direction metrics to quantify cross-task effects.
  • Define Conditional MoEs with routing strategies across token-level, context-level, modality-level, task-level, and attribute-based conditioning.
  • Replace linear projections in Uni-Perceiver's self-attention and FFN blocks with Conditional-MoE layers.
  • Introduce 8-dimensional token attribute embeddings to enable data- and task-general routing decisions.
  • Compare data-dependent and data-independent routing variants in terms of training/inference cost and generalization.
  • Perform large-scale pre-training and downstream evaluation, including prompt tuning on 1% data.

Experimental results

Research questions

  • RQ1How does cross-task interference affect performance in generalist models when sharing parameters across tasks and modalities?
  • RQ2Can Conditional MoEs reduce interference while preserving or enhancing generalization to unseen tasks?
  • RQ3Which routing strategies (token, context, modality, task, attribute) provide the best trade-off between efficiency and accuracy for Uni-Perceiver?
  • RQ4How do prompt-tuning and data efficiency compare to fully supervised fine-tuning for generalist models with Conditional MoEs?
  • RQ5Do models with Conditional MoEs maintain zero-shot capabilities for novel tasks such as video-text retrieval and video captioning?

Key findings

  • Conditional MoEs mitigate task interference and improve performance over a fully shared Uni-Perceiver baseline.
  • Among routing variants, attribute MoEs (with 8-bit token attribute embeddings) offer strong performance with better efficiency and generalization.
  • Data-independent MoE variants (modality, task, attribute) achieve high efficiency and can be merged into a single projection via reparameterization; data-dependent variants incur higher training/inference costs.
  • With 1% downstream data for prompt tuning, Uni-Perceiver-MoEs achieve competitive results compared to SOTAs trained with much more data and compute.
  • Uni-Perceiver-MoEs maintain zero-shot generalization to novel tasks like video caption and video-text retrieval, and improve performance on GLUE benchmarks.

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.