OTSurv: A Novel Multiple Instance Learning Framework for Survival Prediction with Heterogeneity-aware Optimal Transport

Qin Ren, Yifan Wang, Ruogu Fang, Haibin Ling, Chenyu You · DOI

Introduction

In digital pathology, predicting patient survival outcomes from Whole Slide Images (WSIs) presents a significant challenge due to the gigapixel scale of these images. Standard practice involves Multiple Instance Learning (MIL), where an image is treated as a "bag" of small patches (instances). However, existing MIL methods often struggle with pathological heterogeneity.

Specifically, they fail to account for two critical scales:

  1. Global Heterogeneity: Tissue types often follow a long-tailed distribution where dominant patterns overshadow rare but prognostically vital features.
  2. Local Heterogeneity: Predictive uncertainty varies across patches, with some being noisy or ambiguous.

OTSurv addresses these issues by reframing feature aggregation as a constrained Optimal Transport (OT) problem, aligning patch features with learnable "survival tokens" while explicitly modeling tissue diversity and uncertainty.

Methods

The OTSurv framework (a) and the detailed Heterogeneity-aware Optimal Transport mechanism (b).

The OTSurv pipeline consists of several key stages designed to handle the complexities of WSI data:

Feature Extraction and Projection

A frozen foundation model (UNI) extracts high-dimensional features from WSI patches. These are then passed through a linear projector to align them with the model's internal representation space.

Heterogeneity-aware Optimal Transport

The core innovation of OTSurv is the use of a constrained OT formulation to map patch features ($z_N$) to a set of learnable survival tokens ($S$). This mapping is governed by two primary constraints:

  • Global Long-tail Constraint ($C_G$): A KL-divergence penalty prevents the model from collapsing onto a single tissue type, ensuring that rare morphological patterns are preserved in the final embedding.
  • Local Uncertainty-aware Constraint ($C_L$): Utilizing a curriculum learning strategy, the model initially transports mass only from high-confidence patches. A sigmoid ramp-up function gradually increases the total transport mass ($\rho$) as training progresses, allowing the model to incorporate more complex instances over time.

Unbalanced OT Solver

To maintain computational efficiency, the authors utilize an unbalanced OT formulation. By introducing a "virtual survival token" to absorb noise (unselected mass), the problem can be solved using a differentiable matrix scaling algorithm, making it suitable for modern deep learning hardware.

Experimental Setup

OTSurv was evaluated on six major cancer datasets from The Cancer Genome Atlas (TCGA): BLCA, BRCA, LUAD, STAD, CRC, and KIRC. Performance was benchmarked using the Concordance Index (C-index), with results validated through 5-fold site-stratified cross-validation.

Key Results

Comparison of OTSurv against state-of-the-art MIL methods across six TCGA datasets.

OTSurv demonstrates superior performance across all tested benchmarks:

  • State-of-the-Art Performance: OTSurv achieved a mean C-index of 0.646, representing a 3.6% absolute improvement over the next best-performing state-of-the-art methods (PANTHER and AttnMISL at 0.610).
  • Robust Risk Stratification: Log-rank tests confirmed that the model effectively separates patients into high-risk and low-risk groups with high statistical significance ($p < 0.05$) across all cancer types.
  • Clinical Interpretability: The transport plan acts as an attention mechanism; heatmaps reveal that the model prioritizes clinically relevant features, such as tumor cells and mucinous areas, over non-prognostic stroma.

Discussion and Limitations

OTSurv provides a principled mathematical framework for instance aggregation in survival analysis. By treating mass as a proxy for confidence and using global distribution constraints, it avoids the common pitfalls of standard attention mechanisms in MIL.

However, some limitations remain. The OT-based solver is more computationally intensive than simple pooling methods. Additionally, while the model is robust, performance is sensitive to specific hyperparameters like the number of survival tokens ($K$) and the KL-divergence weight ($\lambda$). Future work may explore end-to-end fine-tuning of the feature extractor to further enhance predictive accuracy.

Summary updated

BibTeX
@inproceedings{ren2025otsurv,
  author = {Qin Ren and Yifan Wang and Ruogu Fang and Haibin Ling and Chenyu You},
  title = {{OTSurv: A Novel Multiple Instance Learning Framework for Survival Prediction with Heterogeneity-aware Optimal Transport}},
  booktitle = {International Conference on Medical Image Computing and Computer-Assisted Intervention},
  year = {2025},
  doi = {10.1007/978-3-032-05182-0\_43},
}
Figure