Abstract
Predicting disease-related molecular traits from histomorphology brings great opportunities for precision medicine. Despite the rich information present in histopathological images, extracting fine-grained molecular features from standard whole slide images (WSI) is non-trivial. The task is further complicated by the lack of annotations for subtyping and contextual histomorphological features that might span multiple scales. This work proposes a novel multiple-instance learning (MIL) framework capable of WSI-based cancer morpho-molecular subtyping across scales. Our method, debuting as Inter-MIL, follows a weakly-supervised scheme. It enables the training of the patch-level encoder for WSI in a task-aware optimisation procedure, a step normally improbable in most existing MIL-based WSI analysis frameworks. We demonstrate that optimising the patch-level encoder is crucial to achieving high-quality fine-grained and tissue-level subtyping results and offers a significant improvement over task-agnostic encoders. Our approach deploys a pseudo-label propagation strategy to update the patch encoder iteratively, allowing discriminative subtype features to be learned. This mechanism also empowers extracting fine-grained attention within image tiles (the small patches), a task largely ignored in most existing weakly supervised-based frameworks. With Inter-MIL, we carried out four challenging cancer molecular subtyping tasks in the context of ovarian, colorectal, lung, and breast cancer. Extensive evaluation results show that Inter-MIL is a robust framework for cancer morpho-molecular subtyping with superior performance compared to several recently proposed methods, even in data-limited scenarios where the number of available training slides is less than 100. The iterative optimisation mechanism of Inter-MIL significantly improves the quality of the image features learned by the patch embedded and generally directs the attention map to areas that better align with experts’ interpretation, leading to the identification of more reliable histopathology biomarkers.
Introduction
In modern oncology, precision medicine relies on identifying specific molecular traits—such as gene mutations or protein expressions—to tailor treatments to individual patients. Traditionally, this requires expensive and time-consuming molecular assays. Digital pathology offers a promising alternative: whole slide images (WSIs) of tissue samples contain a wealth of morphological information that correlates with molecular traits. However, extracting these signals is challenging due to the gigapixel scale of WSIs, the lack of local annotations (weak supervision), and the limitations of standard Multiple Instance Learning (MIL) methods that use fixed, task-agnostic feature encoders.
The Inter-MIL Framework
To address these challenges, we introduce Inter-MIL, a framework that enables task-aware optimization of the patch encoder. Unlike conventional MIL approaches that keep the encoder frozen, Inter-MIL employs an iterative, three-step "self-interactive" loop to refine feature perception:
- Global Modeling: A slide-level aggregator (Gated Attention Pooling) analyzes tile features to predict molecular traits and assigns attention scores to each tile.
- Feature Refresh: The system selects representative tiles—those with high attention (likely positive) and low attention (likely negative)—and assigns them pseudo-labels based on the slide-level ground truth.
- Fine-tuning: The tile-level encoder is fine-tuned using these pseudo-labeled tiles, specializing it for the specific molecular subtyping task.
Additionally, we propose adInter-MIL, which incorporates adversarial training to improve robustness by helping the model ignore noisy or non-informative tiles.
Experimental Evaluation
We evaluated Inter-MIL on four challenging molecular subtyping tasks using datasets from The Cancer Genome Atlas (TCGA):
- OV-EMT: Epithelial-to-Mesenchymal Transition status in ovarian cancer (70 slides).
- COLU-KRAS: KRAS mutations in colorectal and lung cancers (112 slides).
- LU-EGFR: EGFR mutations in lung cancer (261 slides).
- BR-HER2: HER2 amplification in breast cancer (415 slides).
These datasets are relatively small for deep learning, providing a rigorous test of the framework's efficiency and robustness in data-limited scenarios.
Results and Interpretability
Inter-MIL consistently outperformed state-of-the-art MIL frameworks across all tasks. For instance, in the OV-EMT task, Inter-MIL achieved a ROC-AUC of 74.55%, compared to approximately 62.6% for standard MIL methods.
A key advantage of Inter-MIL is its interpretability. By optimizing the encoder for the specific task, the model learns to focus on biologically relevant features. As training progresses, attention maps evolve from scattered distributions to precise highlights of nuclear regions and cellular structures associated with the disease.
Conclusion
Inter-MIL represents a significant step forward in predicting molecular traits from histopathology. By bridging the gap between global slide-level modeling and fine-grained tile-level feature extraction through iterative optimization, the framework achieves high accuracy and provides reliable biomarkers for precision medicine, even with limited training data.
Summary updated