Skip to main content
QUICK REVIEW

[Paper Review] Uni-Med: A Unified Medical Generalist Foundation Model For Multi-Task Learning Via Connector-MoE

Xun Zhu, Ying Hu|arXiv (Cornell University)|Sep 26, 2024
Machine Learning in HealthcareComputer Science3 citations
TL;DR

Uni-Med proposes a unified medical generalist foundation model that addresses multi-task interference in medical multi-modal large language models (MLLMs) through a Connector-Mixture-of-Experts (CMoE) architecture. By introducing task-aware projection experts at the visual-language connector, Uni-Med mitigates the tug-of-war problem, achieving up to 8% average performance gain across six medical tasks—question answering, visual question answering, report generation, and more—while training jointly on 12 datasets in under 10 hours on a single A800.

ABSTRACT

Multi-modal large language models (MLLMs) have shown impressive capabilities as a general-purpose interface for various visual and linguistic tasks. However, building a unified MLLM for multi-task learning in the medical field remains a thorny challenge. To mitigate the tug-of-war problem of multi-modal multi-task optimization in MLLMs, recent advances primarily focus on improving the LLM components, while neglecting the connector that bridges the gap between modalities. In this paper, we introduce Uni-Med, a novel medical generalist foundation model which consists of a universal visual feature extraction module, a connector mixture-of-experts (CMoE) module, and an LLM. Benefiting from the proposed CMoE that leverages a well-designed router with a mixture of projection experts at the connector, Uni-Med achieves efficient solution to the tug-of-war problem and can perform six different medical tasks including question answering, visual question answering, report generation, referring expression comprehension, referring expression generation and image classification. To the best of our knowledge, Uni-Med is the first effort to tackle multi-task interference at the connector in MLLMs. Extensive ablation experiments validate the effectiveness of introducing CMoE under any configuration, with up to an average 8% performance gains. We further provide interpretation analysis of the tug-of-war problem from the perspective of gradient optimization and parameter statistics. Compared to previous state-of-the-art medical MLLMs, Uni-Med achieves competitive or superior evaluation metrics on diverse tasks. Code and resources are available at https://github.com/tsinghua-msiip/Uni-Med.

Motivation & Objective

  • To address the persistent tug-of-war problem in multi-modal, multi-task medical MLLMs, especially at the connector level between vision and language encoders.
  • To develop a unified medical foundation model capable of joint training across diverse medical tasks without task-specific fine-tuning.
  • To explore and enhance the connector module in MLLMs, which has been overlooked in prior MoE-based approaches focused only on the LLM component.
  • To provide an interpretable analysis of the tug-of-war problem through gradient and parameter statistics in multi-task optimization.
  • To achieve state-of-the-art or competitive performance across six distinct medical vision-language tasks using a single, shared architecture.

Proposed method

  • Design a Connector-Mixture-of-Experts (CMoE) module that replaces the standard shared connector in MLLMs, using a router to dynamically select task-specific projection experts.
  • Implement a router with a mixture of projection experts at the connector to align visual and language embeddings in a task-adaptive manner.
  • Use a universal visual encoder (e.g., BiomedCLIP) followed by the CMoE module and a frozen LLM for end-to-end training.
  • Train the model jointly on 12 diverse medical datasets across six tasks: VQA, report generation, image classification, referring expression comprehension, and generation.
  • Apply ablation studies and gradient-based analysis to validate CMoE’s effectiveness and interpret the nature of task interference.
  • Conduct feature distribution analysis using silhouette scores to evaluate modality and task discriminability before and after the connector.

Experimental results

Research questions

  • RQ1Can a connector-level Mixture-of-Experts (CMoE) architecture effectively reduce multi-task interference in medical MLLMs?
  • RQ2How does CMoE improve performance across diverse medical vision-language tasks compared to standard shared connectors?
  • RQ3What is the impact of CMoE on gradient optimization dynamics and parameter statistics in multi-task learning?
  • RQ4Does CMoE enable effective joint training across 12 medical datasets without task-specific fine-tuning?
  • RQ5How does task information compare to modality information in influencing feature alignment in the connector?

Key findings

  • Uni-Med achieves up to an 8% average performance gain across all tasks in ablation studies when CMoE is introduced, demonstrating its effectiveness in mitigating the tug-of-war problem.
  • The model achieves competitive or superior results on all six medical tasks—VQA, report generation, image classification, referring expression comprehension, and generation—without requiring dataset-specific fine-tuning.
  • On the Slake-REC task, Uni-Med achieves an IoU of 37.71±0.52 and R@0.5 of 39.30±0.76, significantly outperforming LLaVA-Med under joint training (IoU: 4.07, R@0.5: 1.99).
  • In referring expression generation on Slake-REG, Uni-Med achieves a BLEU-1 of 75.78±2.05 and F1 of 77.35±1.97, surpassing LLaVA-Med’s joint training results (BLEU-1: 27.21, F1: 30.97).
  • Feature distribution analysis shows that silhouette scores improve from 0.3049 (frozen encoder) to 0.3335 (CMoE) in the REG task, indicating better modality discrimination after connector optimization.
  • The ablation study confirms that CMoE consistently improves performance across all configurations, validating its robustness and generalization capability.

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.