Do Multiple Instance Learning Models Transfer?

TL;DR

MIL models show superior transfer across organs, boosting performance by 9.8%.

cs.CV 🟡 Intermediate 2025-06-11 9 views
Daniel Shao Richard J. Chen Andrew H. Song Joel Runevic Ming Y. Lu Tong Ding Faisal Mahmood
Multiple Instance Learning Transfer Learning Computational Pathology Deep Learning Medical Imaging

Key Findings

Methodology

The study evaluates the transfer capabilities of 11 MIL models across 21 pretraining tasks, focusing on morphological and molecular subtype prediction. It uses pretrained encoders for feature extraction from whole slide images (WSIs) and trainable aggregators for feature pooling. Models like ABMIL and TransMIL were used.

Key Results

  • Pretrained MIL models excel in cross-organ tasks, with an average improvement of 9.8%.
  • Pancancer pretrained models outperform scratch models in generalization across organs and tasks.
  • Models pretrained on PC-108 show a 3.3% average improvement across 19 tasks.

Significance

This study highlights the robust adaptability of MIL models in computational pathology, especially with small datasets. Transfer learning enhances model performance across different organs and tasks, indicating broad potential in medical imaging analysis.

Technical Contribution

The study provides a standardized implementation of MIL models and pretrained weights, demonstrating the effectiveness of pancancer pretraining in enhancing transfer capabilities across tasks.

Novelty

This is the first systematic evaluation of MIL model transferability in computational pathology, particularly across different organ tasks, filling a research gap in the field.

Limitations

  • The model's transfer effectiveness may be limited in tasks with significant dataset differences.
  • High reliance on instance-level auxiliary loss may affect model convergence.

Future Work

Future research could explore the performance of more complex MIL architectures in transfer learning and their application on larger and more diverse datasets.

AI Executive Summary

Multiple Instance Learning (MIL) models are used in computational pathology to generate clinically meaningful embeddings from whole slide images. However, MIL often struggles with small, weakly supervised clinical datasets. Unlike fields such as NLP and conventional computer vision, the transferability of MIL models remains poorly understood.

This study systematically evaluates the transfer learning capabilities of pretrained MIL models, analyzing 11 models across 21 pretraining tasks. Results show that pretrained MIL models consistently outperform models trained from scratch, even when trained on different organs. Additionally, models pretrained on pancancer datasets demonstrate strong generalization across organs and tasks, using significantly less pretraining data.

These findings underscore the robust adaptability of MIL models and demonstrate the benefits of leveraging transfer learning to enhance performance in computational pathology. The study also provides a resource standardizing the implementation of MIL models and pretrained weights for popular computational pathology tasks.

Deep Analysis

Background

Multiple Instance Learning (MIL) is a key method in computational pathology for generating clinically meaningful embeddings from whole slide images. With the advancement of deep learning, MIL's application in pathology image analysis has grown. However, the performance of MIL models is limited by the small size and labeling difficulty of pathology datasets.

Core Problem

MIL models perform poorly on small, weakly supervised clinical datasets, limiting their practical application. Unlike NLP and computer vision, MIL model transferability has not been thoroughly studied.

Innovation

This study is the first to systematically evaluate MIL model transferability in computational pathology, particularly across different organ tasks. By using pancancer datasets for pretraining, models show excellent generalization across organs and tasks.

Methodology

  • �� Use pretrained encoders for feature extraction from WSIs
  • �� Use trainable aggregators for feature pooling
  • �� Evaluate 11 MIL architectures across 21 tasks
  • �� Use metrics like AUROC and weighted kappa for performance evaluation

Experiments

The experimental design includes evaluating the transfer capabilities of different MIL architectures across 21 pretraining tasks. Metrics used include AUROC, weighted kappa, and balanced accuracy. The study also involves comparative analysis of different pretraining datasets.

Results

The study finds that pretrained MIL models excel in cross-organ tasks, with an average improvement of 9.8%. Particularly, models pretrained on pancancer datasets show strong generalization across organs and tasks.

Applications

MIL models in computational pathology are applied in cancer classification, grading, and molecular subtype prediction. Their strong transferability allows them to perform well even with small datasets.

Limitations & Outlook

While the study demonstrates strong transferability of MIL models, their effectiveness may be limited in certain tasks. Additionally, high reliance on instance-level auxiliary loss may affect model convergence.

Plain Language Accessible to non-experts

Imagine you're cooking in a kitchen. Each ingredient is like a small part of a whole slide image, and the recipe is the pretraining task. By learning different recipes, you can better understand how to combine ingredients, even when faced with new combinations. This is like how MIL models transfer knowledge across tasks through pretraining.

ELI14 Explained like you're 14

Imagine you're playing a super complex puzzle game. Each puzzle piece is a small image, and the whole puzzle is a whole slide image. By practicing different puzzles, you can complete new ones faster. This is like how MIL models transfer knowledge across tasks through pretraining. Cool, right?

Glossary

Multiple Instance Learning (MIL)

A machine learning method where models are trained on labeled collections of instances, known as 'bags', without individual instance labels.

Used for generating clinically meaningful embeddings from whole slide images.

Transfer Learning

A machine learning technique where knowledge gained from one task is used to improve performance on another task.

Evaluating MIL model transferability across different tasks.

Whole Slide Image (WSI)

Digitized images of human tissue sections, typically with ultra-high resolution.

MIL models are used to extract features from WSIs.

Pancancer Dataset

A dataset containing multiple cancer types, used to train models for better generalization.

Used to evaluate model transferability across organs and tasks.

AUROC

Area under the receiver operating characteristic curve, used to evaluate the performance of classification models.

Used to evaluate MIL model performance on binary classification tasks.

Open Questions Unanswered questions from this research

  • 1 MIL model transferability on extremely small datasets needs further study.
  • 2 How to optimize instance-level auxiliary loss to improve model convergence.

Applications

Immediate Applications

Cancer Classification

Enhance MIL model performance on small datasets through transfer learning, aiding doctors in more accurate cancer diagnosis.

Long-term Vision

Cross-Organ Pathology Analysis

Develop MIL models that efficiently transfer across different organs, advancing personalized medicine.

Abstract

Multiple Instance Learning (MIL) is a cornerstone approach in computational pathology (CPath) for generating clinically meaningful slide-level embeddings from gigapixel tissue images. However, MIL often struggles with small, weakly supervised clinical datasets. In contrast to fields such as NLP and conventional computer vision, where transfer learning is widely used to address data scarcity, the transferability of MIL models remains poorly understood. In this study, we systematically evaluate the transfer learning capabilities of pretrained MIL models by assessing 11 models across 21 pretraining tasks for morphological and molecular subtype prediction. Our results show that pretrained MIL models, even when trained on different organs than the target task, consistently outperform models trained from scratch. Moreover, pretraining on pancancer datasets enables strong generalization across organs and tasks, outperforming slide foundation models while using substantially less pretraining data. These findings highlight the robust adaptability of MIL models and demonstrate the benefits of leveraging transfer learning to boost performance in CPath. Lastly, we provide a resource which standardizes the implementation of MIL models and collection of pretrained model weights on popular CPath tasks, available at https://github.com/mahmoodlab/MIL-Lab

cs.CV