PIMMS: Permutation Invariant Multi-Modal Segmentation

Thomas Varsavsky, Zach Eaton-Rosen, Carole H. Sudre, Parashkev Nachev, M. Jorge CardosoarXiv 2018

TL;DR

PIMMS (Permutation Invariant Multi-Modal Segmentation) is a deep learning framework designed to segment MRI scans even when modality labels (like T1, T2, or FLAIR) are missing or the input order is randomized. By using an internal modality classifier to automatically weight and process inputs, PIMMS achieves performance comparable to—and sometimes better than—state-of-the-art models that rely on manual labels.

What Problem Does This Paper Address?

In medical research, datasets are usually pristine: every scan is high-quality, follows a strict protocol, and is clearly labeled. However, the "wild" environment of a clinical hospital is much messier. Scanners from different manufacturers produce varying contrasts, protocols are flexible, and crucial metadata—like which sequence is a T1 vs. a FLAIR—is frequently missing or incorrectly labeled in hospital databases.

Existing multi-modal segmentation algorithms often require these labels to route images to the correct processing branch. If a hospital wants to use these tools, they often face a significant operational hurdle in manually labeling data. The authors tackle this by proposing a model that is permutation invariant (the order of input scans doesn't matter) and robust to missing modalities, allowing for seamless deployment in unconstrained clinical settings.

Methods

The core of PIMMS is a multi-stage architecture that replaces manual labeling with an automated "attention" mechanism.

  1. Modality Classifier ($f_{mod}$): A ResNet-based network takes each input scan and predicts a distribution over possible modalities.
  2. Attention Mechanism: The authors explored three ways to use these predictions to create a modified input representation ($\hat{X}$):
  3. Hard Attention: Uses a categorical argmax to pick the most likely modality label.
  4. Soft Attention: Creates a weighted sum of the inputs based on the classifier's probabilities.
  5. Online: A variant where the classifier and segmentation network are trained jointly, allowing the model to learn its own optimal internal representations.
  6. Back-ends and Abstraction: The weighted inputs are fed into modality-specific "back-end" networks ($\phi_m$). An "abstraction layer" then calculates the mean and variance across these processed features. This step is crucial because it allows the network to handle a variable number of input scans.
  7. Front-end ($\phi_{seg}$): A final segmentation network produces the lesion mask.
Diagram showing the PIMMS network architecture, highlighting the modality classifier and the segmentation pipeline.

Datasets

The study utilized a diverse collection of datasets to capture real-world acquisition variability:

  • ADNI (Alzheimer’s Disease Neuroimaging Initiative): 973 subjects with T1 and FLAIR scans. Used as a "Silver Protocol" holdout.
  • SABRE Study: Two cohorts; one with low variance (same scanner) and one with high variance (multiple scanners/settings).
  • MICCAI 2017 WMH Challenge: 60 subjects with high-quality human-rater labels, used as the "Gold Protocol" holdout.
  • Training Set: A total of 2,474 subjects were used for the primary 80/10/10 training split.

Key Insights and Ideas

  • Soft Attention > Hard Attention: The "Soft" variant often outperformed the "Hard" one. This suggests that treating MRI modalities as a continuous spectrum—rather than discrete buckets—better captures the underlying physical signals (like relaxation times) that vary between scanners.
  • Label Independence: The "Online" model can outperform the baseline (HeMIS) even though HeMIS is given the "correct" labels. This implies that the labels provided by humans might not always be the most computationally useful way to represent the data for a segmentation task.
  • Generalization Challenges: While the modality classifier was 99% accurate on the mixed holdout, accuracy dropped to ~87% on unseen protocols. This highlights that inter-scanner variance remains a significant hurdle for medical AI.

Key Results

The researchers compared PIMMS against HeMIS, a strong baseline that handles missing modalities but requires manual labels.

  • Superior Performance: In the "Mixed Holdout" test, the PIMMS Online model achieved a Dice score of 0.54 when all modalities were present, significantly outperforming HeMIS's 0.47.
  • Robustness: Even when modalities were missing, PIMMS maintained competitive performance. For example, using only a FLAIR scan in the mixed holdout, PIMMS Online reached a Dice score of 0.41 compared to HeMIS's 0.16.
  • Qualitative Success: As shown in Figure 2, the model effectively captures large white matter lesions, though it remains challenged by scans with significantly different contrast settings.
Fig. 2: Qualitative results showing white matter lesion segmentations on the mixed holdout set. Images show the ground truth on the left and the network predictions on the right. Red shows the predicted segmentation. The results were chosen to highlight the 95th, 50th, and 20th percentile in terms of Dice score for a model which is trained on all available scans but does not use modality labels.

Detailed quantitative results across different holdout sets and modality combinations can be found in the paper's summary table:

Table showing Dice scores and Average Symmetric Distance for different model variants across various holdout sets.

Limitations and Future Work

  • Overprediction: The authors noted that the "Online" model tends to overpredict the positive class (lesions), which boosts the Dice score but can lead to a higher Average Symmetric Distance (ASD).
  • 2D vs 3D: The current implementation processes 2D patches. The authors plan to extend this framework to full 3D inference in future iterations.
  • Unsupervised Learning: A promising next step is moving toward a completely unsupervised model that doesn't require any scan labels during training, relying entirely on the physical structure of the data.

Summary updated

BibTeX
@misc{varsavsky2018pimms,
  author = {Thomas Varsavsky and Zach Eaton-Rosen and Carole H. Sudre and Parashkev Nachev and M. Jorge Cardoso},
  title = {{PIMMS: Permutation Invariant Multi-Modal Segmentation}},
  year = {2018},
  eprint = {1807.06537},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/1807.06537},
}
Figure