Cancer Survival Analysis via Zero-shot Tumor Microenvironment Segmentation on Low-resolution Whole Slide Pathology Images

Jiao Tang, Wei Shao, Daoqiang ZhangNeurIPS 2025

TL;DR

The paper introduces ZTSurv, an end-to-end deep learning framework for predicting cancer survival directly from low-resolution whole-slide pathology images (WSIs). By leveraging a vision-language foundation model for zero-shot segmentation of the tumor microenvironment, ZTSurv eliminates the need for exhaustive manual annotations and computationally heavy patch-processing. This approach not only improves survival prediction accuracy but also slashes memory usage by 3,000x and speeds up inference by 6x compared to traditional methods.

The Challenge of Gigapixel WSIs

Whole-slide pathology images (WSIs) are the gold standard for cancer survival analysis, but they are massive—often gigapixels in size. Because they cannot fit into standard GPU memory, researchers typically chop them into thousands of smaller patches. This patch-based approach is computationally expensive and often loses the "big picture" spatial organization of the tissue.

Biologically, cancer prognosis is heavily influenced by the Tumor Microenvironment (TME)—how tumor cells interact with surrounding structures like stroma and immune cells (lymphocytes). While some recent graph-based models try to capture these interactions, they require dedicated segmentation models to identify the tissues first. Training these segmentation models requires pathologists to manually annotate pixels for every tissue type, creating a massive bottleneck. Furthermore, existing methods treat tissue segmentation and survival prediction as completely separate tasks, missing out on the fact that survival outcomes could actually help guide the model to find prognostically important tissue regions.

The ZTSurv Framework

Overview of the ZTSurv framework, illustrating the zero-shot segmentation and heterogeneous graph construction pipelines.

To bypass the gigapixel bottleneck, ZTSurv operates entirely on 50x down-sampled WSIs. The framework consists of two main, jointly trained components:

  1. Zero-Shot TME Segmentation: Instead of training a segmentation model from scratch with exhaustive labels, ZTSurv uses PLIP (a pathology-specific vision-language foundation model). The authors train the model using only existing Tumor Infiltrating Lymphocyte (TIL) maps as ground truth. By feeding GPT-4 generated text descriptions of other tissues (tumor, stroma) into the PLIP text encoder, the model performs zero-shot pixel-level segmentation on those unannotated tissues.
  2. Heterogeneous Graph Construction & Learning: Once the WSI is segmented into different tissue regions, it is converted into a graph. Nodes represent tissue patches, and edges connect neighboring patches. Crucially, this is a heterogeneous graph: the node features combine both visual embeddings (what the tissue looks like) and semantic embeddings (text representations of the tissue type). A Graph Neural Network (GNN) then aggregates these features to predict the patient's overall survival risk.

Because the entire pipeline is end-to-end, the survival prediction loss backpropagates into the segmentation module, allowing the clinical outcome to refine the tissue mapping.

Datasets

The authors validated ZTSurv across four cancer cohorts from The Cancer Genome Atlas (TCGA), totaling over 2,400 cases: Breast Invasive Carcinoma (BRCA), Uterine Corpus Endometrial Carcinoma (UCEC), Lung Adenocarcinoma (LUAD), and Bladder Urothelial Carcinoma (BLCA). For the segmentation ground truth, they utilized publicly available 50x down-sampled TIL maps generated in a prior study.

Key Insights

  • Survival data is a powerful segmentation guide: By training the segmentation and survival prediction tasks jointly, the model learns that certain tissue interactions (e.g., lymphocytes invading a tumor) are highly indicative of survival. This clinical supervision actually improves the model's ability to accurately segment the tissue compared to training a segmentation model in isolation.
  • Semantics matter in graph nodes: Most graph-based WSI models only use visual features for nodes. By injecting text-based semantic features (e.g., the embedded definition of "stroma"), the model can much more easily distinguish between biologically distinct TME components, leading to better relational learning.
  • Macro-context beats micro-resolution: The success of ZTSurv proves that you don't necessarily need gigapixel, cellular-level resolution to predict survival. If you can accurately map the macro-level spatial interactions of the tumor microenvironment on a low-res image, you can achieve state-of-the-art predictive performance at a fraction of the compute cost.

Key Results

Kaplan-Meier survival curves demonstrating ZTSurv's ability to stratify patients into high and low-risk groups across four cancer cohorts.
  • Superior Predictive Accuracy: ZTSurv achieved the highest overall Concordance Index (C-index) of 0.661 across the four datasets, outperforming 12 state-of-the-art baselines, including classical patch-based models and recent TME-aware graph models.
  • Massive Efficiency Gains: By operating on down-sampled images rather than extracting thousands of high-res patches, ZTSurv reduced average memory usage per WSI by ~3,000 times and cut inference time by ~6x on a single RTX 4090 GPU.
  • Strong Zero-Shot Segmentation: The zero-shot segmentation module achieved an overall mIoU of 0.571, beating dedicated zero-shot segmentation models like ZegCLIP and TagCLIP.

Limitations and Future Work

Currently, ZTSurv only models three specific TME components (lymphocytes, tumors, and stroma). The authors note that the tumor microenvironment is vastly more complex. They plan to incorporate a broader range of tissue types—such as blood vessels, necrosis, and fibroblasts—into the zero-shot segmentation and graph construction phases to capture an even richer biological representation and further improve predictive robustness.

Summary updated

BibTeX
@inproceedings{tang2025cancer,
  author = {Jiao Tang and WEI SHAO and Daoqiang Zhang},
  title = {{Cancer Survival Analysis via Zero-shot Tumor Microenvironment Segmentation on Low-resolution Whole Slide Pathology Images}},
  booktitle = {Advances in Neural Information Processing Systems},
  year = {2025},
  url = {https://openreview.net/forum?id=BkSRQ1y37l},
}
Figure