pMoE: Prompting Diverse Experts Together Wins More in Visual Adaptation

Shentong Mo, Xufang Luo, Dongsheng Li

TL;DR

pMoE (Prompting diverse Mixture-of-Experts) is a novel framework that allows AI models to "phone a friend" across different domains during fine-tuning. By dynamically fusing prompt tokens from multiple specialized pre-trained experts (like general-purpose and medical-specific models), it achieves state-of-the-art performance across 47 diverse visual tasks while remaining parameter-efficient.

The Challenge: The Single-Backbone Dilemma

Adapting a massive pre-trained model to a specific task—like identifying rare diseases in X-rays—usually involves "prompt tuning," where a few learnable tokens are added to the input. However, most current methods rely on a single pre-trained backbone.

This creates a dilemma: a model trained on general internet images (like ImageNet) has broad semantic knowledge but lacks niche expertise. Conversely, a specialized medical model might understand anatomy but lack the high-level reasoning of a general model. The authors address this missed opportunity for cross-domain synergy, proposing a way to integrate expertise from multiple domains simultaneously without the massive computational cost of full fine-tuning.

The pMoE Solution

The core innovation is the Mixture-of-Experts (MoE) Prompt Tuning framework. Instead of relying on one set of prompts, pMoE utilizes a collaborative approach:

  1. Expert Prompt Tokens (EPTs): Each pre-trained "expert" (e.g., a general DINO v2 model or a specialized CLIP model) is assigned its own set of specialized prompt tokens.
  2. Learnable Dispatcher Module: This acts as the "brain" of the operation. At various layers of the transformer, the dispatcher evaluates the current state of the model and decides how much to "listen" to each expert.
  3. Dynamic Token Fusion: The dispatcher calculates weights to blend the EPTs from all experts into Integrated Prompt Tokens (IPTs). These IPTs are then fed into the next layer, allowing the model to selectively pull knowledge from different domains as needed.
The pMoE architecture showing how the Dispatcher Layer blends tokens from different experts.

Crucially, pMoE is a versatile "wrapper" that can be applied to enhance existing prompt-tuning methods like Visual Prompt Tuning (VPT) or Long-term Spatial Prompt Tuning (LSPT).

Key Insights

  • Synergy Beats Specialization: The primary breakthrough is demonstrating that a general model plus a specialized model performs better than two specialized models or two general models alone. The diversity of the expert pool is the secret sauce.
  • Layer-Wise Wisdom: The model doesn't just pick one expert and stick with it. The dispatcher learns to favor different experts at different depths—perhaps using a general expert for low-level textures and a specialized expert for high-level diagnostic features.
  • Efficiency via Sparsity: While it uses multiple experts, the dispatcher remains lightweight, achieving significant performance gains without a massive increase in the number of tunable parameters.

Unprecedented Results Across 47 Tasks

The authors tested pMoE on a massive scale across 47 adaptation tasks, spanning general domains (VTAB-1K, FGVC) and medical domains (Med-VTAB, Kvasir-seg, ISIC). pMoE consistently outperformed existing state-of-the-art (SOTA) methods:

  • General Benchmarks: On the VTAB-1K benchmark, pMoE (combined with LSPT) achieved an average accuracy of 80.31%, surpassing the previous best of 77.95%.
  • Medical Mastery: In specialized medical classification, pMoE showed dramatic improvements, outperforming standard LSPT by 4.15 points on polyp detection tasks.
  • Segmentation Gains: On the ADE20K dataset, it improved mIoU (a measure of segmentation accuracy) by up to 1.85 points compared to baseline methods.
Comparison results on VTAB-1K benchmarks showing pMoE's superior performance across Natural, Specialized, and Structured tasks.

Limitations and Future Work

While pMoE is highly parameter-efficient in terms of tunable weights, it is not necessarily "inference-efficient." Running multiple expert backbones increases the total floating-point operations (FLOPs) compared to a single-model approach.

To address this, the authors suggest future work could explore sparse activation—where only the most relevant expert backbones are actually run for a given input—to further reduce the computational footprint. Additionally, exploring more sophisticated dispatcher architectures and automated ways to select the optimal "expert team" for a specific task remains a promising frontier.

Summary updated

BibTeX
@inproceedings{mo2025pmoe,
  author = {Shentong Mo and Xufang Luo and Dongsheng Li},
  title = {{pMoE: Prompting Diverse Experts Together Wins More in Visual Adaptation}},
  booktitle = {International Conference on Learning Representations},
  year = {2025},
  url = {https://openreview.net/forum?id=scozdyKzET},
}
Figure