ModelMix: A New Model-Mixup Strategy to Minimize Vicinal Risk across Tasks for Few-scribble based Cardiac Segmentation

Ke Zhang, Vishal M. PatelarXiv 2024 · OpenReview

TL;DR

This paper introduces ModelMix, a novel approach for cardiac segmentation using limited "scribble" annotations. By interpolating model parameters from related segmentation tasks, ModelMix creates virtual models that learn from each other, significantly improving segmentation accuracy with very few scribbles. This is crucial for medical imaging where full annotations are costly and time-consuming.

What Problem Does This Paper Address?

Creating detailed, pixel-level annotations for medical images is a major bottleneck in developing accurate segmentation models. While full annotations are ideal, they are extremely labor-intensive and expensive. Researchers have explored "weak" annotations like image-level labels or sparse points, but "scribbles" – short lines indicating object boundaries – offer a more practical balance between annotation effort and information content. However, training robust segmentation models with only a few scribbles per image remains a significant challenge. Existing methods often struggle with limited supervision and can easily overfit. This paper tackles the problem of few-scribble supervised segmentation, specifically for cardiac imaging, by leveraging the idea that different, but related, segmentation tasks can inform each other.

Methods

The core innovation of ModelMix lies in its "model parameter interpolation" strategy. Instead of mixing input images (like traditional Mixup), ModelMix mixes the parameters of separate neural network encoders trained on different, but related, segmentation tasks. The key assumptions are:

  1. Task Correlation: Different cardiac segmentation tasks (e.g., segmenting different heart chambers or pathologies) are related.
  2. Vicinal Principle: Models trained for these related tasks are located in a "vicinity" of a general, ideal model.

ModelMix works in three main steps:

  1. Individual Model Training: Separate encoder-decoder networks are trained for each specific segmentation task using available scribbles and unlabeled data. To improve robustness, image-level (e.g., random cutout) and model-level (e.g., dropout) perturbations are applied.
  2. Virtual Model Construction: For a given task, ModelMix randomly selects convolutional layers from its encoder and interpolates their parameters (kernels and biases) with those from another encoder trained on a complementary task. This creates "virtual" models that blend knowledge from different tasks.
  3. Vicinal Regularization: The constructed virtual models are regularized to ensure their segmentation outputs are consistent with the original individual models. This is done in two ways:
  4. Unsupervised Vicinal Regularization: Minimizing the cosine similarity between the outputs of the virtual model and the original model.
  5. Scribble-Supervised Vicinal Regularization: Applying a supervised loss (combination of cross-entropy and Dice loss) to the virtual model's outputs using the available scribbles.

This regularization encourages the virtual models to generalize across all tasks while maintaining performance on their original tasks.

Datasets

The paper evaluates ModelMix on three publicly available cardiac MRI datasets:

  • ACDC (Automated Cardiac Diagnosis Challenge): Contains cardiac MR images with annotations for the right ventricle (RV), left ventricle (LV), and myocardium (MYO).
  • MSCMRseg: Features late gadolinium enhancement (LGE) cardiac MR images, with annotations for LV, RV, and edema.
  • MyoPS: Includes multi-sequence CMR images (BSSFP, LGE, T2-weighted) encompassing scar and edema characteristics.

For all datasets, the models were trained using five randomly selected scribble-annotated volumes along with other unlabeled images.

Key Insights and Ideas

  • Parameter Space is Richer than Image Space for Transfer: The core idea that mixing model parameters can be more effective than mixing images for transfer learning, especially across different datasets or tasks with potentially different label spaces, is a key insight. This circumvents issues with label alignment and domain gaps inherent in image-based mixup.
  • Vicinal Risk Minimization for Model Blending: Applying the vicinal risk minimization principle to the parameter space of neural networks is a novel way to leverage related tasks. It suggests that the performance landscape of models for related tasks is smooth enough for interpolation to yield meaningful results.
  • Complementary Tasks Boost Performance: The experiments strongly suggest that combining knowledge from related cardiac segmentation tasks (e.g., scar segmentation with edema segmentation) significantly boosts performance, even when using very limited scribbles. This highlights the power of leveraging domain knowledge in a data-scarce setting.
  • Separate Encoders Outperform Shared Encoders in Low-Data Regimes: The comparison with a shared encoder baseline shows that for limited supervision, separate encoders that are then blended via ModelMix are more effective than a single encoder trying to generalize across all tasks.

Key Results

ModelMix demonstrated state-of-the-art performance on all three datasets for few-scribble supervised cardiac segmentation.

  • On MSCMRseg, ModelMix (when combined with MyoPS) achieved an average Dice score improvement of 9.7% over other scribble-supervised methods.
  • On MyoPS, ModelMix (when combined with ACDC and MSCMRseg) outperformed the second-best comparison methods by 22.4% and 26.9% in Dice score.
  • Qualitative results showed ModelMix producing more realistic and accurate segmentations, especially in challenging cases.
  • Ablation studies confirmed that each component of ModelMix (Mix-based augmentation, supervised vicinal loss, unsupervised vicinal loss) contributed to performance gains.

Limitations and Future Work

  • Task Selection: The paper assumes that tasks are "correlated" or "complementary." The effectiveness of ModelMix might depend on the choice of these tasks. Future work could explore methods for automatically identifying optimal complementary tasks.
  • Computational Cost: Training multiple individual models and then performing parameter interpolation might increase computational overhead compared to single-task training.
  • Generalizability: While validated on cardiac MRI, the generalizability of ModelMix to other medical imaging modalities or segmentation tasks could be explored.
  • Hyperparameter Tuning: The performance might be sensitive to hyperparameters like the beta distribution for sampling mix ratios and the specific layers chosen for interpolation.

The authors suggest that ModelMix is a general approach that can be applied to other weakly supervised segmentation problems where complementary tasks exist.

Summary updated

Abstract

Pixel-level dense labeling is both resource-intensive and time-consuming, whereas weak labels such as scribble present a more feasible alternative to full annotations. However, training segmentation networks with weak supervision from scribbles remains challenging. Inspired by the fact that different segmentation tasks can be correlated with each other, we introduce a new approach to few-scribble supervised segmentation based on model parameter interpolation, termed as ModelMix. Leveraging the prior knowledge that linearly interpolating convolution kernels and bias terms should result in linear interpolations of the corresponding feature vectors, ModelMix constructs virtual models using convex combinations of convolutional parameters from separate encoders. We then regularize the model set to minimize vicinal risk across tasks in both unsupervised and scribble-supervised way. Validated on three open datasets, i.e., ACDC, MSCMRseg, and MyoPS, our few-scribble guided ModelMix significantly surpasses the performance of the state-of-the-art scribble supervised methods.
BibTeX
@misc{zhang2024modelmix,
  author = {Ke Zhang and Vishal M. Patel},
  title = {{ModelMix: A New Model-Mixup Strategy to Minimize Vicinal Risk across Tasks for Few-scribble based Cardiac Segmentation}},
  year = {2024},
  eprint = {2406.13237},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2406.13237},
}
Figure