NeurIPS 2026Coming to NeurIPS?Explore papers, orals & directions

SegMoTE: Token-Level Mixture of Experts for Medical Image Segmentation

Yujie Lu, Jingwen Li, Sibo Ju, Yanzhou Su, He Yao, Yisong Liu, Min Zhu, Junlong Cheng

TL;DR

SegMoTE adapts the Segment Anything Model (SAM) to diverse medical imaging modalities using a lightweight, token-level Mixture of Experts (MoE) framework. By training just 17M parameters on a highly curated dataset less than 1% the size of competing benchmarks, it achieves state-of-the-art medical segmentation performance while preserving SAM's original zero-shot capabilities.

What Problem Does This Paper Address?

Foundation models like SAM excel at natural image segmentation but struggle when applied directly to clinical medical imaging. Medical data is highly heterogeneous, spanning distinct modalities like CT, MRI, X-ray, and dermoscopy, each with unique contrast characteristics and anatomical complexities.

Existing adaptation methods typically brute-force this problem by fully fine-tuning the model or applying Parameter-Efficient Fine-Tuning (PEFT) over massive, uncurated datasets. This approach introduces two major bottlenecks:

  1. Representation Drift: The model's original general segmentation capabilities are compromised as its representations shift entirely toward the new data distribution.
  2. Noisy Supervision: Massive medical datasets often contain low-quality or inconsistent annotations, leading to negative transfer and high computational costs.

Additionally, medical deployment often requires fully automatic segmentation, whereas models like SAM rely heavily on manual interactive prompts (points or bounding boxes).

Methods

The authors introduce SegMoTE (Segmentation with Mixture of Token Experts), a framework that keeps the heavy SAM image encoder frozen and introduces two lightweight, dynamic components:

1. Token-Level Mixture of Experts (MoTE)

Instead of routing entire images through different expert networks, SegMoTE introduces a set of learnable expert tokens directly into SAM's mask decoder. During inference, a noisy top-k router network dynamically selects and weights the most appropriate expert tokens based on the input modality. To prevent the router from over-activating a single expert, the authors enforce a load-balancing loss ($L_{balance}$) using the squared coefficient of variation.

Figure 2. Overview of the proposed SegMoTE framework. SegMoTE extends SAM by introducing a token-level expert routing mech- anism to enable adaptive multimodal medical image segmentation. The frozen SAM encoder extracts modality-agnostic embedding rep- resentations, while the progressive prompt tokenization transforms latent features into semantically aligned feature tokens. These tokens interact with the decoder layers and MoTE for dynamic expert selection and adaptive token updates.

2. Progressive Prompt Tokenization (PPT)

To eliminate the need for manual human prompts during clinical inference, the PPT module automatically generates feature-conditioned prompt tokens. For binary classification tasks, it uses a learnable query token that alternates between mask and text prompts during training, progressively guiding the model to distinguish foreground lesions or organs from the background.

Datasets

The model was trained and evaluated using the following datasets:

  • MedSeg-HQ (Newly Introduced): A highly curated multimodal dataset assembled by the authors. It integrates 12 public datasets (including CHAOS, ISIC, BTCV, ACDC, AMOS, WORD, TotalSegmentator, and SZ-CXR), yielding 154,569 high-quality masks across 6 modalities and over 100 semantic categories. Though it represents less than 1% of the data volume used by competing benchmarks, it was strictly filtered by experts for clarity, contrast, and boundary accuracy.
  • Out-of-Domain Evaluation Datasets: To test zero-shot generalization, the authors evaluated SegMoTE on external datasets including ISLES (Ischemic Stroke Lesion), SegThor (thoracic organs), and TotalSegmentator (MRI).

Key Insights and Ideas

  • Data Quality Beats Data Quantity: Training on the small but meticulously cleaned MedSeg-HQ dataset yielded better generalization than models trained on datasets 100x larger. This demonstrates that data curation successfully mitigates negative transfer in medical AI.
  • Token-Level MoE is Ultra-Efficient: By isolating the expert routing to the token level within the decoder, the framework adds only 17M learnable parameters (roughly 1.4% of SAM's total parameter count), making it highly scalable and lightweight.
  • Interpretable Routing Paths: Statistical analysis of the router showed that it naturally learns modality preferences. Specific expert tokens consistently "voted" for CT scans, while others automatically activated for dermoscopy or MRI, providing an inherent layer of model interpretability.

Key Results

  • Out-of-Domain Superiority: Under bounding-box interactions, SegMoTE outperformed existing state-of-the-art medical segmentation models (like MedSAM and IMIS) by 1% to 6% across various datasets.
  • Massive Gains on Stroke Lesions: On the out-of-domain ISLES dataset, SegMoTE achieved a 77.30% Dice coefficient, representing a 6% absolute improvement over the next best method (IMIS at 71.24%).
  • Successful Automation: The PPT module enabled highly effective interaction-free segmentation on binary datasets, outperforming traditional prompt-less baselines by 1% to 3% on in-domain data and up to 6% on out-of-domain data.

Limitations and Future Work

While SegMoTE delivers impressive efficiency, the authors note a few limitations:

  • Binary Restriction for PPT: The Progressive Prompt Tokenization mechanism is currently optimized only for binary classification tasks (separating a single target from the background). In complex multi-class scenarios, class interference complicates accurate automatic prompt token mapping.
  • Dimensionality: The current framework is evaluated on 2D slices. The authors plan to extend this token-level MoE architecture to handle 3D medical volumes and medical video analysis natively.

Summary updated

BibTeX
@inproceedings{lu2026segmote,
  author = {Yujie Lu and Jingwen Li and Sibo Ju and Yanzhou Su and He Yao and Yisong Liu and Min Zhu and Junlong Cheng},
  title = {{SegMoTE: Token-Level Mixture of Experts for Medical Image Segmentation}},
  booktitle = {IEEE/CVF Conference on Computer Vision and Pattern Recognition},
  year = {2026},
  url = {https://openreview.net/forum?id=wGARS0WX53},
}
Figure