MixUp-MIL: Novel Data Augmentation for Multiple Instance Learning and a Study on Thyroid Cancer Diagnosis

Michael Gadermayr, Lukas Koller, Maximilian Ernst Tschuchnig, Lea Maria Stangassinger, Christina Kreutzer, Sebastien Couillard-Despres, Gertie Janneke Oostingh, Anton Hittmair

TL;DR

Researchers have developed MixUp-MIL, a novel feature-level data augmentation strategy specifically designed for Multiple Instance Learning (MIL) in digital pathology. While standard "MixUp" (interpolating between different images) actually hindered performance, their new multilinear intra-slide interpolation—which mixes features within a single slide—consistently improved the accuracy of thyroid cancer diagnosis.

What Problem Does This Paper Address?

In digital pathology, Whole Slide Images (WSIs) are gargantuan, often containing billions of pixels. Because it is impractical to label every tiny patch of tissue, researchers use Multiple Instance Learning (MIL). In MIL, an entire slide is treated as a "bag" of unlabeled patches, and only the bag itself gets a global label (e.g., "cancer" or "benign").

The big challenge? While each slide has millions of pixels, the number of labeled slides in a dataset is often very small (sometimes fewer than 100). This leads to severe overfitting. Standard data augmentation (like rotating or flipping images) helps but is computationally expensive because you have to re-process those massive images through a deep neural network every time. This paper looks for a way to perform efficient augmentation directly on the extracted feature vectors to improve model generalization.

Methods

The authors explored several ways to adapt the "MixUp" principle—originally designed for standard image classification—to the MIL setting:

  1. Inter-MixUp: This follows the traditional MixUp approach by linearly interpolating between the feature vectors of two different slides. If the slides have different labels, the target label is also interpolated.
  2. Intra-MixUp (Linear): Instead of mixing different slides, this method mixes different patches within the same slide. This keeps the "synthetic" data closer to the characteristics of the original tissue sample.
  3. Intra-MixUp (Multilinear) [The Novel Approach]: Rather than using a single scaling factor ($\alpha$) for the entire feature vector, this method uses an element-wise product with a random weight vector. This "multilinear" approach creates much higher variability in the synthetic features, providing stronger regularization.

The beauty of these methods is computational efficiency. Since the augmentation happens at the feature level, the heavy lifting of feature extraction only happens once.

Datasets

The study focused on a challenging diagnostic task: distinguishing between benign follicular nodules (FN) and papillary carcinomas (PC) in the thyroid.

  • Thyroid Cancer Dataset: 80 WSIs in total.
  • Two Modalities: The set was split into 40 frozen sections (often used for rapid intraoperative diagnosis) and 40 paraffin sections (the gold standard for permanent sections).
  • Feature Extraction: Features were extracted using a ResNet18 model pre-trained on ImageNet, resulting in 1024 patches per slide, each represented by a 512-dimensional vector.

Key Insights and Ideas

  • Inter-Slide Mixing Fails: Surprisingly, mixing features from two different slides (Inter-MixUp) often decreased accuracy. The authors hypothesize that the variability between different slides (due to different staining or preparation) is so high that interpolating between them creates "unrealistic" feature vectors that confuse the model.
  • The Power of "Intra": Augmenting within a single slide (Intra-MixUp) proved far more effective. It acts as a form of "feature smoothing" that helps the model learn the underlying distribution of a specific tissue type without being distracted by inter-slide artifacts.
  • Multilinear is Key: The transition from a single scalar weight to a weight vector (multilinear) was the "aha moment." It provides a much richer set of synthetic samples, which is crucial when the training set is as small as 80 slides.

Key Results

The authors compared their methods against a "dual-stream" MIL baseline and common augmentations like random noise.

  • Frozen Sections: The baseline accuracy was ~0.72. The novel multilinear intra-slide interpolation boosted this to 0.78 (a significant jump for such a small dataset).
  • Paraffin Sections: The baseline was ~0.81. The multilinear approach pushed this to 0.84.
  • Consistency: While other augmentation methods (like adding random noise or Inter-MixUp) showed inconsistent or negative results, the multilinear intra-slide method was the only one to show consistent improvements across different model configurations.

Limitations and Future Work

  • Stain Variability: The failure of Inter-MixUp suggests that the model is highly sensitive to staining differences. The authors suggest that combining their method with stain normalization might unlock the potential of inter-slide augmentation.
  • Dataset Scale: While the results are promising, 80 slides is a small sample size. Future work should validate these findings on larger, multi-center benchmarks (like TCGA).
  • Fixed Features: This study used a frozen ResNet18 for feature extraction. Exploring how these augmentation strategies perform when the feature extractor is trained end-to-end or via self-supervised learning is a logical next step.

Summary updated

BibTeX
@inproceedings{gadermayr2023mixup,
  author = {Michael Gadermayr and Lukas Koller and Maximilian Ernst Tschuchnig and Lea Maria Stangassinger and Christina Kreutzer and Sebastien Couillard-Despres and Gertie Janneke Oostingh and Anton Hittmair},
  title = {{MixUp-MIL: Novel Data Augmentation for Multiple Instance Learning and a Study on Thyroid Cancer Diagnosis}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2023},
  doi = {10.1007/978-3-031-43987-2\_46},
}
Figure