Prototype Knowledge Distillation for Medical Segmentation with Missing Modality

Shuai Wang, Zipei Yan, Daoan Zhang, Haining Wei, Zhongsen Li, Rui Li

TL;DR

This paper introduces ProtoKD, a novel knowledge distillation method for medical image segmentation that tackles the challenge of missing modalities during inference. By transferring not just pixel-level knowledge but also intra- and inter-class feature variations from a multi-modal teacher to a single-modal student, ProtoKD significantly improves segmentation performance, achieving state-of-the-art results on the BraTS benchmark.

What Problem Does This Paper Address?

Medical image segmentation often benefits from using multiple imaging modalities (e.g., different MRI sequences) as they provide complementary information. However, in real-world clinical settings, it's common to have incomplete datasets, meaning some modalities might be missing for certain patients, especially during inference. This poses a significant challenge for segmentation models trained on complete multi-modal data. Existing approaches either try to synthesize missing modalities (complex and often imperfect) or learn modality-invariant representations (which can struggle with single-modality inputs). This paper addresses the critical need for robust segmentation models that can perform well even when only a single imaging modality is available at test time, by leveraging knowledge from a model trained on complete multi-modal data.

Methods

The core of the proposed method is Prototype Knowledge Distillation (ProtoKD), which builds upon standard pixel-wise knowledge distillation.

  • Teacher-Student Framework: A "teacher" model is trained on complete multi-modal data, while a "student" model is trained to perform segmentation using only single-modality data. Both models share the same architecture.
  • Pixel-wise Knowledge Distillation: This standard technique encourages the student model's output predictions to mimic the teacher model's predictions by minimizing the Kullback-Leibler divergence between their softened probability distributions. This helps transfer the teacher's pixel-level understanding.
  • Prototype Knowledge Distillation (Novelty): This is the key innovation. The authors propose to transfer "intra-class and inter-class feature variations (I2FV)".
  • Prototypes: For each class (e.g., tumor, edema), a "prototype" is computed as the average feature embedding of all pixels belonging to that class.
  • I2FV Similarity: For each pixel, a similarity score is calculated between its feature embedding and the prototypes of all classes. This score captures how well a pixel's features align with the typical features of its own class (intra-class variation) versus other classes (inter-class variation).
  • Distillation: The student model is trained to match the I2FV similarity maps generated by the teacher model. This forces the student to learn not just individual pixel predictions but also the relationships and variations between features within and across different anatomical structures, as captured by the teacher.
  • Combined Loss: The final loss function for training the student model is a combination of:
  • Standard segmentation loss (cross-entropy + Dice loss).
  • Pixel-wise knowledge distillation loss ($L_{kd}$).
  • Prototype knowledge distillation loss ($L_{proto}$).

Datasets

The primary dataset used for training and evaluation is the BraTS 2018 Challenge dataset. This dataset contains 285 cases with four MRI modalities (T1, T2, T1ce, Flair) and manually annotated labels for enhancing tumor (ET), edema (ED), and non-enhancing tumor core (NET). The data is pre-processed, normalized, and randomly cropped to 96x128x128. The dataset is split into 70% for training, 10% for validation, and 20% for testing.

Key Insights and Ideas

  • Beyond Pixel-wise Distillation: The paper convincingly argues that simply matching pixel-level predictions isn't enough for complex medical segmentation. The structural and semantic nature of medical images requires transferring richer relational information.
  • Prototypes as Class Representatives: Using class prototypes is an elegant way to summarize the "essence" of each class's features, providing a stable reference point for distillation.
  • I2FV Captures Crucial Relationships: The intra- and inter-class feature variation distillation effectively captures how features vary within a class and how distinct classes are from each other. This is crucial for robust segmentation, especially when dealing with subtle differences or ambiguous boundaries.
  • Compatibility of Losses: The ablation study shows that combining pixel-wise and prototype distillation with the standard segmentation loss yields the best results, indicating that these components are complementary and synergistic.

Key Results

  • State-of-the-Art Performance: ProtoKD achieves state-of-the-art performance on the BraTS 2018 benchmark, outperforming existing methods like KD-Net and PMKL.
  • Significant Improvement over Unimodal Baseline: The method consistently improves the unimodal baseline performance across all modalities, with notable increases in Dice Score (DSC) by 4.3%, 0.9%, 3.7%, and 2.1% for T1, T2, T1ce, and Flair, respectively.
  • Statistical Significance: The performance gains are statistically significant, as confirmed by paired t-tests.
  • Qualitative Improvements: Visualizations show that ProtoKD produces more compact segmentation masks that are more similar to the ground truth compared to other methods.
  • Effectiveness of Components: Ablation studies confirm that both pixel-wise ($L_{kd}$) and prototype ($L_{proto}$) distillation contribute to performance improvements, with prototype distillation showing a stronger impact.

Limitations and Future Work

  • Computational Cost: While not explicitly detailed as a limitation, training a separate teacher model on multi-modal data adds to the overall training pipeline's complexity and computational cost.
  • Model Agnosticism: The authors mention that their method is model-agnostic and can be adopted by different segmentation backbones, suggesting future work could explore its integration with various architectures.
  • Generalizability: While tested on BraTS, future work could explore ProtoKD's effectiveness on other medical imaging datasets with missing modalities.
  • Hyperparameter Tuning: The optimal values for $\alpha$ and $\beta$ (weights for $L_{kd}$ and $L_{proto}$) might require careful tuning for different datasets or tasks.

Summary updated

BibTeX
@inproceedings{wang2023prototype,
  author = {Shuai Wang and Zipei Yan and Daoan Zhang and Haining Wei and Zhongsen Li and Rui Li},
  title = {{Prototype Knowledge Distillation for Medical Segmentation with Missing Modality}},
  booktitle = {IEEE International Conference on Acoustics, Speech and Signal Processing},
  year = {2023},
  url = {https://openreview.net/forum?id=DjwRmVylZQ},
}
Figure