Manuscript Offprint
arXiv:2610.07694Anchor-driven Multi-modal Multi-scale Expert Selection for Survival Prediction
Tao Zhou, Senior Member, IEEE, Ying Hu, Huazhu Fu, Senior Member, IEEE, Yi Zhou Senior Member, IEEE, Xiao-Jun Wu, Haibin Ling, Fellow, IEEE,
Abstract—The integrative analysis of histopathological Whole-Slide Images (WSIs) and transcriptomic profiles holds significant promise for cancer survival prediction. However, existing methods typically project multi-modal features directly into a shared latent space without explicit alignment, leading to the entanglement of mismatched morphological cues and molecular signals. Furthermore, current fusion strategies often treat the extreme spatial heterogeneity of WSIs uniformly, lacking mechanisms to adaptively prioritize clinically relevant tissue scales for individual patients. To address these limitations, we propose an Anchor-driven Multi-modal Multi-scale Expert Selection (AM²ES) framework for survival prediction. Specifically, we present an Anchor-driven Multi-modal Fusion (AMF) module, which introduces learnable semantic anchors as cross-modal mediators to bridge the semantic gap by enforcing a structurally regularized alignment between transcriptomic features and multi-scale pathology representations. Built upon this aligned semantic space, we further design a Hierarchical Mixture-of-Experts (H-MoE) selection module to decouple the hierarchical prognostic selection process. Mimicking the pathologist's diagnostic workflow, H-MoE performs (i) Intra-scale Expert Filtering to discriminatively identify salient tumor regions within each magnification, and (ii) Inter-scale Hierarchy Routing to dynamically weight and select the most informative resolution levels. Extensive experiments on multiple TCGA cancer cohorts demonstrate that our AM²ES achieves state-of-the-art performance while offering fine-grained interpretability by visualizing how specific molecular pathways drive the expert routing decisions across tissue scales. The code will be released at https://github.com/taozh2017/AM2ES.
Index Terms—Survival Prediction, Multi-scale feature learning, Multi-modal Fusion, Mixture-of-experts, Intra-scale expert selection, Inter-scale hierarchy routing
1 INTRODUCTION
ACCURATE survival prediction is a cornerstone of precision oncology. To tackle the challenges posed by the heterogeneity of cancer prognosis, researchers have drawn inspiration from clinical diagnostic workflows and focused on multimodal learning [1]. In clinical practice, pathologists typically integrate fine-grained spatial context from Whole Slide Images (WSIs) with molecular profiles to determine risk stratification. Translating this workflow into computational models, researchers have introduced various WSI-Omics fusion frameworks [2], [3], [4], [5], [6], enabling the extraction of complementary phenotypic and molecular determinants of patient outcomes from high-dimensional biomedical data.
Despite these significant advancements, existing WSI-Omics frameworks face intertwined challenges in both cross-modal alignment and spatial hierarchy modeling (as overviewed in Fig. 1). First, bridging the severe semantic gap between pixel-level morphology and abstract gene expression vectors remains a highly underconstrained prob-

(a) Early fusion
(1) Anchor-driven Latent Integration
(b) Hierarchical fusion
(2) Multi-scale expert selection
(c) Our framework
Figure 1: Comparison of multimodal fusion paradigms in WSI-Omics survival analysis: (a) Early Fusion, which concatenates multi-scale pathological features prior to cross-modal interaction; (b) Hierarchical Fusion, which sequentially integrates multi-scale features layer by layer in a fixed cascading manner; and (c) Our proposed AM ES framework, which explicitly decouples semantic alignment via dynamic anchors from hierarchical scale selection via H-MoE.
T. Zhou and Y. Hu are with the School of Computer Science and Engineering, Nanjing University of Science and Technology, Nanjing 210094, China.
H. Fu is with s with the Institute of Advanced Intelligence and Computing (IAIC), Agency for Science, Technology and Research (A*STAR), Singapore 138632.
Y. Zhou is with the School of Computer Science and Engineering, Southeast University, Nanjing 211189, China.
W.-J. Wu is with the School of Artificial Intelligence and Computer Science, Jiangnan University, Wuxi 214122, China.
H. Ling is with the Westlake Intelligent Computing and Application Lab, Dept of Artificial Intelligence, Westlake University, Hangzhou, China.
lem. Yet, current models typically rely on standard global cross-attention to fuse these disparate modalities in a single step [7], [8]. This “flat” interaction inevitably entangles two distinct objectives: semantic alignment and prognostic selection. By forcing gigapixel WSIs and 1D molecular signatures into a shared space simultaneously, the network is compelled to learn what to align (matching tissue patches to biological pathways) and what to select (identifying features that drive survival) all at once. Without explicit decoupling, this entanglement frequently leads to modality overfitting and feature collapse. Consequently, attention maps often highlight spurious background noise rather than meaningful biomarkers, severely compromising clinical interpretability.
Additionally, existing methods struggle to adaptively capture the clinical hierarchy of pathological features. In diagnostic pathology, survival-relevant patterns manifest at distinct anatomical scales. For instance, macro-tissue architecture and tumor margins are evaluated at low magnification (e.g., 5×), while micro-cellular atypia and mitotic figures require high magnification (e.g., 20×). However, existing fusion architectures struggle to adaptively capture this clinical hierarchy, generally falling into two paradigms (Fig. 1(a-b)): early fusion and hierarchical Fusion. Early fusion methods (Fig. 1(a)) typically extract multi-scale WSI features using conventional flattening strategies [9], [10] and concatenate them into a unified sequence before interaction. This strategy treats distinct biological structures as equivalent visual tokens, inevitably leading to scale confusion, noise propagation, and the dilution of scale-specific prognostic signals. Conversely, Hierarchical fusion methods (Fig. 1(b)) adopt a sequential pipeline, integrating different magnifications layer by layer in a fixed cascading manner [11], [12], [13]. By assuming a fixed order of feature importance across all patients, these models fail to adaptively prioritize the specific resolutions that are most relevant to prognosis for individual heterogeneous cases.
To address the dual challenges of entangled alignment and architectural rigidity, an effective multimodal framework must explicitly decouple these processes. In this paper, we propose AM ES, a novel Anchor-driven Multimodal Multi-scale Expert Selection framework for cancer survival prediction using multi-modal data. As illustrated in Fig. 1(c), our model effectively bridges the gap between WSIs and transcriptomic profiles while selecting informative features to enhance prediction performance. Specifically, to resolve the modality gap, we present an Anchor-driven Multi-modal Fusion (AMF) module. Rather than relying on static prototypes, our anchors are dynamically conditioned on global patient contexts, serving as personalized semantic mediators. Through structural regularization, these anchors explicitly align transcriptomic and pathological representations, ensuring that the extracted visual features are biologically grounded in the corresponding molecular profiles. To address the scale hierarchy, we develop a Hierarchical Mixture-of-Experts (H-MoE) selection strategy. This strategy operates in two stages: (1) an Intra-scale Filtering stage, which employs scoring experts to rigorously isolate salient multi-modal representations and filter out background noise within each distinct resolution; and (2) an Inter-scale Fusion stage, which leverages rank-based alignment and feature-level MoE to dynamically and efficiently recalibrate and synthesize evidence across different spatial scales. This joint design enables the model to adaptively weigh multi-scale evidence tailored to each patient's unique pathology for accurate survival prediction.
In summary, our contributions are four-fold:
• We propose AM ES, a novel framework that explicitly decouples cross-modal semantic alignment from hierarchical prognostic selection, addressing the entanglement and flatness issues prevalent in existing multimodal survival models.
-
We present a dynamic anchor-driven multi-modal fusion module where learnable and patient-contextualized anchors serve as semantic bridges. By enforcing orthogonality and sparsity constraints, this module ensures that pathological features are diverse, stable, and biologically grounded in their corresponding transcriptomic profiles.
-
We propose a two-stage H-MoE mechanism for expert selection. It integrates intra-scale gating for noise filtration and inter-scale dynamic recalibration for adaptive resolution fusion, achieving a balance between multi-scale expressiveness and stable routing.
-
Extensive experiments on multiple TCGA cohorts demonstrate that our AM ES achieves state-of-the-art performance. Crucially, our framework offers fine-grained interpretability by visually tracing both the anchor-driven semantic shifts and the patient-specific scale preferences.
2.1 Multimodal Learning for Cancer Prognosis
Integrating whole-slide histopathology with transcriptomic data has become a pivotal direction for enhancing cancer prognostication. Early multimodal approaches [14], [15] predominantly fused WSI-derived features with genomic signatures within a unified embedding space via simple concatenation, aiming to capture complementary cues. Mobadersany et al. [16] pioneered the joint modeling of histology and gene expression using convolutional networks. Subsequent works, such as Pathomic Fusion [17], incorporated tensor-based gating to model modality interactions. More recently, Transformer-based frameworks have dominated the field. Approaches like MCAT [2] and MOTCat [18] utilize co-attention mechanisms to align visual patches with genomic embeddings. While effective, these methods typically intertwine representation learning and prognostic fusion within a single "flat" interaction step. They lack explicit semantic mediators, forcing the network to implicitly learn cross-modal correspondence while simultaneously performing risk prediction. This often results in modality overfitting and feature entanglement, directly motivating the explicitly decoupled anchor-driven multi-modal fusion paradigm in our framework.
2.2 Multi-scale Representation in Computational Pathology
Histopathology images exhibit substantial heterogeneity across scales, where biological signals are distributed hierarchically: global tissue phenotypes (e.g., tumor-stroma ratio) are visible at low magnification (5×), while fine-grained cellular atypia requires high magnification (20×). Consequently, multi-scale learning has become essential for comprehensive WSI analysis [19], [20], [21]. Early approaches extended Multiple Instance Learning (MIL) to handle multi-resolution inputs. For instance, Ilse et al. [22]

Figure 2: Overview of the proposed AM ES framework for multi-modal survival prediction. The pipeline integrates multi-scale WSIs and transcriptomic profiles through two synergistic stages: (1) Dynamic Anchor-Driven Alignment: Patient-specific anchors are generated conditioned on global genomic and morphological contexts. These anchors serve as semantic mediators to align multi-modal features, where structural regularization (orthogonality and sparsity constraints) is enforced to capture diverse biological patterns. (2) Hierarchical Mixture-of-Experts (H-MoE): A two-stage mechanism handles tissue heterogeneity. The Intra-scale Expert Selection module evaluates and filters morphological signals within each resolution (i.e., , , ) to remove redundancy. Subsequently, the Inter-scale MoE Fusion module employs rank-based alignment and feature-level gating to dynamically recalibrate and aggregate prognostic evidence across scales for final survival estimation.
proposed attention-based pooling to weigh instances, while DS-MIL [4] introduced a dual-stream architecture that utilizes low-magnification scores to guide the selection of high-magnification patches. To better capture spatial context, Graph Convolutional Networks (GCNs) such as PatchGCN [23] have been employed to model the topological relationships between multi-scale tissue regions.
More recently, Transformer-based architectures have advanced WSI analysis by modeling long-range dependencies. TransMIL [24] employs pyramid-like token aggregation, whereas HIPT [25] uses a hierarchical vision transformer to capture features from cellular to regional levels. Prompt-based methods, such as MSCPT [26], further leverage learnable prompts to adaptively capture multi-scale context for tasks such as WSI classification. Despite these advances, most existing methods combine multi-scale features through fixed strategies, such as early or hierarchical fusion. They lack explicit mechanisms to identify the prognostically informative scale for each individual patient.
2.3 Anchor-driven Prototypes and Multi-modal Fusion
Prototype- and anchor-based learning has emerged as an effective paradigm for structured representation learning [27], [28]. In computer vision, DETR [29] introduced learned query embeddings as semantic extractors. This concept has been extended to general multi-modal learning by recent frameworks [30], which utilized anchors to construct an optimal unified representation space for heterogeneous modalities. However, existing anchor-based approaches in survival analysis typically treat anchors as fixed parameters. While methods like DPU [31] have introduced dynamic prototype updating to handle out-of-distribution shifts, such dynamic mechanisms have rarely been adapted for patient-specific cross-modal fusion in survival tasks. Most current models seldom adapt anchors based on the joint transcriptomic-histological context. In contrast, the Anchor-driven Multi-modal Fusion (AMF) module in our AM ES introduces dynamic, patient-contextualized anchors. These anchors act as personalized semantic bridges, conditioned on global RNA profiles, to explicitly probe and align morphological features via structural regularization.
2.4 Mixture-of-Experts Selection Mechanisms
Mixture-of-Experts (MoE) [32] has re-emerged as a powerful paradigm for conditional computation, where sparse gates dynamically activate specialized expert units. While modern variants like Switch Transformers [33] and V-MoE [34] have demonstrated scalability in large-scale language and vision models, their adoption in computational pathology remains nascent. In medical imaging, MoE mechanisms have primarily been explored to handle domain variability and stain heterogeneity [35], [36]. However, these applications generally adopt single-stage structures without explicit semantic disentanglement. More critically, existing WSI–omics survival models rarely combine MoE gating with explicit multimodal fusion strategies. Most frameworks fuse modalities early or late in a shared latent space, lacking mechanisms to perform scale-aware or survival-aware expert selection.
3 PROPOSED METHOD
3.1 Problem Definition
We consider a survival prediction task on a cohort of patients, denoted as . For the -th patient, the multi-modal input is defined as , where represents a multi-scale set of pathological whole-slide images (WSIs), and denotes the genomic profile. Let be the continuous random variable representing the true time-to-event (survival time) for the -th patient. The survival outcome is composed of the observed time and the censorship status . In our task, denotes a right-censored observation, while indicates an uncensored event (death).
To effectively model the survival distribution, we adopt the discrete-time survival paradigm. We partition the continuous time horizon into non-overlapping intervals: . The bin boundaries are determined by the -quantiles of survival times from the uncensored subset, with and to cover the entire cohort. The goal is to estimate the discrete hazard probability :
which represents the conditional probability of the event occurring in the j-th interval, given that the patient survived until the start of that interval. The survival function at the k-th time interval is subsequently derived as follows:
3.2 Overview of Architecture
In this work, we propose AM ES for survival prediction from multi-scale WSI and transcriptomic data (Fig. 2). The framework comprises three components: multi-modal feature encoding, Anchor-driven Multi-modal Fusion (AMF), and Hierarchical Mixture-of-Experts (H-MoE) selection. First, independent encoders extract multi-scale WSI features ( , , ) and RNA embeddings, while a Transformer-based clustering module summarizes WSI features into semantic prototypes. Next, AMF employs learnable anchors to align image prototypes and genomic embeddings in a shared representation space. Finally, H-MoE selects informative features within each scale and adaptively integrates them across scales for survival prediction.
3.3 Multi-scale Histopathology and Genomic Feature Encoding
We employ separate encoding streams to derive multi-scale morphological representations from WSIs and biologically grouped descriptors from genomic profiles. The obtained image features and genomic embeddings provide structured inputs for the subsequent anchor-driven fusion module. Moreover, rather than prematurely blending representations across resolutions through heuristic pooling, our framework hierarchically integrates multiscale features.
3.3.1 Multi-scale WSI Representation Learning
For patient , the WSI at scale is represented as a bag of patches . Each patch is encoded by a shared visual encoder and projected into a -dimensional latent space:
where denotes the projection head, implemented as a fully connected layer with ReLU activation.
Then, we employ a Transformer-based clustering module to aggregate the dense patch embeddings into scale-specific representative semantic prototypes. Specifically, we initialize a set of learnable prototype queries , which serve as learnable cluster centers in the embedding space. Unlike traditional clustering algorithms that rely on static distance metrics, our module utilizes the cross-attention mechanism to perform task-driven soft-assignment. Given the input dense patch embeddings (serving as both keys and values), the semantic prototypes are computed via standard Multi-Head Cross-Attention (MHCA) followed by a Feed-Forward Network (FFN):
where the cross-attention mechanism implicitly calculates the normalized contributions of all constituent patches to each specific prototype. By optimizing the model end-to-end, automatically converges to representative centers that capture distinct morphological patterns without requiring heuristic clustering steps. This attention-driven soft-assignment dynamically groups morphologically similar patches into the patient-level WSI representation . These multi-scale embeddings efficiently preserve coarse-to-fine structural information while strictly controlling computational complexity for downstream fusion.
3.3.2 Biologically-grouped Genomic Encoding
We partition the genomic profile of the -th patient into biologically defined groups, , where each subset contains genes associated with a specific biological process. To accommodate these differences in dimensionality and statistical properties, we employ category-specific encoders. Then, each genomic subset is projected into a shared latent dimension via a lightweight network as follows:
The resulting genomic bag is defined as , which preserves pathway-level organization for anchor-driven fusion.
3.4 Anchor-driven Multi-modal Fusion
In multi-modal survival prediction, histology and transcriptomics provide complementary yet distinct biological information. As illustrated in Fig. 3(a), existing methods [18] typically rely on co-attention and direct concatenation to fuse cross-modal data, which often leads to an entangled latent space where patients across different risk levels are
Low Risk (Q1)
Med-Low Risk (Q2)
Med-High Risk (Q3)
High Risk (Q4)

(a) Existing method

(b) Our anchor-driven fusion method
Figure 3: Comparison of multi-modal fusion paradigms in WSI-Omics survival analysis. (a) Existing methods [18] leverage co-attention and direct concatenation to fuse cross-modal data. (b) Our anchor-driven fusion strategy acts as a semantic bridge, explicitly aligning cross-modal features via learnable anchors to construct a highly discriminative and structured representation space.
not well separated. To address this limitation, we introduce learnable, scale-specific cross-modal anchors. Inspired by prototype learning, these anchors act as semantic bridges that align hierarchical tissue representations with gene-expression embeddings at each biological scale. Unlike static queries, the anchors are dynamic and patient-conditioned. Through bidirectional attention, they establish structured correspondences between high-level phenotypic patterns and underlying molecular pathway activities. As illustrated by the t-SNE visualization in Fig. 3(b), anchor-driven integration yields a more discriminative latent space and clearly separates distinct survival risk profiles.
3.4.1 Dynamic Anchor Generation
For each scale , we maintain a set of learnable reference anchors . Patient-specific anchors are obtained by conditioning these reference anchors on the global genomic and scale-specific morphological contexts. To adapt these anchors to individual patients, we compute global context vectors from the encoded morphological features and (detailed in Sec. 3.3.1 and 3.3.2). More concretely, the global genomic context and the scale-specific morphological context are derived via average pooling as follows:
We then generate patient-specific dynamic anchors by injecting these global signals into the reference anchors:
where denotes concatenation, and is a dynamic calibration network. This mechanism ensures that the anchors are tailored to the specific tumor microenvironment of the -th patient at resolution .
3.4.2 Dual-stream Anchor Attention
Using the patient-conditioned anchors , we perform structured multi-modal alignment in parallel for each scale. Each anchor acts as a dual query to retrieve evidence from both histology and genomics. For a given scale and its -th anchor , the aggregated morphological evidence is computed by attending over the morphological prototypes as follows:
where , , are learnable projection matrices. The softmax is applied over all prototypes , ensuring selective attention to scale-specific morphology patterns.
Similarly, the same anchor queries the genomic bag to retrieve molecular evidence via a structurally symmetric operation:
where , , are learnable genomic projection matrices.
To synthesize the retrieved cross-modal evidence while preserving the intrinsic semantics of the anchors, we employ a residual fusion mechanism:
where and are the fusion layer parameters, denotes the ReLU activation, and represents Layer Normalization. This process yields a collection of aligned cross-modal features , where each scale-specific set contains refined multi-modal candidates. The distinct feature sets in are preserved to allow for dynamic and context-aware selection both within and across scales in the subsequent process.
3.4.3 Regularization for Stable Anchor Fusion
We regularize the patient-specific anchors to encourage diversity and sparsity. For each scale , an orthogonality term promotes distinct anchor directions, while an penalty encourages compact anchor activations. Let denote the matrix of patient-specific anchors at scale , where each row represents a distinct latent expert. We first enforce an orthogonality constraint to encourage diversity among the anchors. By penalizing the correlation between different anchors, we ensure they span distinct semantic directions in the latent space by
where denotes the row-normalized anchor matrix, with its -th row computed as , and represents the Frobenius norm.
To improve interpretability and mitigate overfitting, we apply an -norm sparsity constraint. This encourages each anchor to activate only a compact subset of feature dimensions, which can be expressed by
The total anchor regularization loss is aggregated across all three magnification levels, which can be formulated as follows:
where is a hyperparameter that balances the contribution of the sparsity penalty.
3.5 Hierarchical Mixture-of-Experts Strategy
Given the aligned cross-modal features , H-MoE performs two-stage selection and fusion. Specifically, the intra-scale expert selection sparsely routes and filters multimodal representations within each resolution, while the inter-scale MoE fusion dynamically recalibrates and integrates evidence across resolutions. This design adaptively prioritizes the clinically relevant magnifications for each patient.
3.5.1 Intra-scale Experts Scoring and Selection
We assess each descriptor's prognostic relevance via an intra-scale scoring MoE. Given the complexity of tumor heterogeneity, a single linear evaluator is insufficient; we instead employ E lightweight MLP experts , each specialized in distinct risk patterns. A sparse top- routing mechanism dynamically assigns each descriptor to the most competent experts. The final score is obtained via a routed ensemble as follows:
where denotes the set of indices for the experts with the highest routing scores, and maps the descriptor to a scalar confidence score. The gating coefficient representing the routing probability of the e-th expert for the current descriptor, is derived via a routing network as follows:
where is the routing weight matrix. The Top- operation retains the largest routing logits and masks the remaining logits.
Based on these comprehensive risk scores, we employ a hard selection strategy to isolate the most salient features. We sort the descriptors in descending order of and retain the top- ranked candidates:
where the parenthesized subscript denotes the index of the descriptor with the -th highest score. The selected set is passed to the inter-scale fusion stage.
3.5.2 Inter-Scale Mixture-of-Experts Fusion
To synthesize the multi-scale evidence, we adopt a Rank-based alignment strategy. We posit that descriptors ranking at the same importance level across different scales share a latent semantic correlation. We construct a multi-scale feature vector by concatenating the -th ranked descriptors from all scales:
To mitigate optimization difficulties from direct linear projection of high-dimensional heterogeneous features, we introduce a feature-level MoE for dynamic channel-wise recalibration. It generates a context-aware mask for each multi-scale vector as a weighted sum of M fusion experts as follows:
where represents the -th mask-generation expert, is the sigmoid activation, and the routing coefficient vector is dynamically derived via a standard softmax router: . The final fused representation is obtained by applying the generated mask to the input features and projecting them back to the latent space:
where denotes element-wise multiplication and is a learnable reduction matrix. The patient-level holistic representation is then derived by averaging these fused tokens: .
3.6 Total Objective Function
After obtaining the patient-level holistic representation from the H-MoE module, we feed it into the survival prediction head. The vector of interval-wise hazard probabilities is predicted via a fully connected layer with sigmoid activation:
where and are learnable parameters.
The training objective combines the survival loss with anchor regularization. For patient i, with observed time assigned to interval and censoring indicator , the survival loss is defined as follows:
(21)
where is derived from Eq. (2), and denotes the number of patients.
The final objective function is a weighted combination of the survival loss and the anchor regularization terms. Therefore, the total loss function can be expressed by
where is a hyperparameter balancing the prediction task and the regularization constraints.
4 EXPERIMENTS AND RESULTS
4.1 Experimental Setup
4.1.1 Datasets
To evaluate the performance of our proposed framework, we conducted extensive experiments on five publicly available cancer datasets from The Cancer Genome Atlas (TCGA), covering both survival outcomes and paired modalities: diagnostic Whole Slide Images (WSIs) and genomic profiles. The datasets include Bladder Urothelial Carcinoma (BLCA), Breast Invasive Carcinoma (BRCA), Uterine Corpus Endometrial Carcinoma (UCEC), Glioblastoma & Lower Grade Glioma (GBMLGG), and Lung Adenocarcinoma (LUAD). The sample size N is detailed in Table 1. For genomic data preprocessing, we filter genes based on variability and missingness. Following the protocols in [7], [8], [37], we organize genomic features into functional categories based on biological pathways: (1) Tumor Suppression, (2) Oncogenesis, (3) Protein Kinases, (4) Cellular Differentiation, (5) Transcription, and (6) Cytokines and Growth.
4.1.2 Experimental Settings
For WSI preprocessing, we employ the OTSU's thresholding algorithm to create tissue masks, effectively filtering out background and artifacts. Non-overlapping patches of size are extracted from the segmented tissue regions at three distinct magnification levels: , , and , to capture hierarchical morphological details. Each patch is encoded using the pretrained UNI model [38] to extract 1024-dimensional embeddings, utilizing the feature extraction pipeline from CLAM [39], and we set in the latent space. Following our proposed method, we aggregate these dense patch embeddings into scale-specific semantic prototypes using a Transformer-based clustering module. For genomic data, we employ Self-Normalizing Neural Networks (SNNs) [40] to instantiate the category-specific encoders described in Sec. 3.3.2, following the setting of [8].
4.1.3 Implementation Details and Evaluation Metric
All experiments are conducted in a PyTorch 2.6.0 environment with CUDA 12.4 and an NVIDIA GeForce RTX 4090 GPU with 24GB memory. During model training, we adopt the Adam optimizer with an initial learning rate of and a weight decay of . All experiments are trained for 20 epochs. For the WSI representation learning, the number of scale-specific semantic prototypes is set to 64, 128, and 256 for the , , and magnifications, respectively. For the proposed AM ES architecture, the number of scale-specific dynamic anchors is set to . In the H-MoE module, we configure intra-scale scoring experts with a sparse top- gating strategy, and retain the top candidates per scale. This is followed by inter-scale experts for feature recalibration. Additionally, we empirically set and . For a fair evaluation, we standardized the configurations of all comparison methods in our experiments.
Moreover, we employ a 5-fold cross-validation strategy with patient-level separation. This ensures that all WSI patches belonging to the same patient are exclusively assigned to either the training or testing set, strictly preventing data leakage. To evaluate survival prediction performance, we employ the Concordance Index (C-index), a standard metric that quantifies the model's ability to correctly rank patient risk scores relative to their observed survival outcomes.
4.2 Comparison with State-of-the-art Methods
4.2.1 Comparison Methods
To demonstrate the effectiveness and robustness of our proposed framework, we conduct a comprehensive comparison against a wide range of state-of-the-art (SOTA) methods. As reported in Table 1, these baselines are rigorously categorized based on input modality (Unimodal vs. Multimodal) and visual granularity (Single-scale vs. Multi-scale). Unimodal Methods: For genomic data only, we utilize MLP [41], SNN [40], and transformer-based SNNTrans [42] as benchmarks. For WSI data only, we compare the proposed model with methods across different scales. For single-scale settings (20×), we include standard MIL approaches: ABMIL [43], CLAM [39], TransMIL [44], and WiKG [45]. To assess multi-scale capabilities (5×, 10×, 20×), we compare against DSMIL [10], CSMIL [46], and the hierarchical transformer HIPT [47]. Multimodal Methods: We further compare our model against SOTA multimodal fusion frameworks. The first group operates on single-scale WSIs, including PORPOISE [48], MCAT [7], MoCAT [8], and Survpath [49]. The second group involves multi-scale fusion methods, specifically M3IF [50], HiMT [12], and UMSA [13], which serve as the most direct competitors to our hierarchical approach. For a fair comparison, all WSI-based methods utilize the same UNI-encoded features and identical data splits.
4.2.2 Result Comparison
The quantitative results of survival prediction across five TCGA cohorts are summarized in Table 1. As observed, our model achieves the best overall performance, demonstrating superior generalization and robustness compared to existing SOTA methods.
Comparison with Unimodal Methods: In Table 1, we compare the proposed model against gene-based baselines (MLP, SNN, SNNTrans) and several pathology-based approaches. Among genomic methods, the transformer-based SNNTrans achieves the highest C-index of 0.667, outperforming MLP (0.657) and SNN (0.659). This suggests that attention mechanisms are effective at capturing complex intra-genomic interactions. In the pathological domain, the transformer-based TransMIL leads with a C-index of 0.660, surpassing ABMIL (0.652) and CLAM (0.650). Although multi-scale unimodal methods such as HIPT and DSMIL aim to incorporate hierarchical information, their performance (e.g., HIPT on BRCA: 0.538) does not consistently exceed that of single-scale transformer-based approaches. This suboptimal result may stem from the lack of effective cross-modal guidance to filter out irrelevant features across different magnifications.
Comparison with Multimodal Methods: Compared to unimodal approaches, multimodal methods generally
Table 1: Quantitative comparison of C-index (mean std) across five TCGA cohorts. Baselines are categorized by input modalities (g: genomic, h: histology) and WSI scales. The best results are in bold, and the second-best are underlined.
| Methods | Modal | Scale | BLCA (N=373) | BRCA (N=955) | GBMLGG (N=550) | LUAD (N=452) | UCEC (N=480) | Average |
|---|---|---|---|---|---|---|---|---|
| MLP [41] | g. | - | 0.657 | |||||
| SNN [40] | g. | - | 0.659 | |||||
| SNNTrans [42] | g. | - | 0.667 | |||||
| ABMIL [43] | h. | 0.652 | ||||||
| CLAM [39] | h. | 0.650 | ||||||
| TransMIL [44] | h. | 0.660 | ||||||
| WiKG [45] | h. | - | - | 0.553 | ||||
| DSMIL [10] | h. | - | - | 0.582 | ||||
| CSMIL [46] | h. | - | - | 0.539 | ||||
| HIPT [47] | h. | - | - | 0.566 | ||||
| PORPOISE [48] | h.+g. | 0.688 | ||||||
| MCAT [7] | h.+g. | 0.694 | ||||||
| MoCAT [8] | h.+g. | 0.700 | ||||||
| Survpath [49] | h.+g. | 0.709 | ||||||
| M3IF [50] | h.+g. | - | - | 0.585 | ||||
| HiMT [12] | h.+g. | 0.626 | ||||||
| UMSA [13] | h.+g. | - | - | 0.625 | ||||
| Ours | h.+g. | 0.735 |

Figure 4: Kaplan-Meier survival analysis across five cancer cohorts (BLCA, BRCA, GBMLGG, LUAD, and UCEC), comparing our proposed AMES framework against Survpath and HiMT. Patients are stratified into high-risk (red) and low-risk (blue) groups based on the median predicted risk score. The shaded regions represent 95% confidence intervals.
demonstrate superior performance in survival prediction. Methods that emphasize modality alignment, such as MoCAT and MCAT, achieve C-index scores of 0.700 and 0.694, respectively. Survpath further improves upon this by leveraging topological interactions, reaching a C-index of 0.709. However, these approaches are limited by their reliance on single-scale inputs (20×), which fail to capture broader contextual tissue structures. Among multi-scale fusion methods, HiMT and UMSA exhibit competitive performance but achieve only average C-indices of 0.626 and 0.625, respectively, likely due to their relatively simplistic fusion or alignment strategies. Notably, our method attains a superior average C-index of 0.735, substantially outperforming the second-best method, Survpath (0.709). Specifically on the
Table 2: Comparison of external validation performance (C-index) on two independent CPTAC cohorts.
| Method | CPTAC-UCEC [51] | CPTAC-LUAD [52] |
|---|---|---|
| Survpath [49] | 0.5034 ± 0.0118 | 0.5670 ± 0.0341 |
| HiMT [12] | 0.5470 ± 0.0747 | 0.5269 ± 0.0538 |
| Ours | 0.5651 ± 0.0690 | 0.5843 ± 0.0428 |
UCEC dataset, our AMF-MES model achieves an impressive score of 0.762, representing a considerable margin over Survpath's 0.709. This consistent performance gain underscores the critical role of our anchor-guided routing mechanism, which adaptively integrates biological pathway information with hierarchical visual cues.
External Validation. We further evaluate our model on two independent CPTAC cohorts: Uterine Corpus Endometrial Carcinoma (CPTAC-UCEC [51]) and Lung Adenocarcinoma (CPTAC-LUAD [52]). To ensure a fair cross-cohort evaluation, we apply data harmonization and quality-control procedures consistent with the TCGA training setting. Only patients with complete multi-omics profiles and valid survival data were included; cases with zero survival time were excluded. The final cohorts comprised 34 CPTAC-UCEC and 53 CPTAC-LUAD patients. For external validation, models trained on the corresponding TCGA cohorts are directly applied to the CPTAC cohorts without fine-tuning or retraining. We compare our method with two representative approaches, i.e., SurvPath [49] and HiMT [12]. As shown in Table 2, our model achieves the best performance on both cohorts. Although absolute C-index values were lower than in the internal TCGA evaluations, this is expected in zero-shot cross-cohort validation owing to batch effects, cohort differences, and limited sample sizes. Nevertheless, our method consistently outperformed competing approaches on both CPTAC cohorts, supporting its robustness and generalizability.
4.2.3 Kaplan-Meier Survival Analysis
To further assess the clinical value of our model in risk stratification, we perform Kaplan-Meier (KM) survival analysis on five TCGA cancer cohorts. Patients in each cohort are stratified into high-risk and low-risk groups based on the median predicted risk score derived from 5-fold cross-validation.
As illustrated in Fig. 4, the Kaplan-Meier curves reveal statistically significant risk stratification across all cancer types. Visually, the high-risk (red) and low-risk (blue) curves diverge clearly shortly after the initial time point. In aggressive cancer subtypes such as BLCA and GBMLGG, the high-risk group exhibits a steep decline in survival probability within the first 20–40 months, whereas the low-risk group maintains a relatively stable survival rate. Furthermore, Fig. 4 provides a comparison between our model and two strong baselines, i.e., Survpath and HiMT. As the baseline methods struggle to maintain clear separation in cohorts like BRCA and UCEC, frequently exhibiting overlapping confidence intervals (shaded regions) in the later stages, while our framework achieves a consistently wider and more stable margin between the risk groups. This clear separation, accompanied by minimal overlap in the 95% confidence intervals, further underscores the model's robustness. These results confirm that our model can effectively disentangle risk profiles at an early stage, highlighting its superior clinical utility in guiding timely therapeutic interventions compared to existing methods.
4.3 Ablation Study
To systematically evaluate the contribution of each component in our proposed framework and verify the robustness of our design choices, we conduct extensive ablation experiments on the BRCA, LUAD, and UCEC datasets. The ablative results are summarized in Table 3.
4.3.1 Effectiveness of Each Component
(a) Impact of Input Modalities. We first investigate the necessity of multimodal integration. As shown in Table 3 (IDs 1-3), the uni-modal baselines yield suboptimal performance, with both the genomic-only (MLP) and WSI-only (ABMIL) models achieving an identical average C-index of 0.620. Simply concatenating features from both modalities (ID 3) brings a noticeable improvement (+3.0%), reaching 0.650. This confirms that genomic profiles and pathological images contain complementary prognostic signals. However, the performance of simple concatenation is still limited compared to our full model (0.714), highlighting the importance of our advanced fusion module.
(b) Impact of Multi-scale Hierarchy. We further assess the contribution of the hierarchical processing of WSIs. In Exp. (4)-(6) in Table 3, we evaluate different scale combinations. The single-scale model (20×) achieves an average C-index of 0.683. Incorporating the 5× scale (Dual Scale, ID 5) slightly improves the performance to 0.687. The best performance is achieved by utilizing the full hierarchy (5×, 10×, 20×) in Exp. (6), reaching a C-index of 0.708. This result validates our hypothesis that a holistic survival analysis requires multi-granular visual information, combining global tissue architecture with local cellular details.
(c) Impact of Multi-modal Fusion Strategy. A key contribution of the proposed framework is the dynamic anchor-driven fusion strategy. To verify its superiority, we compare it against two established fusion strategies under the same multi-scale setting: Cross-Attention (widely used in TransMIL-style models) and Bilinear Pooling. As reported in experiments (7) and (8) in Table 3, our method (0.714) outperforms Cross-Attention (0.689) and Bilinear Pooling (0.682) by margins of and , respectively. We attribute this improvement to the design of patient-specific anchors, which act as dynamic prototypes that align high-dimensional WSI features with genomic embeddings more effectively than generic attention maps, thereby reducing semantic misalignment.
(d) Impact of MoE Routing. Finally, we analyze the effectiveness of our hierarchical expert design, dissecting it into two stages: intra-scale selection and inter-scale fusion. Stage 1: Intra-scale Selection. We compare the Top-K instance selection strategy against Global Average Pooling (GAP) and Attention Pooling. As shown in entries (9)-(10) in Table 3, GAP (No Selection) and Attention Pooling (Soft Selection) yield average C-indices of 0.686 and 0.691, respectively. Our Top-K strategy (embedded in ID 12) achieves
Table 3: Comprehensive ablation study of AMES. The study validates: (a) input modalities, (b) multi-scale hierarchy, (c) anchor fusion mechanism, (d) hierarchical expert mechanism, and (e) different inter-scale alignment strategies.
| ID | Model Variants | BRCA | LUAD | UCEC | Avg. |
|---|---|---|---|---|---|
| (a) Impact of Input Modalities | |||||
| 1 | g. (MLP) | ||||
| 2 | h. (ABMIL) | ||||
| 3 | h.+g. (Concat) | ||||
| (b) Impact of Multi-scale Hierarchy | |||||
| 4 | Single Scale (20×) | ||||
| 5 | Dual Scale (5 × 20×) | ||||
| 6 | Full Hierarchy (5 × 10 × 20×) | ||||
| (c) Impact of Anchor Fusion Mechanism | |||||
| 7 | w/ Cross-Attention (TransMIL-style) | ||||
| 8 | w/ Bilinear Pooling | ||||
| (d) Impact of Hierarchical Expert Mechanism | |||||
| Stage 1: Intra-scale Selection Strategy | |||||
| 9 | w/ Global Average Pooling (No Selection) | ||||
| 10 | w/ Attention Pooling (Soft Selection) | ||||
| Stage 2: Inter-scale Fusion Strategy | |||||
| 11 | w/ Linear Concatenation (No MoE) | ||||
| 12 | AMF-MES (Top-K Selection + MoE Routing) | ||||
| (e) Impact of Different Inter-scale Alignment Strategies | |||||
| 13 | No Alignment (Global Pooling) | ||||
| 14 | Original Order (w/o Sorting) | ||||
| 15 | Random Alignment | ||||
| 16 | Rank-based Alignment (Ours) | ||||
Table 4: Sensitivity analysis of anchor number across LUAD, UCEC, and BRCA datasets.
| Dataset (C-index) | Avg. | |||
|---|---|---|---|---|
| BRCA | LUAD | UCEC | ||
| 6 | ||||
| 8 | ||||
| 16 | ||||
| 32 | ||||
the highest performance (0.714), demonstrating that filtering out non-informative patches explicitly is more effective for prognosis than soft weighting or global averaging. Stage 2: Inter-scale Fusion. We further verify the necessity of the MoE module for fusing features across scales. Replacing the MoE dynamic gating with a static Linear Concatenation (shown in entry (11)) results in a performance drop to 0.687. This demonstrates that the “soft” routing mechanism in MoE allows the model to adaptively weight contributions from different magnifications based on sample difficulty, rather than relying on a fixed combination.
(e) Impact of Different Inter-scale Alignment Strategies. To validate our inter-scale alignment strategy, we compare it with three alternatives: 1) No Alignment (Global Pooling): Each scale is independently compressed using global average pooling, thereby discarding fine-grained correspondence among cross-scale descriptors. 2) Original Order (w/o Sorting): The top- highest-scoring descriptors are retained but preserve their original index order, i.e., index corresponds to its original unsorted identifier . This setting directly isolates the contribution of the proposed descending risk-based sorting mechanism. 3) Random Alignment: Descriptor indices at one scale are randomly shuffled before fusion, intentionally disrupting the rank-based risk hierarchy while preserving the feature distribution. As shown in Table 3, both Original Order and Random Alignment consistently reduce performance across cohorts, supporting meaningful semantic correspondence among same-ranked descriptors across scales. Our rank-based alignment captures these cross-scale correlations without additional learnable parameters or computational overhead.
Table 5: Sensitivity analysis of the retained top instances number across BRCA, LUAD, and UCEC datasets.
| Dataset (C-index) | Avg. | |||
|---|---|---|---|---|
| BRCA | LUAD | UCEC | ||
| 2 | ||||
| 4 | ||||
| 8 | ||||
| 16 | ||||
Table 6: Ablation on the anchor regularization loss ().
| Setting | Dataset | Avg. | ||
|---|---|---|---|---|
| BRCA | LUAD | UCEC | ||
| w/o | ||||
| w/ | ||||
4.3.2 Hyperparameter Sensitivity
To determine the optimal settings for our model, we investigate the effects of key hyperparameters within our model and structural constraints: the number of dynamic anchors () in the prototype bridge, the number of retained

Figure 5: Visualization of multimodal interpretability for glioma survival prediction. This compares a high-risk GBM patient (Left, TCGA-06-0141, survival 10.28 months) and a low-risk ODG patient (Right, TCGA-S9-A7R1, survival 169.71 months). For each patient, the visualization comprises: (1) The Whole Slide Image (WSI) overlaid with spatial attention heatmaps, highlighting regions contributing most to the prediction; (2) Representative pathological patches extracted from these high-attention regions across three distinct magnification scales (as labeled: 5×, 10×, and 20×), capturing both macroscopic tumor architecture and microscopic cellular details; and (3) The top 25 genomic features ranked by importance using Integrated Gradients, where red and blue bars indicate positive and negative contributions to the risk prediction, respectively.
instances per scale , and the necessity of anchor regularization.
Impact of Anchor Quantity (K). The anchors act as a semantic bottleneck to align high-dimensional pixel data with gene expression. We tested . Results in Table 4 indicate that performance improves significantly from K = 6 to K = 16. As observed, a smaller K fails to capture the full spectrum of histological subtypes (e.g., endometrioid vs. serous). However, increasing K to 32 yields diminishing returns. Therefore, K = 16 provides a sufficient semantic basis for the cross-modal attention bridge while preventing overfitting to patient-specific noise.
Impact of Retained Instances ( ). This parameter controls the number of most informative patches (instances) selected from each visual scale during the intra-scale selection stage. These selected instances are subsequently fed into the cross-modal fusion module. We evaluate the model with to determine the optimal information bottleneck. As presented in Table 5, the performance initially improves and peaks at . When , the selection is too restrictive, potentially discarding valuable morphological context (e.g., tumor margins, immune infiltrates) that is crucial for accurate prognosis. At , the model achieves the optimal trade-off, successfully capturing the most distinctive pathological patterns without overwhelming the fusion router. However, as increases to 8 or 16, we observe a slight degradation in performance. This indicates that retaining an excessive number of instances inevitably introduces noisy or uninformative patches (such as background, healthy tissue, or necrosis), which dilutes the attention mechanism and misguides the subsequent genomic alignment. Consequently, we set as the default setting to ensure a pure and highly discriminative visual representation.
Impact of Anchor Regularization. To prevent the learnable anchors from suffering mode collapse or overfitting to noise, we introduce a composite regularization objective (detailed in Sec. 3.4.3). This objective enforces both orthogonality and sparsity to ensure that the anchors capture diverse and compact biological concepts. To validate the overall necessity of this structural constraint, we evaluate the model by completely removing the during training. As shown in Table 6, omitting the regularization leads to a noticeable performance drop, with the average C-index decreasing from 0.714 to 0.700. This confirms that explicitly constraining the anchor space is crucial for learning distinctive representations, ultimately preventing semantic collapse during multi-modal fusion.
4.4 Interpretability and Case Studies
To better understand the decision-making process of the proposed multimodal framework, we conduct interpretability analyses for both imaging and genomic modalities. Specifically, spatial attention weights are visualized on whole-slide images (WSIs) to highlight the regions most influential to survival prediction, while feature importance for genomic inputs is quantified using Integrated Gradients (IG). Fig. 5 presents a comparative case study of two glioma patients with markedly different clinical outcomes: a high-risk glioblastoma (GBM) patient and a low-risk oligodendroglioma (ODG) patient.
4.4.1 Morphological Attention Analysis
As shown in Fig. 6, the spatial attention maps reveal distinct morphological patterns across multiple magnification levels that are consistent with known histopathological characteristics of different glioma subtypes. For the GBM patient (TCGA-06-0141, left panel), the attention heatmaps are primarily concentrated within tumor-dense regions of the WSI. Representative patches extracted from these regions illustrate disrupted tissue architecture and increased cellular density at lower magnifications (5× and 10×). At higher magnification (20×), the highlighted regions exhibit

Figure 6: Global feature importance analysis across five diverse TCGA pan-cancer datasets. The horizontal bar charts display the top-ranked genomic features (comprising both RNA-seq expression and Copy Number Variations) for each respective cohort, quantified by their overall importance to the model's survival predictions. The identification of completely distinct, disease-specific biomarker signatures across different cohorts demonstrates the model's robust capacity to capture highly generalized, biologically relevant molecular pathways across varied oncology domains.
morphological features suggestive of high-grade glioma pathology, including pronounced nuclear atypia and heterogeneous cellular morphology. These observations are consistent with the aggressive histological phenotype commonly observed in glioblastoma. In contrast, for the ODG patient (TCGA-S9-A7R1, right panel), the attention maps display a more distributed spatial pattern across tumor regions. Across magnification scales, the selected patches consistently exhibit morphological characteristics typical of oligodendroglial tumors. At higher magnification, the model focuses on regions containing relatively uniform round nuclei with subtle perinuclear halos, corresponding to the well-known "fried-egg" appearance associated with oligodendroglioma. Such morphological patterns are generally associated with more favorable clinical outcomes compared with high-grade gliomas.
Overall, these multi-scale visualizations suggest that the proposed model captures clinically meaningful histopathological patterns that align with known subtype-specific glioma morphology. Importantly, these patterns emerge without requiring pixel-level annotations, demonstrating the capability of the model to implicitly learn prognostically relevant morphological representations from weakly supervised WSI data.
4.4.2 Importance of Genomic Features
To further interpret the molecular component of the model, we apply Integrated Gradients (IG) to quantify the contribution of transcriptomic features to the predicted survival risk. The horizontal bar charts in Fig. 6 display the top 25 genes ranked by attribution scores. Positive attribution values (red bars) indicate features that increase the predicted hazard risk (poorer prognosis), whereas negative attribution values (blue bars) correspond to features that reduce the predicted risk. As observed in the high-risk GBM patient, genes such as SPP1 (Secreted Phosphoprotein 1, also known as osteopontin) emerge as strong positive contributors to the predicted risk score. This observation is consistent with previous studies [53] reporting that SPP1 is frequently overexpressed in gliomas and is associated with tumor progression, angiogenesis, and unfavorable survival outcomes. In contrast, for the low-risk ODG patient, the model assigns negative attribution values to immune-related genes such as PRF1 (Perforin 1). PRF1 is a key effector molecule for cytotoxic T cells and natural killer (NK) cells, and its negative risk attribution may reflect transcriptional programs associated with enhanced anti-tumor immune responses. Overall, these attribution patterns suggest that the model captures biologically meaningful molecular signals consistent with known glioma biology.
4.4.3 Multimodal Synergy
The joint analysis of pathological and genomic explanations demonstrates that our model leverages truly complementary, mutually reinforcing information. In the high-risk GBM case, the visual encoder pinpoints WSI regions of aggressive tissue remodeling and dense cellularity across multiple scales. Concurrently, the genomic branch highlights the exact molecular underpinnings driving these morphological phenotypes—such as the massive upregulation of SPP1, a gene notorious for mediating tumor invasiveness and macrophage recruitment. Conversely, in the ODG case, WSI regions displaying lower-grade oligodendroglial morphology are evaluated alongside a genome-level protective immune signature (e.g., PRF1). This synergy, where the visual modality provides the spatial manifestation of tumor burden while the genomic modality uncovers the functional drivers, enables a significantly more robust and deeply interpretable survival prediction compared to unimodal approaches.
4.4.4 Importance of Global Pan-Cancer Features
To further investigate the cohort-level biological signals captured by the model, we analyze the importance of global genomic features across five TCGA datasets (as shown in Fig. 6). For each cohort, we aggregate attribution scores to identify the molecular features—spanning both RNA-seq expression and copy number variations (CNVs)—that most strongly influence the predicted survival hazard.
Consistency with Local Explanations (GBMLGG): Consistent with the patient-level case studies presented in Sec. 4.4, the global analysis of the GBMLGG cohort identifies SPP1 as the top-ranked prognostic feature across the entire dataset. This finding aligns with previous studies reporting that SPP1 is strongly associated with glioma progression, tumor invasion, and poor clinical outcomes. Other highly ranked features, such as NAMPT and CDK4_cnv, further reflect key molecular processes underlying glioma biology, including metabolic reprogramming and cell-cycle dysregulation.
Multimodal Molecular Signals: The presence of both transcriptomic features (e.g., SPP1, NAMPT) and genomic alterations (e.g., CDK4_cnv) among the top-ranked predictors illustrates the model's ability to integrate heterogeneous molecular modalities when estimating survival risk. This multimodal feature prioritization suggests that the model captures complementary biological signals spanning both gene expression dynamics and genomic structural alterations.
Cancer-Type-Specific Molecular Patterns: Importantly, the dominant molecular features vary substantially across different cancer cohorts. For example, the LUAD cohorts highlight regulators involved in signaling and transcriptional control (e.g., TRIM26 and MAP2K2), while the UCEC cohort prioritizes genes related to epigenetic regulation and cellular signaling pathways (e.g., ASXL1 and EXT1). These observations suggest that the model dynamically adapts its feature attribution to the biological context of each cancer type, rather than relying on a fixed set of global biomarkers.
Overall, the analysis demonstrates that the proposed framework captures biologically meaningful molecular signals across diverse cancer types while maintaining the flexibility to emphasize disease-specific prognostic drivers.
4.5 Discussion of Computational Complexity
Our model incorporates multi-scale processing and hierarchical routing, which could otherwise incur substantial computational costs. Direct self-attention over tens of thousands of unaligned patches from three magnifications has prohibitive quadratic complexity of , where denotes the total number of patches for patient . To address this issue, we employ a two-stage sequence reduction strategy (Section 3.3.1). First, a Transformer-based soft-clustering module uses a fixed number of learnable prototype queries , to aggregate patch features into semantic prototypes at each scale via a multi-head cross-attention (MHCA). Since , the aggregation complexity is reduced from to , which scales linearly with the number of patches. The Anchor Bridge then maps these condensed multi-scale prototypes to a compact set of global anchors. This early sequence reduction enables scalable processing of ultra-large WSIs while retaining coarse-to-fine structural information. For hierarchical routing, we replace dense fusion with sparse, multi-level MoE routing. Adaptive Top-K gating activates only relevant experts at each level, facilitating rich cross-modal and multi-scale interactions while maintaining bounded inference costs. To evaluate computational efficiency, we benchmark our model against three representative methods, including MoCAT [8], HiMT [12], and UMSA [13], on a single NVIDIA GeForce RTX 4090 GPU with 24 GB of memory. As reported in Table 7, our model contains 12.66M parameters and achieves an inference time of 9.5 ms per WSI, offering a favorable trade-off between computational efficiency and predictive performance.
Table 7: Comparison of computational complexity and efficiency.
| Method | Params. (M) | FLOPs (G) | Peak Memory (MB) | Inference Time (ms/WSI) |
|---|---|---|---|---|
| MoCAT [8] | 3.90 | 1.83 | 123.93 | 60.3 |
| HiMT [12] | 5.48 | 2.41 | 156.39 | 7.7 |
| UMSA [13] | 31.81 | 40.76 | 553.75 | 72.7 |
| Ours | 12.66 | 4.99 | 190.16 | 9.5 |
5 CONCLUSION
In this paper, we propose , a novel framework for multi-modal cancer survival prediction. employs dynamic semantic anchors to mediate the integration of transcriptomic profiles and multi-scale pathological features, thereby facilitating cross-modal alignment. It further incorporates a H-MoE module that decouples phenotypic analysis across tissue scales. Specifically, H-MoE first selects informative features within each scale and then adaptively integrates evidence across scales for each patient. Experiments on multiple cancer cohorts show that consistently outperforms state-of-the-art methods while providing fine-grained interpretability of its decision process. Ablation studies further confirm the contribution of each key component.
REFERENCES
[1] J. Lipkova, R. J. Chen, B. Chen, M. Y. Lu, M. Barbieri, D. Shao, A. J. Vaidya, C. Chen, L. Zhuang, D. F. Williamson et al., "Artificial intelligence for multimodal data integration in oncology," Cancer cell, vol. 40, no. 10, pp. 1095–1110, 2022.
[2] R. J. Chen, M. Y. Lu, W.-H. Weng, T. Y. Chen, D. F. Williamson, T. Manz, M. Shady, and F. Mahmood, "Multimodal co-attention transformer for survival prediction in gigapixel whole slide images," in Proc. IEEE Conf. Comput. Vis., 2021, pp. 4015–4025.
[3] X. Han, H. Zhou, Z. Tian, S. Du, and Y. Gao, "Inter-intra hypergraph computation for survival prediction on whole slide images," IEEE Trans. Pattern Anal. Mach. Intell., vol. 47, no. 7, pp. 6006–6021, 2025.
[4] B. Li, Y. Li, and K. W. Eliceiri, "Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2021, pp. 14318–14328.
[5] D. Di, C. Zou, Y. Feng, H. Zhou, R. Ji, Q. Dai, and Y. Gao, "Generating hypergraph-based high-order representations of whole-slide histopathological images for survival prediction," IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 5, pp. 5800–5815, 2022.
[6] R. Yan, X. Zhang, Z. Jiang, B. Wang, X. Bian, F. Ren, and S. K. Zhou, "Pathway-aware multimodal transformer (PAMT): Integrating pathological image and gene expression for interpretable cancer survival analysis," IEEE Trans. Pattern Anal. Mach. Intell., vol. 48, no. 1, pp. 896–913, 2025.
[7] R. J. Chen, M. Y. Lu, W.-H. Weng, T. Y. Chen, D. F. Williamson, T. Manz, M. Shady, and F. Mahmood, "Multimodal co-attention transformer for survival prediction in gigapixel whole slide images," in Proc. IEEE Conf. Comput. Vis., 2021, pp. 4015–4025.
[8] Y. Xu and H. Chen, "Multimodal optimal transport-based co-attention transformer with global structure consistency for survival prediction," in Proc. IEEE Conf. Comput. Vis., 2023, pp. 21 241–21 251.
[9] N. Hashimoto, D. Fukushima, R. Koga, Y. Takagi, K. Ko, K. Kohno, M. Nakaguro, S. Nakamura, H. Hontani, and I. Takeuchi, "Multiscale domain-adversarial multiple-instance cnn for cancer subtype classification with unannotated histopathological images," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2020, pp. 3852–3861.
[10] B. Li, Y. Li, and K. W. Eliceiri, "Dual-stream multiple instance learning network for whole slide image classification with self-supervised contrastive learning," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2021, pp. 14318–14328.
[11] P. Pati, G. Jaume, A. Foncubierta-Rodriguez, F. Feroce et al., "Hierarchical graph representations in digital pathology," Medical Image Analysis, vol. 75, p. 102264, 2022.
[12] C. Li, X. Zhu, J. Yao, and J. Huang, "Hierarchical transformer for survival prediction using multimodality whole slide images and genomics," in Proc. IEEE Conf. Pattern Recognit. IEEE, 2022, pp. 4256–4262.
[13] S. Jiang, L. Cai, Z. Gan, Y. Wang, G. Tang, and Y. Zhang, "Uncertainty-aware survival analysis with dirichlet distribution for multi-scale pathology and genomics," IEEE Trans. Med. Imaging, vol. 45, no. 2, pp. 554–568, 2025.
[14] N. Nikolaou, D. Salazar, H. RaviPrakash, M. Gonçalves, R. Mulla, N. Burlutskiy, N. Markuzon, and E. Jacob, "A machine learning approach for multimodal data fusion for survival prediction in cancer patients," NPJ Precision Oncology, vol. 9, no. 1, p. 128, 2025.
[15] Z. Fan, Z. Jiang, H. Liang, and C. Han, "Pancancer survival prediction using a deep learning architecture with multimodal representation and integration," Bioinformatics Advances, vol. 3, no. 1, p. vbad006, 2023.
[16] P. Mobadersany, S. Yousefi, M. Amgad, D. A. Gutman, J. S. Barnholtz-Sloan, J. E. Velázquez Vega, D. J. Brat, and L. A. Cooper, "Predicting cancer outcomes from histology and genomics using convolutional networks," Proceedings of the National Academy of Sciences, vol. 115, no. 13, pp. E2970–E2979, 2018.
[17] R. J. Chen, M. Y. Lu, J. Wang, D. F. Williamson, S. J. Rodig, N. I. Lindeman, and F. Mahmood, "Pathomic fusion: an integrated framework for fusing histopathology and genomic features for cancer diagnosis and prognosis," IEEE Trans. Med. Imaging, vol. 41, no. 4, pp. 757–770, 2020.
[18] Y. Xu and H. Chen, "Multimodal optimal transport-based co-attention transformer with global structure consistency for survival prediction," in Proc. IEEE Conf. Comput. Vis., 2023, pp. 21241–21251.
[19] H. Paverd, K. Zormpas-Petridis, H. Clayton, S. Burge, and M. Crispin-Ortuzar, "Radiology and multi-scale data integration for precision oncology," NPJ Precision Oncology, vol. 8, no. 1, p. 158, 2024.
[20] Z. Wang, J. Li, Z. Pan, W. Li, A. Sisk, H. Ye, W. Speier, and C. W. Arnold, "Hierarchical graph pathomic network for progression free survival prediction," in Proc. Int. Conf. Med. Image Comput. Comput.-Assisted Intervent. Springer, 2021, pp. 227–237.
[21] J. Wu, X. Ke, X. Jiang, H. Wu, Y. Kong, and L. Shao, "Leveraging tumor heterogeneity: Heterogeneous graph representation learning for cancer survival prediction in whole slide images," Proc. Adv. Neural Inf. Process. Syst., vol. 37, pp. 64312–64337, 2024.
[22] M. Ilse, J. Tomczak, and M. Welling, "Attention-based deep multiple instance learning," in Proc. Int. Conf. Mach. Learn. PMLR, 2018, pp. 2127–2136.
[23] R. J. Chen, M. Y. Lu, M. Shaban, C. Chen, T. Y. Chen, D. F. Williamson, and F. Mahmood, "Whole slide images are 2d point clouds: Context-aware survival prediction using patch-based graph convolutional networks," in Proc. Int. Conf. Med. Image Comput. Comput.-Assisted Intervent. Springer, 2021, pp. 339–349.
[24] Z. Shao, H. Bian, Y. Chen, Y. Wang, J. Zhang, X. Ji et al., "Transmil: Transformer based correlated multiple instance learning for whole slide image classification," Proc. Adv. Neural Inf. Process. Syst., vol. 34, pp. 2136–2147, 2021.
[25] R. J. Chen, C. Chen, Y. Li, T. Y. Chen, A. D. Trister, R. G. Krishnan, and F. Mahmood, "Scaling vision transformers to gigapixel images via hierarchical self-supervised learning," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2022, pp. 16144–16155.
[26] M. Han, L. Qu, D. Yang, X. Zhang, X. Wang, and L. Zhang, "Mscpt: Few-shot whole slide image classification with multi-scale and context-focused prompt tuning," IEEE Trans. Med. Imaging, vol. 44, no. 9, pp. 756–3769, 2025.
[27] M. Ning, D. Lu, Y. Xie, D. Chen, D. Wei, Y. Zheng, Y. Tian, S. Yan, and L. Yuan, "MADAv2: Advanced multi-anchor based active domain adaptation segmentation," IEEE Trans. Pattern Anal. Mach. Intell., vol. 45, no. 11, pp. 13553–13566, 2023.
[28] Q. Ming, Z. Zhou, L. Miao, H. Zhang, and L. Li, "Dynamic anchor learning for arbitrary-oriented object detection," in Proc. AAAI Conf. Artif. Intell., vol. 35, no. 3, 2021, pp. 2355–2363.
[29] N. Carion, F. Massa, G. Synnaeve, N. Usunier, A. Kirillov, and S. Zagoruyko, "End-to-end object detection with transformers," in Proc. Eur. Conf. Comput. Vis. Springer, 2020, pp. 213–229.
[30] M. Jeong, Z. M. Kim, M. Namgung, D. Kang, Y.-Y. Chiang, and A. Hero, "Anchors aweigh! sail for optimal unified multi-modal representations," arXiv preprint arXiv:2410.02086, 2024.
[31] S. Li, H. Gong, H. Dong, T. Yang, Z. Tu, and Y. Zhao, "Dpu: Dynamic prototype updating for multimodal out-of-distribution detection," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2025, pp. 10193–10202.
[32] N. Shazeer, A. Mirhoseini, K. Maziarz, A. Davis, Q. Le, G. Hinton, and J. Dean, "Outrageously large neural networks: The sparsely-gated mixture-of-experts layer," arXiv preprint arXiv:1701.06538, 2017.
[33] W. Fedus, B. Zoph, and N. Shazeer, "Switch transformers: Scaling to trillion parameter models with simple and efficient sparsity," Journal of Machine Learning Research, vol. 23, no. 120, pp. 1–39, 2022.
[34] C. Riquelme, J. Puigcerver, B. Mustafa, M. Neumann, R. Jenatton, A. Susano Pinto, D. Keysers, and N. Houlsby, "Scaling vision with sparse mixture of experts," Proc. Adv. Neural Inf. Process. Syst., vol. 34, pp. 8583–8595, 2021.
[35] H. Li, Y. Chen, Y. Chen, R. Yu, W. Yang, L. Wang, B. Ding, and Y. Han, "Generalizable whole slide image classification with fine-grained visual-semantic interaction," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2024, pp. 11398–11407.
[36] S. Jiang, T. Zheng, Y. Zhang, Y. Jin, L. Yuan, and Z. Liu, "Med-moe: Mixture of domain-specific experts for lightweight medical vision-language models," arXiv preprint arXiv:2404.10237, 2024.
[37] A. Liberzon, C. Birger, H. Thorvaldsdóttir, M. Ghandi, J. P. Mesirov, and P. Tamayo, "The molecular signatures database hallmark gene set collection," Cell Systems, vol. 1, no. 6, pp. 417–425, 2015.
[38] R. J. Chen, T. Ding, M. Y. Lu, D. F. Williamson, G. Jaume, A. H. Song, B. Chen, A. Zhang, D. Shao, M. Shaban et al., "Towards a general-purpose foundation model for computational pathology," Nature Medicine, vol. 30, no. 3, pp. 850–862, 2024.
[39] M. Y. Lu, D. F. Williamson, T. Y. Chen, R. J. Chen, M. Barbieri, and F. Mahmood, "Data-efficient and weakly supervised computational pathology on whole-slide images," Nature biomedical engineering, vol. 5, no. 6, pp. 555–570, 2021.
[40] G. Klambauer, T. Unterthiner, A. Mayr, and S. Hochreiter, "Self-normalizing neural networks," in Proc. Adv. Neural Inf. Process. Syst., vol. 30. Curran Associates, Inc., 2017.
[41] S. Haykin, Neural networks: a comprehensive foundation. Prentice hall PTR, 1994.
[42] F. Zhou and H. Chen, "Cross-modal translation and alignment for survival analysis," in Proc. IEEE Conf. Comput. Vis., 2023, pp. 21485–21494.
[43] M. Ilse, J. Tomczak, and M. Welling, "Attention-based deep multiple instance learning," in Proceedings of the 35th Proc. Int. Conf. Mach. Learn., vol. 80, 2018, pp. 2127–2136.
[44] Z. Shao, H. Bian, Y. Chen, Y. Wang, J. Zhang, X. Ji, and y. zhang, "TransMIL: Transformer based correlated multiple instance learning for whole slide image classification," in Proc. Adv. Neural Inf. Process. Syst., M. Ranzato, A. Beygelzimer, Y. Dauphin, P. Liang, and J. W. Vaughan, Eds., vol. 34. Curran Associates, Inc., 2021, pp. 2136–2147.
[45] J. Li, Y. Chen, H. Chu, Q. Sun, T. Guan, A. Han, and Y. He, "Dynamic graph representation with knowledge-aware attention for histopathology whole slide image analysis," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2024, pp. 11323–11332.
[46] R. Deng, C. Cui, L. W. Remedios, S. Bao, R. M. Womick, S. Chiron, J. Li, J. T. Roland, K. S. Lau, Q. Liu et al., "Cross-scale multi-instance learning for pathological image diagnosis," Medical Image Analysis, vol. 94, p. 103124, 2024.
[47] R. J. Chen, C. Chen, Y. Li, T. Y. Chen, A. D. Trister, R. G. Krishnan, and F. Mahmood, "Scaling vision transformers to gigapixel images via hierarchical self-supervised learning," in Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2022, pp. 16144–16155.
[48] R. J. Chen, M. Y. Lu, D. F. Williamson, T. Y. Chen, J. Lipkova, Z. Noor, M. Shaban, M. Shady, M. Williams, B. Joo et al., "Pancancer integrative histology-genomic analysis via multimodal deep learning," Cancer Cell, vol. 40, no. 8, pp. 865–878, 2022.
[49] G. Jaume, A. Vaidya, R. J. Chen, D. F. Williamson, P. P. Liang, and F. Mahmood, "Modeling dense multimodal interactions between biological pathways and histology for survival prediction," in
Proc. IEEE Conf. Comput. Vis. Pattern Recognit., 2024, pp. 11579–11590.
[50] H. Li, F. Yang, X. Xing, Y. Zhao, J. Zhang, Y. Liu, M. Han, J. Huang, L. Wang, and J. Yao, "Multi-modal multi-instance learning using weakly correlated histopathological images and tabular clinical information," in Proc. Int. Conf. Med. Image Comput. Comput.-Assisted Intervent. Springer, 2021, pp. 529–539.
[51] National Cancer Institute Clinical Proteomic Tumor Analysis Consortium (CPTAC), "The clinical proteomic tumor analysis consortium uterine corpus endometrial carcinoma collection (CPTAC-UCEC)(version 13) [dataset]," 2019. [Online]. Available: https://doi.org/10.7937/k9/tcia.2018.3r3juisw
[52] —, “The clinical proteomic tumor analysis consortium lung adenocarcinoma collection (cptac-luad)(version 13) [dataset],” 2018, dataset. [Online]. Available: https://doi.org/10.7937/k9/tcia.2018.pat12tbs
[53] K. Wang, J. Wan, R. Zheng, Y. Xiao, F. Lv, H. Ge, G. Yang, and Y. Cheng, "Spp1 as a prognostic and immunotherapeutic biomarker in gliomas and other cancer types: a pan-cancer study," Journal of Inflammation Research, pp. 2247–2265, 2025.