Incorporating Intratumoral Heterogeneity into Weakly-Supervised Deep Learning Models via Variance Pooling

Iain Carmichael, Andrew H. Song, Richard J. Chen, Drew F. K. Williamson, Tiffany Y. Chen, Faisal Mahmood

Introduction

In digital pathology, Whole Slide Images (WSIs) provide a gigapixel-scale view of tumor biopsies. Analyzing these images typically involves Multiple Instance Learning (MIL), where a slide is treated as a "bag" of thousands of small image patches. Standard MIL architectures often rely on attention-based mean pooling to aggregate these patches into a single slide-level representation. However, this approach tends to "average out" the complex diversity within a tumor, known as intratumoral heterogeneity (ITH). Since ITH is a critical clinical indicator of cancer progression and patient prognosis, ignoring it limits the predictive power of deep learning models. This paper introduces variance pooling, a novel architectural component designed to explicitly capture ITH for improved cancer survival predictions.

Methodology: Attention Variance Pooling

The authors propose a "plug-and-play" module called Attention Variance Pooling that can be integrated into various MIL frameworks. The core innovation lies in a dual-branch aggregation strategy that processes patch-level features extracted by a pre-trained backbone (e.g., ResNet-50).

The proposed dual-branch architecture featuring Mean and Variance Pool Modules to capture both average signals and tissue diversity.

As shown in the pipeline above, the model splits into two paths:

  1. Mean Branch: Calculates the standard attention-weighted average of features to capture the dominant morphological signals.
  2. Variance Branch: Projects patch features onto learned "low-rank" vectors and calculates the variance along these projections. This allows the model to identify specific types of diversity—such as variations in cell shape or tissue density—that are most predictive of survival.

These two sets of features are concatenated and passed through a Multi-Layer Perceptron (MLP) to predict a survival risk score. This dual approach ensures the model "sees" both the typical characteristics and the chaotic diversity within the tissue.

Experimental Results

The study evaluated the module using 4,479 gigapixel WSIs from The Cancer Genome Atlas (TCGA), covering five cancer types: Breast (BRCA), Glioma (GBMLGG), Endometrial (UCEC), Colorectal (COADREAD), and Bladder (BLCA). Performance was measured using the concordance index (c-Index), which assesses the model's ability to rank patients by survival time.

Key findings include:

  • Consistent Performance Gains: Adding variance pooling improved the c-Index across all five cancer types and all three MIL architectures tested (Deep Sets, Attention MIL, and Graph Convolutional Networks).
  • Significant Improvements: The most notable gain occurred in Colon Adenocarcinoma (COADREAD), which saw a 10.4% relative increase in predictive performance.
  • Architecture Agnostic: The module proved to be a fundamental improvement that works regardless of the underlying MIL framework or loss function used.

Interpretability and Clinical Relevance

To make the model's decisions transparent to pathologists, the authors developed SAsqR (Signed Attention-weighted squared Residuals). This tool ranks patches based on their contribution to the variance branch, allowing researchers to visualize which regions of the tissue are driving the heterogeneity signal.

Visualization of patches ranked by SAsqR, showing how the model distinguishes between low-variance (homogeneous) and high-variance (heterogeneous) regions across different patients.

Qualitative analysis revealed that high-variance patches often correspond to clinically relevant features. For instance, in colon cancer, the model focused on the distinction between fragmented and solid tumor regions, a differentiation highly relevant to tumor grading. This suggests that the mathematical variance captured by the model aligns with biological signals used by human experts.

Conclusion

By treating variance as a primary signal rather than noise, this work demonstrates that explicitly modeling intratumoral heterogeneity significantly enhances the accuracy of survival analysis. The variance pooling module offers a robust, interpretable, and easily integrated solution for the next generation of computational pathology models. Future work will focus on preserving local heterogeneity in graph-based models and mapping these visual variances to specific molecular and genetic subtypes.

Summary updated

BibTeX
@inproceedings{carmichael2022incorporating,
  author = {Iain Carmichael and Andrew H. Song and Richard J. Chen and Drew F. K. Williamson and Tiffany Y. Chen and Faisal Mahmood},
  title = {{Incorporating Intratumoral Heterogeneity into Weakly-Supervised Deep Learning Models via Variance Pooling}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2022},
  url = {https://openreview.net/forum?id=0oZFdwDknK},
}
Figure