Pancancer outcome prediction via a unified weakly supervised deep learning model

Wei Yuan, Yijiang Chen, Biyue Zhu, Sen Yang, Jiayu Zhang, Ning Mao, Jinxi Xiang, Yuchen Li, Yuanfeng Ji, Xiangde Luo, Kangning Zhang, Xiaohan Xing, Shuo Kang, D. Xiao, Fang Wang, Julie Wu, Haiyan Zhang, Hongping Tang, Himanshu Maurya, Germán Corredor, Cristian Barrera, Yufei Zhou, Krunal Pandav, Junhan Zhao, Prantesh Jain, Lukas Delasos, Junzhou Huang, Kailin Yang, Theodoros N. Teknos, James P. Lewis, Shlomo A. Koyfman, Nathan A. Pennell, Kun‐Hsing Yu, Xiao Han, Jing Zhang, Xiyue Wang, Anant MadabhushiSignal 2025

Abstract

Accurate prognosis prediction is essential for guiding cancer treatment and improving patient outcomes. While recent studies have demonstrated the potential of histopathological images in survival analysis, existing models are typically developed in a cancer-specific manner, lack extensive external validation, and often rely on molecular data that are not routinely available in clinical practice. To address these limitations, we present PROGPATH, a unified model capable of integrating histopathological image features with routinely collected clinical variables to achieve pancancer prognosis prediction. PROGPATH employs a weakly supervised deep learning architecture built upon the foundation model for image encoding. Morphological features are aggregated through an attention-guided multiple instance learning module and fused with clinical information via a cross-attention transformer. A router-based classification strategy further refines the prediction performance. PROGPATH was trained on 7999 whole-slide images (WSIs) from 6,670 patients across 15 cancer types, and extensively validated on 17 external cohorts with a total of 7374 WSIs from 4441 patients, covering 12 cancer types from 8 consortia and institutions across three continents. PROGPATH achieved consistently superior performance compared with state-of-the-art multimodal prognosis prediction models. It demonstrated strong generalizability across cancer types and robustness in stratified subgroups, including early- and advanced-stage patients, treatment cohorts (radiotherapy and pharmaceutical therapy), and biomarker-defined subsets. We further provide model interpretability by identifying pathological patterns critical to PROGPATH's risk predictions, such as the degree of cell differentiation and extent of necrosis. Together, these results highlight the potential of PROGPATH to support pancancer outcome prediction and inform personalized cancer management strategies.

Introduction

Accurate prognosis—predicting how a patient's disease will progress—is vital for tailoring cancer treatment. However, current prognostic tools face significant hurdles. Most models are built for one specific cancer type, making them difficult to scale across diverse oncology departments. Furthermore, high-performing multimodal models often require expensive genomic or molecular data that isn't routinely available in many clinical workflows. Finally, many AI models lack extensive external validation, performing well on training data but failing when tested on populations from different hospitals.

PROGPATH addresses these challenges by creating a unified "pancancer" model that utilizes only standard clinical inputs: digitized hematoxylin and eosin (H&E) pathology slides and basic demographic information (age, sex, and tumor stage).

Methods

PROGPATH employs a sophisticated, weakly supervised architecture designed to handle the complexity of whole-slide images (WSIs) and clinical data integration:

  • Image Encoding: The model utilizes Virchow2, a vision transformer-based foundation model pretrained on pathology images, to extract high-level features from image tiles.
  • Attention-Guided Aggregation: An attention-based Multiple Instance Learning (AMIL) module identifies and weighs the most prognostically relevant regions within a slide.
  • Multimodal Fusion: A cross-attention transformer blends image features with "clinical tokens" (age, sex, stage), allowing the model to interpret tissue morphology within the appropriate clinical context.
  • Cancer-Aware Router: A dynamic router selects from a pool of subtype-specific classifiers, enabling the model to learn shared patterns across all cancers while tailoring final predictions to specific nuances of a patient's cancer type.
PROGPATH Model Architecture: From WSI and clinical data to risk score prediction and interpretable heatmaps.

Datasets and Evaluation

The study's scale is unprecedented, involving over 15,000 slides from 11,111 patients across 12 cancer types. The training set consisted of 7,999 WSIs from The Cancer Genome Atlas (TCGA). External validation was performed on 17 independent cohorts (7,374 WSIs) from public benchmarks like PLCO and CPTAC, as well as private datasets from institutions in the US, China, and the UK.

Results

PROGPATH demonstrated superior accuracy and generalizability across all tested cohorts. On TCGA data, it achieved a mean C-index of 0.731, significantly outperforming other top-tier models like MCAT (0.683) and SurvPath (0.678). It maintained this lead in 14 out of 15 cancer types and outperformed the next-best model by an average of 7.7% across external clinical cohorts.

Performance evaluation: Kaplan-Meier survival curves and C-index comparisons across TCGA and external validation cohorts.

Key findings include:

  • Clinical Synergy: Integrating basic clinical variables significantly boosted performance compared to image-only models.
  • Stage-Specific Utility: In early-stage (I-II) patients, PROGPATH achieved a C-index of 0.728, providing a 15.9% relative gain over clinical-only models.
  • Interpretability: Attention heatmaps revealed that the model focuses on established pathological markers of aggression, such as necrosis, poor cell differentiation, and high nuclear-cytoplasmic ratios.

Conclusion

PROGPATH represents a major step toward unified, accessible cancer prognosis. By relying on routinely collected data and demonstrating robust performance across diverse populations and treatment subgroups, it offers a scalable solution for personalized cancer management. Future work will focus on integrating richer narratives from pathology reports and explicitly accounting for emerging therapies like immunotherapy to further refine outcome predictions.

Summary updated

BibTeX
@inproceedings{yuan2025pancancer,
  author = {Wei Yuan and Yijiang Chen and Biyue Zhu and Sen Yang and Jiayu Zhang and Ning Mao and Jinxi Xiang and Yuchen Li and Yuanfeng Ji and Xiangde Luo and Kangning Zhang and Xiaohan Xing and Shuo Kang and D. Xiao and Fang Wang and Julie Wu and Haiyan Zhang and Hongping Tang and Himanshu Maurya and Germán Corredor and Cristian Barrera and Yufei Zhou and Krunal Pandav and Junhan Zhao and Prantesh Jain and Lukas Delasos and Junzhou Huang and Kailin Yang and Theodoros N. Teknos and James P. Lewis and Shlomo A. Koyfman and Nathan A. Pennell and Kun‐Hsing Yu and Xiao Han and Jing Zhang and Xiyue Wang and Anant Madabhushi},
  title = {{Pancancer outcome prediction via a unified weakly supervised deep learning model}},
  booktitle = {Signal},
  year = {2025},
  doi = {10.1038/s41392-025-02374-w},
}
Figure