Manuscript Offprint

arXiv:2610.41556

TopoHyperClinicalGraph: A Geometry and Topology-Aware Multimodal Framework for Cancer Survival Prediction

Noaman Khan, Zubair Shah

Abstract

Background: Accurate cancer survival prediction requires integrating tissue architecture with patient-specific clinical information. Although graph-based computational pathology models capture spatial relationships among tissue regions, conventional Euclidean representations may inadequately characterize complex tissue organization, while topological structure and clinical dependencies often remain underexplored. We propose TopoHyperClinicalGraph, a multimodal survival prediction framework that integrates hyperbolic tissue geometry, persistent spatial topology, and clinical graph learning to investigate their complementary contributions to prognostic modeling.

Methods: Our framework employs a staged learning strategy that separates geometric representation learning, topological refinement, and clinical integration. Whole-slide images are represented using pretrained UNI2-h features, reduced from 1,536 to 1,024 dimensions through training-fold principal component analysis. A spatial graph backbone combines hyperbolic neighborhood construction with Lorentz-centroid attention pooling to model tissue organization and generate patient-level survival predictions. Persistent homology summarizes multiscale spatial structure from up to 64 tissue landmarks per slide, providing complementary descriptors for a lightweight survival-logit correction. A five-node clinical graph subsequently models relationships among age, sex, pathological stage, T classification, and N classification. The staged architecture enables evaluation of each component without retraining the pathology backbone.

Results: We evaluated TopoHyperClinicalGraph using five-fold patient-level validation across eight cancer cohorts from TCGA and CPTAC, comprising 2,364 patients and 3,168 whole-slide images. On TCGA, the proposed framework achieved concordance indices of 0.756 in COADREAD, 0.622 in HNSC, 0.676 in BRCA, and 0.641 in STAD, compared with 0.739, 0.600, 0.654, and 0.618, respectively, for the pathology-only spatial PatchGCN comparator. Across CPTAC cohorts, concordance indices ranged from 0.598 to 0.806. Ablation analyses indicated that geometric tissue modeling accounted for most improvements in pathology-based prediction, whereas persistent topology provided smaller, cohort-dependent effects. Clinical graph fusion outperformed its matched node-wise control in five of eight cohorts, highlighting the potential value, but also the variability, of explicitly modeling clinical relationships.

Conclusions: TopoHyperClinicalGraph provides a unified yet modular approach to multimodal cancer survival prediction by combining geometric tissue representations, persistent topological descriptors, and structured clinical information. The findings suggest that hyperbolic spatial modeling can strengthen pathology-based prognostic representations, while topological and clinical contributions depend on cohort characteristics. Further independent validation is required to establish generalizability and clinical utility.

Keywords: Computational pathology; Cancer survival prediction; Whole-slide images; Hyperbolic geometry; Persistent homology; Graph neural networks; Multimodal learning; Clinical graph learning.

1 Background

Whole-slide images (WSIs) provide a detailed view of tissue samples, showing cancer cells and their interactions with nearby tissues. They can also be used to study cancer prognosis by examining how tissue features relate to patient outcomes. Quantitative studies have related nuclear characteristics and tubular architecture to breast tumor grade [1], and histological patterns and their spatial distribution to prognostic signatures and gene expression [2]. Associations between tissue composition, the tumor microenvironment and survival have been investigated in lung cancer [3]. Other approaches learn cellular representations without individual cell segmentation [4] or identify unsupervised histological phenotypes associated with progression-free survival in rectal cancer [5]. This body of work motivates the study of tissue organization as a prognostic signal. Its usefulness must nevertheless be assessed within each disease and endpoint, because a pattern associated with outcome in one cohort may not retain the same meaning in another.

Survival analysis uses an observed time and an event indicator. When follow-up ends before the event, the patient contributes a right-censored observation rather than a fully observed event time. DeepSurv models nonlinear covariate effects within a Cox proportional hazards framework [6], while discrete-time neural models estimate conditional hazards over successive intervals [7]. Both allow censored observations to contribute to fitting. Whole-slide studies also require patient-level grouping: several slides from one patient share one survival outcome and must remain in the same evaluation partition. This grouping determines which observations can be used to fit preprocessing transformations. A separate source of optimism arises when validation outcomes select a network checkpoint. Restricting preprocessing to training data does not remove the effects of validation-driven model selection [8].

Patch-based processing makes gigapixel images manageable, but leaves the problem of combining thousands of local measurements into a patient-level prediction. Multiple-instance learning represents a slide or patient as a bag of patches with a shared outcome label. Parallel computing has made it easier to analyze large collections of histopathology images [9]. Attention-based pooling identifies important tissue patches and combines their features into a slide-level representation [10]. Clustering-based attention has also been used for whole-slide classification with limited annotations [11], while similar methods support survival prediction [12]. However, these approaches do not directly capture spatial relationships between patches. Graph models address this limitation by connecting neighboring patches, while topological methods describe tissue organization across different spatial scales.

The choice of patch features also affects model performance. Earlier studies used convolutional networks trained on natural images [13], while newer pathology foundation models, including CTransPath, UNI, and Virchow, provide tissue-specific representations [14, 15, 16]. UNI2-h produces 1,536-dimensional patch embeddings that can be extracted and reused across experiments [17]. This allows different graph and pooling methods to be compared using the same features. However, image preparation, artifacts, and patch sampling can still influence the results [18].

Graph neural networks model tissue structure by treating patches as nodes and connecting nearby patches through edges. PatchGCN uses graph convolution and attention pooling for whole-slide survival prediction [19]. Other approaches model relationships between tissue regions [20] or use hypergraphs to capture higher-order interactions [21]. Related survival models integrate multiple molecular data types [22]. Graph construction, feature propagation, and pooling each influence the final prediction. Previous studies have shown that larger neighborhoods do not always improve performance [23] and that simpler patch-based models can provide useful comparisons [24]. These findings highlight the need to evaluate spatial context while accounting for tissue size and sampling density.

Hyperbolic geometry provides another way to represent complex relationships in data. Early work on Poincaré embeddings and the Lorentz model established methods for learning hierarchical representations [25, 26]. These ideas were later extended to graph convolution, attention, and combined Euclidean–hyperbolic learning [27, 28, 29]. H2-Surv also explored hyperbolic representations for multimodal cancer survival prediction [30]. In our approach, hyperbolic distance is used to construct spatial neighborhoods, and Lorentz-centroid attention combines patch features. A corresponding Euclidean model is used for comparison.

Persistent homology describes how connected regions and loops change across different distance thresholds [31]. Its stability properties and numerical representations, including persistence landscapes and images, have been studied in earlier work [32, 33, 34]. When applied to patch coordinates, persistent homology captures spatial patterns such as gaps and disconnected regions, rather than directly identifying biological structures. Topological features have also been investigated in prostate tissue diagnosis [35] and lung tumor subtyping from MALDI mass-spectrometry imaging [36]. These studies motivate examining whether spatial topology provides additional information for survival prediction beyond the features learned by graph models.

WSI-GTFE combines graph representations with Mapper-based analysis of tissue architecture [37]. TopoSlide uses persistent homology to characterize the spatial arrangement of histologically defined patch clusters [38]. Building on this work, we focus on a staged survival model and two related questions. First, do hyperbolic neighborhood selection and Lorentz-centroid pooling improve the representation learned from fixed pathology foundation-model features? Second, do patient-level persistence descriptors add information after the geometric image model is frozen? Separating the pathology stages permits the descriptor contribution to be examined without changing the image encoder during correction fitting. A control-only correction provides the corresponding reference for assessing persistence beyond tissue size and sampling. We additionally ask whether separately recorded clinical variables improve the resulting patient prediction, and whether modeling relationships between those variables adds value over a matched node-wise clinical encoder. This question differs from adding a second representation of the same image: clinical records supply age, sex and tumor-staging measurements that are acquired separately from patch embeddings.

In this work, we developed TopoHyperClinicalGraph to integrate tissue morphology, persistent spatial topology and clinical-variable relationships for patient-level survival prediction. Its pathology branch uses hyperbolic spatial neighborhoods, real-valued graph propagation and Lorentz-centroid attention pooling. Pre-extracted UNI2-h features are reduced from 1,536 to 1,024 dimensions by training-fold principal component analysis. A 40-parameter persistence-and-control correction is fitted after the image model is frozen. The resulting pathology branch is then held fixed while a separate clinical graph learns relationships among age, sex, stage, T and N and produces four residual survival logits. The clinical graph uses Euclidean operations, and its edges are fitted without outcome labels using training-patient associations. This staged design permits comparisons with pathology-only prediction, clinical-only prediction and a parameter-matched fusion control without cross-variable message passing. We evaluate the selected configuration across TCGA-COADREAD, HNSC, BRCA and STAD and CPTAC-HNSC, PDA, CCRCC and LUAD: 2,364 patients and 3,078 slides in five patient-level folds per cohort. CPTAC-HNSC adapts a TCGA-initialized image backbone; other CPTAC backbones are trained within their cohorts. All reported scores are validation-selected. The contribution is the coordinated integration and component evaluation of these representations, rather than a new mathematical definition of hyperbolic geometry or persistence.

References (37)