Manuscript Offprint

arXiv:2610.09441

TIRA: Tumor Immune Representation Adaptation for Zero-Shot Cross-Cancer MSI and TMB Prediction

Dasari Naga Raju

Abstract

Microsatellite instability-high (MSI-H) and high tumor mutational burden (TMB-H) are clinically relevant biomarkers, yet their histopathological prediction remains challenging when models are transferred across morphologically distinct cancer types. Immune-associated spatial patterns can persist across cancers despite these morphological differences, but foundation-model-based predictors trained on a single cancer do not explicitly use this information, limiting cross-cancer generalization. To address this limitation, we propose TIRA (Tumor Immune Representation Adaptation), a target-free framework that refines frozen foundation-model representations using spatial immune topology, without requiring target-domain data during model development or test-time adaptation. TIRA uses a topology-supervised biology representation to condition tile-level attention while pooling only morphological features for joint MSI and TMB prediction. We train TIRA on TCGA-COAD+READ and evaluate it zero-shot on CPTAC-COAD, TCGA-STAD, TCGA-UCEC, and CPTAC-UCEC, covering cross-site, cross-cancer, and combined cross-cancer-site distribution shifts under UNI2, CONCH, and Virchow2. With UNI2, TIRA improved zero-shot AUROC on TCGA-STAD from 0.633 to 0.766 for MSI and from 0.651 to 0.772 for TMB. Source-derived spatial immune topology improved the cross-cancer robustness of frozen pathology foundation-model representations.

1 Introduction

Microsatellite instability-high (MSI-H) and high tumor mutational burden (TMB-H) are established predictive biomarkers of response to immune-checkpoint blockade across multiple solid tumors. Both have been associated with durable responses to PD-1/PD-L1 inhibition across different histological origins [14, 23]. Clinical assessment of MSI relies on mismatch-repair immunohistochemistry, PCR, or sequencing, whereas TMB requires sequencing-based quantification, motivating computational methods that jointly predict MSI and TMB from routine hematoxylin and eosin whole-slide images to support cost-effective triage for confirmatory molecular testing [12]. Mismatch-repair deficiency can give rise to both microsatellite instability and elevated mutational burden, while TMB-H can also arise through other molecular mechanisms, reflecting the related but distinct biology of MSI and TMB [28, 29]. Their partially overlapping tumor–immune biology motivates joint prediction from a shared histological representation. The key challenge, however, is cross-cancer generalization: biomarker-relevant histological information learned from one cancer type must remain predictive when transferred to a morphologically distinct cancer without target-domain adaptation or model selection.

Large-scale pathology foundation models have enabled whole-slide analysis using transferable tile-level representations learned from diverse histological data. UNI2, CONCH, and Virchow2 employ different pretraining strategies and operate at different representation scales, providing complementary frozen feature spaces for downstream pathology tasks [2, 18, 17, 34]. These transferable feature spaces support cross-cancer prediction, but do not by themselves ensure that biomarker-relevant representations remain stable when tissue morphology changes across cancer types. Independent benchmarking has shown that the external performance of pathology foundation models can vary across encoders and evaluation cohorts [21]. Recent studies also show that their feature spaces can retain domain-specific signatures, which may compromise transfer when the deployment distribution differs from the training domain [8]. Beyond acquisition-related variation, cross-cancer deployment introduces differences in organ morphology and tissue architecture, creating a representational mismatch that can limit zero-shot transfer. MSI-H tumors across different cancer types exhibit recurring immune-associated histological patterns. Lymphocytic infiltration, immune activation, and tumor-infiltrating lymphocyte accumulation have been reported in mismatch-repair-deficient colorectal, gastric, and endometrial cancers despite differences in organ-specific morphology [26, 20, 3, 25]. Large-scale computational mapping of tumor-infiltrating lymphocytes from H&E images across The Cancer Genome Atlas further showed that spatial TIL organization correlates with molecular immune features across cancer types [22]. These findings motivate spatial immune organization as a biological prior for cross-cancer prediction. TMB-H reflects elevated somatic mutation burden and is also associated with tumor-immune interactions and response to immune-checkpoint blockade [23]. We therefore use source-cohort spatial immune topology as explicit supervision for representation adaptation in joint MSI/TMB prediction, without assuming identical underlying mechanisms.

Attention-based MIL (ABMIL) uses permutation-invariant attention-based aggregation for bag-level prediction [9]. CLAM-SB augments this framework with instance-level clustering constraints [16], while TransMIL models correlations among instances using a transformer-based architecture [24]. ILRA exploits low-rank structure in slide-level MIL representations [33], and CasNet-FM uses cascaded MIL for histopathology-based MSI and TMB prediction [32]. Although these methods improve slide-level aggregation, they do not explicitly address representation shift across cancer types. Domain-adaptation approaches can reduce distribution shift but often require access to target-domain samples during adaptation [8], limiting their applicability to zero-shot deployment. This leaves a gap for source-only methods that use recurring spatial immune patterns to improve the cross-cancer robustness of frozen foundation-model representations for joint MSI/TMB prediction.

The main contributions of this work are:

● We propose TIRA, a target-free representation adaptation framework for cross-cancer MSI and TMB prediction that uses biologically screened, source-derived spatial immune topology to refine frozen pathology foundation-model representations before deployment to unseen cancer types.

● We develop a biology-guided MIL strategy that separates the roles of biology and morphology by using a topology-informed representation to guide tile-level attention while pooling only morphological features for joint biomarker prediction.

References (33)