IPGPhormer: Interpretable Pathology Graph-Transformer for Survival Analysis

Guoan Tang, Songhan Jiang, Jinpeng Lu, Linghan Cai, Yongbing Zhang · DOI

Abstract

Pathological images play an essential role in cancer prognosis, while survival analysis, which integrates computational techniques, can predict critical clinical events such as patient mortality or disease recurrence from whole-slide images (WSIs). Recent advancements in multiple instance learning have significantly improved the efficiency of survival analysis. However, existing methods often struggle to balance the modeling of long-range spatial relationships with local contextual dependencies and typically lack inherent interpretability, limiting their clinical utility. To address these challenges, we propose the Interpretable Pathology Graph-Transformer (IPGPhormer), a novel framework that captures the characteristics of the tumor microenvironment and models their spatial dependencies across the tissue. IPGPhormer uniquely provides interpretability at both tissue and cellular levels without requiring post-hoc manual annotations, enabling detailed analyses of individual WSIs and cross-cohort assessments. Comprehensive evaluations on four public benchmark datasets demonstrate that IPGPhormer outperforms state-of-the-art methods in both predictive accuracy and interpretability.

Introduction

In computational pathology, survival analysis involves predicting patient outcomes based on Whole-Slide Images (WSIs). These gigapixel images present a significant challenge for standard AI due to their scale. Current methods, primarily based on Multiple Instance Learning (MIL), face two major hurdles: the scale gap between local cellular details and global tissue architecture, and the "black box" problem where models lack inherent interpretability.

IPGPhormer addresses these issues by combining local cellular "neighborhood" data with global tissue architecture. It achieves state-of-the-art accuracy while providing "built-in" explanations for its predictions at both the tissue and cellular levels.

Methodology

IPGPhormer processes WSIs through a multi-scale graph approach designed to capture both fine-grained and broad morphological patterns.

Overview of the IPGPhormer framework, including preprocessing, graph construction, and the dual-branch Transformer architecture.

The framework consists of several key components:

  • Multi-Scale Graph Construction: The model analyzes tissue at two magnifications. At 20x, it builds a heterogeneous graph to capture the tumor microenvironment (interactions between tumor, stroma, and immune cells). At 10x, it builds a homogeneous graph to capture broader topology.
  • Feature Transfer: The model uses Graph Attention Networks (GAT) for patch-level feature transfer, allowing local spatial awareness. It then converts these graphs into sequences for a Transformer to process at the region level.
  • Simplified Linear Attention (SLA): To handle the computational cost of large images, IPGPhormer employs SLA, keeping the complexity linear and allowing efficient modeling of global dependencies across thousands of patches.
  • Inherent Interpretability: Unlike post-hoc methods, IPGPhormer predicts risk scores for every individual patch. These risks are correlated with specific cellular features using a Cox proportional hazards model, grounding the predictions in biological logic.

Experimental Setup

The model was evaluated on four major public datasets from The Cancer Genome Atlas (TCGA):

  • BRCA: Breast Invasive Carcinoma
  • KIRC: Kidney Renal Clear Cell Carcinoma
  • LUAD: Lung Adenocarcinoma
  • STAD: Stomach Adenocarcinoma

These datasets provide a diverse range of cancer types and biological structures for benchmarking.

Key Results

IPGPhormer achieved a mean C-Index of 0.657 across all datasets, outperforming previous state-of-the-art methods by 3.4%. Beyond accuracy, the model demonstrated strong clinical relevance.

Kaplan-Meier survival curves for four TCGA datasets, demonstrating significant risk stratification between high-risk and low-risk groups.

Kaplan-Meier survival curves showed a clear, statistically significant separation between high-risk and low-risk patient groups across all four cancer types. Furthermore, pathology experts validated the model's interpretability, confirming that "high-risk" patches identified by IPGPhormer contained indicators of aggression like nuclear pleomorphism, while "low-risk" patches showed benign structures.

Conclusion

IPGPhormer represents a significant advancement in interpretable survival analysis. By explicitly modeling the tumor microenvironment and utilizing multi-scale information, it provides a more biologically grounded approach to prognosis. Future work will focus on integrating multimodal data (genomic and clinical) and expanding the framework to other tasks like cancer subtyping. While the model currently relies on pre-trained feature extractors, its architecture offers a promising path toward more reliable decision-support systems in pathology.

Summary updated

BibTeX
@misc{tang2025ipgphormer,
  author = {Guoan Tang and Songhan Jiang and Jinpeng Lu and Linghan Cai and Yongbing Zhang},
  title = {{IPGPhormer: Interpretable Pathology Graph-Transformer for Survival Analysis}},
  year = {2025},
  eprint = {2508.12381},
  archivePrefix = {arXiv},
  url = {https://arxiv.org/abs/2508.12381},
}
Figure