Joint Modelling Histology and Molecular Markers for Cancer Classification

Xiaofei Wang, Hanyu Liu, Yupei Zhang, Boyang Zhao, Hao Duan, Wanming Hu, Yonggao Mou, Stephen Price, Chao Li

Abstract

Cancers are characterized by remarkable heterogeneity and diverse prognosis. Accurate cancer classification is essential for patient stratification and clinical decision-making. Although digital pathology has been advancing cancer diagnosis and prognosis, the paradigm in cancer pathology has shifted from purely relying on histology features to incorporating molecular markers. There is an urgent need for digital pathology methods to meet the needs of the new paradigm. We introduce a novel digital pathology approach to jointly predict molecular markers and histology features and model their interactions for cancer classification. Firstly, to mitigate the challenge of cross-magnification information propagation, we propose a multi-scale disentangling module, enabling the extraction of multi-scale features from high-magnification (cellular-level) to low-magnification (tissue-level) whole slide images. Further, based on the multi-scale features, we propose an attention-based hierarchical multi-task multi-instance learning framework to simultaneously predict histology and molecular markers. Moreover, we propose a co-occurrence probability-based label correlation graph network to model the co-occurrence of molecular markers. Lastly, we design a cross-modal interaction module with the dynamic confidence constrain loss and a cross-modal gradient modulation strategy, to model the interactions of histology and molecular markers. Our experiments demonstrate that our method outperforms other state-of-the-art methods in classifying glioma, histology features and molecular markers. Our method promises to promote precise oncology with the potential to advance biomedical research and clinical applications.

Introduction

In the past decade, cancer diagnosis has undergone a paradigm shift. The World Health Organization (WHO) 2021 criteria for brain tumors (gliomas) moved away from purely looking at tissue structure under a microscope (histology) toward a "layered" diagnosis that prioritizes molecular markers (such as IDH mutations or 1p/19q co-deletions).

Current AI tools in digital pathology face significant hurdles:

  1. Integration Gap: Models rarely predict histology and molecular markers simultaneously in a way that reflects their biological interdependence.
  2. Scale Challenges: Propagating information across multiple magnifications (cellular vs. tissue level) is computationally difficult.
  3. Data Scarcity: Molecular testing is expensive; "virtual" molecular staining—predicting genetic status directly from standard H&E images—is highly desirable.

Methodology

The Multi-scale Multi-task Modelling for Cancer Classification (M3C2) framework addresses these challenges through four novel components:

The M3C2 architecture overview, showing the multi-scale disentangling, molecular prediction, histology prediction, and cross-modal interaction modules.
  • Multi-scale Disentangling Module: Uses a "disentanglement loss" to separate features into those unique to a specific scale (10X vs 20X) and those shared across scales, ensuring cellular details and tissue architecture provide complementary information.
  • AHMT-MIL (Attention-based Hierarchical Multi-Task Multi-Instance Learning): A transformer-based backbone that identifies critical patches in gigapixel whole-slide images (WSI) for multi-label prediction.
  • CPLC-Graph (Co-occurrence Probability-based Label Correlation Graph): This network leverages prior biological knowledge to model the co-occurrence of molecular markers, refining predictions based on known genetic patterns.
Detailed view of the CPLC-Graph network and LC loss, which models the relationships between different molecular markers.
  • Cross-modal Interaction Module: Incorporates Dynamic Confidence Constrain (DCC) Loss to align histology and molecular focus regions, and CMG-Modu, a gradient modulation strategy that balances training between "easier" histology tasks and "harder" molecular tasks.

Experimental Results

The study utilized a massive dataset of 3,578 Whole Slide Images (WSIs) from 1,054 cases, including TCGA, CPTAC, and the external IvYGAP dataset. Training labels followed the latest WHO 2021 criteria.

M3C2 significantly outperformed 13 state-of-the-art (SOTA) methods:

  • Glioma Classification: Achieved 78.6% accuracy on the internal dataset and 98.1% on external validation.
  • Molecular Prediction (AUC): IDH Mutation (95.0%), 1p/19q Co-deletion (90.9%), and NMP Histology (98.1%).
  • Interpretability: Attention maps revealed that the model's decision-making regions for molecular markers align closely with high-grade features identified by human pathologists.

Discussion and Conclusion

A key insight of M3C2 is using histology as a "teacher." Since certain molecular markers (e.g., IDH wildtype) often co-occur with specific histology features (e.g., necrosis), the histology signal can anchor molecular predictions. Furthermore, the DCC loss acts as a curriculum, starting with high-confidence patches and moving to more complex regions, mimicking the learning process of a pathologist.

While M3C2 represents a significant advance, future work will expand the marker scope to include MGMT methylation and EGFR amplification. Additionally, addressing "incomplete" data where some labels are missing and incorporating higher magnifications (40X) remain important avenues for research.

Summary updated

Abstract

Cancers are characterized by remarkable heterogeneity and diverse prognosis. Accurate cancer classification is essential for patient stratification and clinical decision-making. Although digital pathology has been advancing cancer diagnosis and prognosis, the paradigm in cancer pathology has shifted from purely relying on histology features to incorporating molecular markers. There is an urgent need for digital pathology methods to meet the needs of the new paradigm. We introduce a novel digital pathology approach to jointly predict molecular markers and histology features and model their interactions for cancer classification. Firstly, to mitigate the challenge of cross-magnification information propagation, we propose a multi-scale disentangling module, enabling the extraction of multi-scale features from high-magnification (cellular-level) to low-magnification (tissue-level) whole slide images. Further, based on the multi-scale features, we propose an attention-based hierarchical multi-task multi-instance learning framework to simultaneously predict histology and molecular markers. Moreover, we propose a co-occurrence probability-based label correlation graph network to model the co-occurrence of molecular markers. Lastly, we design a cross-modal interaction module with the dynamic confidence constrain loss and a cross-modal gradient modulation strategy, to model the interactions of histology and molecular markers. Our experiments demonstrate that our method outperforms other state-of-the-art methods in classifying glioma, histology features and molecular markers. Our method promises to promote precise oncology with the potential to advance biomedical research and clinical applications. The code is available at https://github.com/LHY1007/M3C2

Empirical ResultsBrowse all benchmarks →

BenchmarkMethodMetricScoreProtocol / Evidence
Internal dataset · Glioma classificationM3C2Acc.78.6%Glioma Classification · magnification=10X and 20X
Source quote
L592: Ours │ 78.6 │ 78.6 │ 85.4 │ 88.7 │ 78.6
External dataset · Glioma classificationM3C2Acc.98.1%Glioma Classification · subset=grade 4 GBM and high-grade astrocytoma · magnification=10X and 20X
Source quote
L603: Ours │ 98.1 │ 98.1 │ 69.5 │ 99.7 │ 98.1
Internal dataset · IDH predictionM3C2AUC95.0Idh Prediction
Source quote
L492: 95.0
Internal dataset · 1p19q predictionM3C2AUC90.91p19q Prediction
Source quote
L512: 90.9
Internal dataset · CDKN predictionM3C2AUC76.0Cdkn Prediction
Source quote
L538: 76.0
Internal dataset · NMP predictionM3C2AUC98.1Nmp Prediction
Source quote
L564: 98.1
BibTeX
@article{wang2025joint,
  author = {Xiaofei Wang and Hanyu Liu and Yupei Zhang and Boyang Zhao and Hao Duan and Wanming Hu and Yonggao Mou and Stephen Price and Chao Li},
  title = {{Joint Modelling Histology and Molecular Markers for Cancer Classification}},
  journal = {Medical Image Analysis},
  year = {2025},
  url = {https://openreview.net/forum?id=q40UtRwMLg},
}
Figure