arXiv:2609.05182cs.CVSep 2026

Manuscript Offprint

arXiv:2609.05182

Conserved Immune Topology Improves Pathology Foundation Model Generalization for Cross-Cancer MSI-H Prediction

Dasari Naga Raju

Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.

Dasari Naga Raju

Independent Researcher, Andhra Pradesh, India

Corresponding Author: raajuuu1998@gmail.com

Abstract. Pathology foundation models integrated with multiple instance learning achieve competitive accuracy within single-cancer cohorts, yet cross-cancer generalization remains unresolved due to organ-specific histological and architectural differences. In this paper, we propose Conserved Immune Topology (CIT), a lightweight spatial representation for cross-cancer MSI-H prediction that augments foundation-model embeddings with biologically motivated immune descriptors. CIT uses unsupervised clustering to identify immune-associated tiles, then encodes tertiary lymphoid structures, peritumoral immune reactions, multi-scale tumor-infiltrating lymphocyte density, and immune-tumor mixing from frozen foundation-model embeddings and tile coordinates without requiring annotations or target-domain data. The proposed method was evaluated under cross-site and cross-cancer settings using CPTAC-COAD and TCGA-STAD cohorts, which introduce scanner variability, distribution shifts, and organ-specific architectural variations. Zero-shot cross-cancer transfer with CIT increased TransMIL AUC from 0.6627 to 0.7161, an absolute gain of 0.0534 (p=0.003p = 0.003), with consistent improvements across all three MIL aggregators. These results suggest that spatial immune topology provides potentially an organ-invariant representation for MSI-H prediction, supporting cross-cancer generalization of pathology foundation models.

Keywords: Microsatellite Instability · Computational Pathology · Foundation Models · Cross-Cancer Generalization · Biomarker Prediction

1 Introduction

Microsatellite instability-high (MSI-H) is an important biomarker for prognosis, treatment selection, and immunotherapy decisions across multiple cancer types [1,2]. MSI-H status is conventionally determined using molecular assays and immunohistochemistry-based evaluation of mismatch repair proteins. These approaches require additional laboratory tests, motivating the development of

  • Accepted at the ECCV 2026 Workshop on Medical Foundation Models and Benchmarks (MedFM-Bench).

Dasari Naga Raju

computational methods that infer the status of MSI-H directly from whole-slide images. Recent studies in computational pathology have applied multiple instance learning (MIL) and pathology foundation models to MSI-H predictions. Foundation models have demonstrated strong performance in diagnostic and prognostic tasks and, when combined with MIL, achieve competitive performance in MSI-H prediction within individual types of cancer.

However, cross-cancer transfer introduces domain gaps due to organ-specific histological differences. Most existing methods have been developed and evaluated within a single cancer cohort, where training and testing samples share similar tissue characteristics. Applying models across cancer types introduces distribution shifts arising from organ-specific histological and architectural differences. Consequently, representations learned from one cancer type often transfer poorly to another. In contrast, MSI-associated immune phenomena are conserved across organs. MSI-H tumors are characterized by mismatch repair deficiency and demonstrate common immune-related patterns including tertiary lymphoid structures, peritumoral lymphocytic reactions, increased tumor-infiltrating lymphocyte (TIL) density, and immune-tumor mixing, observed across colorectal, gastric, and other cancer types [3–5]. These observations motivate the hypothesis that spatial immune organization encodes organ-invariant correlates of MSI-H status.

Motivated by this observation, we propose Conserved Immune Topology (CIT), a lightweight spatial representation for cross-cancer MSI-H prediction. CIT augments foundation-model embeddings with biologically motivated spatial descriptors characterizing immune organization. The resulting representation integrates into existing MIL pipelines without requiring annotations, target-domain adaptation, or modifications to the underlying foundation model, demonstrating improved generalization and robustness under distribution shift.

References (32)